• 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
AppleScript and Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript and Java


  • Subject: AppleScript and Java
  • From: tom wible <email@hidden>
  • Date: Wed, 31 Dec 2008 20:57:16 -0500

might get more response here than in the java list;-)

Neil Taylor wrote:
I am interesting in extending the capabilities of a java application to respond to custom AppleScript commands. I have seen some documentation on the Apple site where it seems possible to respond to events such as Open and there is also the javax.script mechansim to invoke AppleScript. What I don't seem to be able to find information on is how to provide support for some custom commands so that I can script the Java based application. For example, I would like to write an AppleScript of the form:

tell MyApp
    runMyCommand1 <parameter list>
end tell

Is it possible to define custom AppleScript commands for a Java application? If so, can someone recommend any developer docs that discuss this and (hopefully) provide basic examples?

Neil
_______________________________________________
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
  • Follow-Ups:
    • Re: AppleScript and Java
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Reading contents of a text field from Interface Builder
  • Next by Date: Re: AppleScript and Java
  • Previous by thread: Reading contents of a text field from Interface Builder
  • Next by thread: Re: AppleScript and Java
  • Index(es):
    • Date
    • Thread