PDA

View Full Version : Newbie needs some help..


cDuck28Z
09-08-2010, 04:38 AM
Hey, im just going to start off by saying i've never done ANY computer programing before, but am fairly tech savvy and am very interested in learning how to write basic code. I don't know what section this question would fall under so please redirect if needed:

I have an HPLC system hooked up to my computer that recodes data every 1 second. The interface is HTML i believe because it runs through internet explorer? Anyway, the system counts down from 15 and is supposed to reset randomly before it hits 0, but this is not always the case when we are testing. Most of the time it will reset before hitting 0, say at like 4 seconds remaining in the countdown. For the times it fails, i have to sit there and wait until i see it count down to 1, wait about half a second, and manually hit the refresh button before the counter times out. I am interested in writing some sort of simple code that would take the visual cue of the timer reaching "00:00:01" (0 hr, 0 min, 01 sec), waiting 500 milliseconds, and simply doing the same action as me clicking my cursor so i can just have it hovering over the refresh button.

Mind you, i don't know how the original program is written so i don't know if it is HTML (or internet browser of some sort) or flash, or some other weird program that just uses iExplorer as an interface. I personally believe (speaking with absolutely no programing experience of course) that it would be easiest to have the computer look for when the 00:00:01 appears on the screen because it is always in the exact same location, exact same text, and exact same color every time. Am i on the right track for this????

Please help me tackle this. I think this would be a simple, yet realworld application to entice myself to start learning how to write simple code.

How would you guys go about writing this CODE? What programs should i look into to help me write it?

effpeetee
09-27-2010, 03:38 PM
This site will help you. (http://www.exitfegs.co.uk/Sources.html) Use the Search facility. Single words are often best for searching.

Frank