Solved

M$ Windows based screen "text checking" s/w?

Posted on 2014-02-06
10
181 Views
Last Modified: 2014-03-06
Hi,

A strange request perhaps. No idea where to post it!

We have a browser based PC/Server monitoring system (provided by Centrastage.com). Unbelievably it doesn't have the ability to make an audible noise if an alert is displayed on the on-screen 'dashboard'. Not good if your backs are turned away from the monitoring screen for any length of time (yes-- I and others have requested this feature).

In the meantime; are there any little utils out there (or browser plugins) that can be set to periodically scan the contents of a Window for a defined item of text (e.g. Server Alert) that could then be set to make a noise? Or is it a case of learning a language and writing one myself?

It can't be beyond the wit of man can it?

Cheers
Andy.
0
Comment
Question by:i7-Tech
  • 4
  • 3
10 Comments
 
LVL 68

Expert Comment

by:Qlemo
ID: 39838604
With VBS, PowerShell etc. you can get access to the content of a webpage (as HTML, XML, ...), and scan that. It is easier if the script starts the browser. When the search text is found, it could then play something like this (PowerShell syntax here):
1..10 | % { [console]::beep($_*110,$_*100) }

Open in new window

Is that an option?
0
 

Author Comment

by:i7-Tech
ID: 39838709
At this point ALL options are welcome. Thank you for that one Qlemo.
0
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
ID: 39839667
The basics are
$ie = New-Object -com InternetExplorer.Application
$ie.Visible = $true
$ie.Navigate2('http://something')

while ($true)
{
  while ($ie.ReadyState -ne 4) { sleep -m 10 }
  if ($ie.Document.body.innerText -like '* Alert! *')
  {
    1..10 | % { [console]::beep($_*110,$_*100) }
  }
  sleep 15    # 15 seconds
}

Open in new window

0
 

Author Comment

by:i7-Tech
ID: 39847543
Hi thanks for the example. I've tweaked it and it works well for us!
Cheers :)
0
Why are Office 365 signatures so complicated?

Trying to setup transport rules for Office 365 email signatures and can’t quite figure it out? Having to test the signature over and over? Make things simple by using Exclaimer Cloud - Signatures for Office 365.

 
LVL 59

Expert Comment

by:LeeTutor
ID: 39903042
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 39903043
According to http:#a39847543, http:#a39839667 is a solution.
0
 

Author Comment

by:i7-Tech
ID: 39903408
Hi, as posted by Qlemo above. I have accepted a solution.
Would it not be better to leave it open for someone else's benefit rather than 'abandon it'?
What did I do or not do wrong when I accepted it and left it open?
I took the script and applied the changes pertinent to my situation i.e. the http address & timings - plus I altered the crazy out of tune beep for a more acceptable sound (Lol!)

Thanks guys,
Andy.
0
 

Author Comment

by:i7-Tech
ID: 39908675
Accept my apologies. Thank you.
i7tech.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now