Delay after keystrokes
Delay after keystrokes
- Subject: Delay after keystrokes
- From: Mark Franken <email@hidden>
- Date: Sat, 19 Jun 2004 16:49:27 +1000
- Organization: Sounds In Sync
I have a script that sends keystrokes to an application. In order for
the application to process the keystrokes I need to set a delay after
each keystroke. I have been able to set this delay at about 1/100th of
a second for my 450MHz G4 using a small loop. If I then run the script
on a G5, I need to make my delay loop longer as the script runs
through the loop quicker and the application seems to still require
the same amount of real time to process the keystroke.
Can anyone think of a way to set a delay to part of a second in real
time no matter what processor is used ?
Is there a way to set "delay" to less than one second ? (I take it
"delay" will set the same delay no matter what speed the processor is
running) or is there maybe a way to find the processor speed in order
to calculate a delay loop ?
Regards Mark
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.