Scripting an Applescript studio application
Scripting an Applescript studio application
- Subject: Scripting an Applescript studio application
- From: Ken Tozier <email@hidden>
- Date: Sun, 28 Jun 2009 17:26:55 -0400
Hi
I wrote a small Applescript studio app because I needed to use a few
custom Objective-C classes and now want to write a normal script that
calls specific methods in the app. I tried the following
tell application "PMXPrintPlates"
PrintPlates()
end tell
Which gave me the error
PMXPrintPlates got an error: Can’t continue PrintPlates.
Next I opened the PMXPrintPlates applescript dictionary and tried
tell application "PMXPrintPlates"
call method "PrintPlates" with parameters {}
end tell
Which didn't appear to do anything
Next I simplified the PrintPlates script down to a bare minimum,just
to see if the message was arriving
on PrintPlates()
display dialog "Howdy" buttons {"OK"} default button "OK"
end
Nothing.
How does one call methods of an ApplescriptStudio app?
Thanks for any help. _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden