Solved

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

Posted on 2014-02-06
10
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
10 Comments
 
LVL 70

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 70

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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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 70

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

739 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