• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Delay after keystrokes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Delay after keystrokes
      • From: Graff <email@hidden>
  • Prev by Date: Re: List of files in a folder
  • Next by Date: Re: BrainForest?
  • Previous by thread: Re: Excel 2004 Script Not Working
  • Next by thread: Re: Delay after keystrokes
  • Index(es):
    • Date
    • Thread