Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2014-02-06
10
Medium Priority
?
188 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 71

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 71

Accepted Solution

by:
Qlemo earned 2000 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 71

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

618 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