Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Precise timing



Gil Dawson wrote:

>I'm trying to get my lyrics to scroll with my CD, but the timing isn't precise enough.
>
>I was wondering whether anyone might kow of a better way to time my pulses.
>
>on idle
>tell application "Microsoft Word"
>               tell window 1
>                        small scroll down 1
>                end tell
>        end tell
>        return 0.7
>end idle

Wrap the application command in an 'ignoring application responses' block to eliminate the additional unpredictable delay due to waiting for Word to perform the action and send a reply.

has
-- 
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.