• 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
Re: Delay after keystrokes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delay after keystrokes


  • Subject: Re: Delay after keystrokes
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 19 Jun 2004 08:32:17 -0700

In Panther it does. Not earlier (it rounds up).

--
Paul Berkowitz


> From: Graff <email@hidden>
> Date: Sat, 19 Jun 2004 11:21:27 -0400
> To: AppleScript Users <email@hidden>
> Subject: Re: Delay after keystrokes
>
> You can just use the delay command. It accepts whole or fractions of a
> second.
>
> For example, to delay 1/2 of a second:
> ----
> display dialog "start"
> delay 0.5
> display dialog "done"
> ----
>
> - Ken
>
> On Jun 19, 2004, at 2:49 AM, Mark Franken wrote:
>
>> 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 ?
> _______________________________________________
> 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.
_______________________________________________
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.


References: 
 >Re: Delay after keystrokes (From: Graff <email@hidden>)

  • Prev by Date: Re: Introduction and procmail test
  • Next by Date: Re: Changing Icon of a volume
  • Previous by thread: Re: Delay after keystrokes
  • Next by thread: Unicode issue
  • Index(es):
    • Date
    • Thread