Scripting a non-scriptable app
Scripting a non-scriptable app
- Subject: Scripting a non-scriptable app
- From: Luis Ernesto Hernandez <email@hidden>
- Date: Fri, 3 May 2002 19:45:04 -0400 (VET)
Dear listers:
I realize the subject was discussed a while ago, so please excuse the
resucitation of a dead subject, but...Here are a couple of questions I'd
greatly appreciate some help with.
Number one: I just installed PreFab Software's Player v.1.5 in order to
script a non-scriptable Casio digital camera driver. The application has
an submenu called "Utility", containing a command called "Take Picture",
which enables the user to take a picture without actually pressing the
camera's shutter button. I wrote a script to accomplish this task, but
when I check syntax or try to run it I get the following message:
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.