Re: Scripting a non-scriptable app
Re: Scripting a non-scriptable app
- Subject: Re: Scripting a non-scriptable app
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 09 May 2002 12:27:50 -0400
- Organization: [very little]
>
Date: Fri, 3 May 2002 19:45:04 -0400 (VET)
>
From: Luis Ernesto Hernandez <email@hidden>
>
To: <email@hidden>
>
Subject: Scripting a non-scriptable app
>
>
Number two: For meteorology purposes, I point the camera towards a cloud
>
formation and take a picture every minute or so. This enables me to "speed
>
up" a very slow event. Is there any way to tell a script to take a picture
>
in a specified amount of time? Also, how do I tell the script to stop
>
after ninety-six such operations (the camera's internal memory capacity)?
I can't deal with number 1 because I don't know Prefab Player, but
number 2 is susceptible to a stay-open applet with an idle handler. At
the end of the idle handler is a "return" command with an integer
parameter indicating the number of seconds to elapse before the idle
handler executes again. As for the 96 repeats, create a global variable
as a counter. Increment it each time the idle handler runs. When it
hits 96 issue a cancel: "error number -128".
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[5/9/02 12:26:38 PM]
_______________________________________________
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.