• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting an Applescript studio application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Excel format cels as number with Applescript
  • Next by Date: Re: Excel format cels as number with Applescript
  • Previous by thread: Re: Excel format cels as number with Applescript
  • Next by thread: Adding a Color Profile to an Image with Image Events
  • Index(es):
    • Date
    • Thread