topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 7:00 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - LEDAdd1ct [ switch to compact view ]

Pages: [1]
1
I am not a programmer but have a tremendous amount of respect for them.  I am wondering how hard this would be for someone to make, as I searched around on the web and could not find something to do quite what I wanted.

I use a program called Telegram to keep in touch with family; it seamlessly syncs between Windows, Android, iOS, etc.  When a new message comes in to my father's desktop computer, the little system tray icon changes to a "1" or a "2" or a "3" to indicate however many messages have arrived.  However, while he is decently computer savvy, he often forgets to look in the system tray. 

* * *

Broadly speaking, I was wondering if it would be possible to create a small utility where you select either:

a)  The title of a window

or,

b)  A system tray icon

Then, it would pop up a giant, flashing window, with text that you enter into a little box.  For example, it could say "Check Your Inbox!" or "Check Your Messages!"


When you start the program, it would have a little drop-down dialogue box where you would choose which window(s) you wish to monitor (title bar) or system tray icon.  For each one, you would select whether you wanted a medium or large text box/window with a large font to pop up, flashing, and you would enter text for what you wanted it to say.

1)  How hard would this be to make?

2)  Could a program be written to monitor *both* window titles and the appearance/change in a system tray icon?


2
Post New Requests Here / IDEA: Simple Sensatronics Tray Tool...
« on: January 17, 2012, 07:54 AM »
Hello!  I am a big fan of Sensatronics sensors, especially because we use one at our house to monitor the current temperature.  Although the protocol to access it is very simple, I cannot find a simple tray tool to do what I would like.  Released as freeware, I think this tool would be very useful.

Suggestions:

-sit in the system tray
-display the current temperature
-display red if over 80 degrees, black, and blue at 32 or below
-when you click it, it displays an empty box to type in the IP address of the unit
-it compares the current value with the previous value, and shows horizontal arrow if no change,
up arrow if temperature is rising, and down arrow if temperature is falling
-allow you to select interval for checking (1 min. /5 min. /10 min.)


All the other programs are either huge memory hogs, cost $500, or do too much.  If something small like this isn't too complicated to write, I think it would be pretty neat!  The most common products are the E4 and EM1. 

Here is the protocol it uses:

"Write Your Own
 
The Model E Temperature monitor runs an internal Web server that
listens for TCP/IP HTTP /GET requests on Port 80, and responds to
three different URL requests – /index.html, /temp and /config.
 
/index.html: This is the main index page that returns an HTML-
formatted Web containing the temperatures of all connected
probes. This index page also provides details about the
Temperature Monitor such as manufacturer, serial number, unit,
and probe names. 
 
/temp: This request will return an HTML-free Web page,
consisting of a simple ASCII string of pipe-delimited data.   
 
The data will be in the format of 
 
“PROBE1_NAME|TEMP|PROBE2_NAME|TEMP…”
 
This URL is typically used by OEMs who are packaging the
Temperature Monitor for use with their own software and need
an easy and efficient way to get at the probe temperature data. 
This URL is also handy for those wishing to write their own
software interface to simply and quickly obtain the temperatures
and incorporate them into their existing Network Management
Software.   
 
Here’s an example:
 
Probe 1| 74.5|Probe 2|35.5|Probe 3| 79.0|Probe 4| 54.4
 
Sensatronics Model E Temperature Monitor                                                                        16

To query the Temperature Monitor from within your own software, you
will need an understanding of TCP/IP Sockets and the HTTP protocol.
Consult the documentation of the specific programming language for
details. After successfully initializing and opening up a TCP/IP socket to
the Temperature Monitor, you will be able to communicate with it using
the HTTP Protocol. 
 
To request the /temp URL simply send the following string
   
“GET /temp HTTP/1.0 <CR><LF><CR><LF>”
 
Using the Telnet command is a convenient way of retrieving data from
the Temperature Monitor. Open a telnet session to the Temperature
Monitor unit’s IP Address on Port 80. 
 
For example, if the Temperature Monitor was configured on IP
192.168.2.101, you would send the following command:
 
telnet 192.168.2.101 80
 
If successful, you will be able to send command directly to the
Temperature Monitor. Recall that one such command is /temp:
 
GET /temp HTTP/1.0
 
Followed by pressing  Enter  twice.
 
This will return a non-HTML ASCII, pipe-delimited string – just as it would
if you were to open your Web browser and type the following in the URL
address bar: 
 
http://192.168.2.101/temp
 
Here’s an example of a return string:
 
Probe 1| 71.3|Probe 2|34.5|Probe 3| 77.0|Probe 4| 52.3
Sensatronics Model E Temperature Monitor                                                                         

Source:  http://www.sensatron...s/manual_model_e.pdf






Pages: [1]