Google Answers Logo
View Question
 
Q: Looking for routine that enters an incremented number at my cursor position. ( No Answer,   1 Comment )
Question  
Subject: Looking for routine that enters an incremented number at my cursor position.
Category: Computers
Asked by: unfocusedguy-ga
List Price: $10.00
Posted: 21 Jul 2005 00:45 PDT
Expires: 20 Aug 2005 00:45 PDT
Question ID: 546109
I am using Macro Magic to automate keyed entries for a very repetitive
job.  It works great but there's one hurdle I have to overcome in
order to allow it to fully automate the task.  There is a point where
I have to manually key in a number and then I can run the Macro Magic
script, then enter a number and run the script...etc etc hundreds of
times.  The number that I enter is simply 1, then 2, then 3... in
other words, a number starting with 1 and incremented up by one every 
time I need to enter it.

So my question is, do you know of a freely available routine that I
can use that , every time I call it, it would give me an incremented
number and stick it where I have my cursor?

If such a routine were handy then I could program a macro key to call
it as part of my script.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Looking for routine that enters an incremented number at my cursor position.
From: sageres-ga on 21 Jul 2005 21:30 PDT
 
Use the following routine as pasted below. Copy that to the notepad,
rename it to a file with KEY extension, such as EXAMPLE.KEY, and put
into the my macros folder. This will open up notepad, and type the
numbers 0 to 99.

Hope it helps! ;-)


<<EXECUTEANDPAUSE:c:\WINDOWS\NOTEPAD.EXE~~~~>>
<<LOOKFOR:Untitled - Notepad~~SECS:5~~>>
<<SETCOUNTER:0>>
<<C>>setting counter to 0>>
<<REP99>>
<<C>>starting repeat sub>>
<<INCREMENT>>
<<C>>incrementing counter>>
<<FOCUS:Untitled - Notepad>>
<<COUNTER>>
<<C>>sending the counter to the application>>
<<FOCUS:Untitled - Notepad>>
<<ENTER>>
<<C>>Sending the enter  to the application>>
<<ENDREP>>
<<C>>end repeat counter>>
<<*1110101011011010*>>

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy