• 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 x return, how reliable, fast or slow is Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delay x return, how reliable, fast or slow is Applescript?


  • Subject: Re: Delay x return, how reliable, fast or slow is Applescript?
  • From: Doug McNutt <email@hidden>
  • Date: Wed, 15 Dec 2004 08:56:23 -0700

At 11:54 -0200 12/15/04, Bernardo Hoehl wrote:
>1) Since applescript is a high level language, when compared to "C", How fast can the system handle delay statements? How precise or reliable can be my Applescript app?

On Feb 12, 2004, at 8:25 PM, Bill wrote:
>In the applescript 1.9.2 release note, it mentions that " The delay command now accepts real numbers. [2812515]".
>
><http://www.apple.com/applescript/releasenotes/192OSX.html>
>
>So, anyone have idea about delay 0.001, is it really delay for 1 millisecond?

At 23:03 -0800 2/12/04, Christopher Nebel wrote:
>Well, it won't return for at least one millisecond. :-)  Seriously, "delay"'s accuracy is not guaranteed, and at best has a resolution of 1/60th of a second.  If you need guaranteed millisecond timing, you shouldn't be using AppleScript.  Heck, you probably shouldn't be using a normal consumer OS.

Real-time AppleScript won't be easy. But anything on a modern Mac that attempts to talk with a simple piece of hardware, like my new Analog Devices chip that needs to be programmed with an I2C serial interface, is a pain. Have you considered a Mac SE/30 with its easy to use RS422 serial ports? 128 kb/sec is achievable with control over the speed. MS Excel 4 provides an entry to CODE modules for the interface.

I'd edit "normal" to "modern" in Chris' comment. What scriptable software are you planning to use?

--
--> Truly advanced science can easily be mistaken for the musings of an idiot. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Delay x return, how reliable, fast or slow is Applescript? (From: Bernardo Hoehl <email@hidden>)

  • Prev by Date: Re: Delay x return, how reliable, fast or slow is Applescript?
  • Next by Date: Making a command-line-called app come to the foreground
  • Previous by thread: Re: Delay x return, how reliable, fast or slow is Applescript?
  • Next by thread: Re: Delay x return, how reliable, fast or slow is AppleScript?
  • Index(es):
    • Date
    • Thread