Re: AppleScript and Java
Re: AppleScript and Java
- Subject: Re: AppleScript and Java
- From: Axel Luttgens <email@hidden>
- Date: Thu, 1 Jan 2009 04:25:54 +0100
Le 1 janv. 09 à 02:57, tom wible a écrit :
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?
Just a guess, but this one could be a starting point:
<http://developer.apple.com/documentation/Java/Conceptual/Java14Development/07-NativePlatformIntegration/NativePlatformIntegration.html#//apple_ref/doc/uid/TP40001909-212907-TPXREF140
>
HTH,
Axel _______________________________________________
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