Kryten
2010-03-08 15:11:54 UTC
Hi,
A while back I wrote a pretty trivial script ( -ok all
my scripts are trivial, alright! ).
All it did was take strings from one place, modify them
and send them someplace else. Mundane stuff.
The users love it though as it saves them so much time.
One of the users has now asked me how to "pause" it.
Hhhmmm.. It's just iterating through an array of strings,
and using wscript.shell sendkeys to send the text into
another application.
How can I add functionality so that if the spacebar, for
example, is tapped the script pauses till the same key
is pressed again? I mean, it could be mid-pipeline...
Any ideas?
Cheers,
Stuart
A while back I wrote a pretty trivial script ( -ok all
my scripts are trivial, alright! ).
All it did was take strings from one place, modify them
and send them someplace else. Mundane stuff.
The users love it though as it saves them so much time.
One of the users has now asked me how to "pause" it.
Hhhmmm.. It's just iterating through an array of strings,
and using wscript.shell sendkeys to send the text into
another application.
How can I add functionality so that if the spacebar, for
example, is tapped the script pauses till the same key
is pressed again? I mean, it could be mid-pipeline...
Any ideas?
Cheers,
Stuart