Solved

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

Posted on 2014-02-06
10
182 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 69

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 69

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:i7-Tech
ID: 39847543
Hi thanks for the example. I've tweaked it and it works well for us!
Cheers :)
0
 
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 69

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

831 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