RE: Scripting a non-scriptable app
RE: Scripting a non-scriptable app
- Subject: RE: Scripting a non-scriptable app
- From: "Wadson, David" <email@hidden>
- Date: Thu, 9 May 2002 11:58:47 -0400
I think what you require is
do menu popup item "Take Picture" of submenu "Utility" of menu "File"
If "Utility" is a dialog box, then open that in one command, and select
"Take Picture" as another command.
Enclosing your script in an idle handler and saving it as a stay-open
application will allow you to have it execute at preset intervals.
David Wadson
Coordinator of Graphic Services
The Chronicle-Journal
>
----------
>
From: Luis Ernesto Hernandez
>
Sent: Friday, May 3, 2002 7:45 PM
>
To: email@hidden
>
Subject: Scripting a non-scriptable app
>
>
>
Expected end of line, etc. but found class name.
>
>
>
Here's the script's text:
>
>
>
tell application "Finder"
>
activate
>
select file "QV-Mac Application" of folder "Casio LCD DigiCam" of
>
folder "Applications" of startup disk
>
open selection
>
do menu popup item "Take Picture" of popup "Utility" of menu "File"
>
end tell
>
>
The error message highlights the word "menu" of "do menu" (fifth line,
>
second word if the mail server doesn't screw up my line breaks).
>
>
>
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)?
_______________________________________________
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.