Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Sending AppleEvents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending AppleEvents



Does anyone have any example code that demonstrates sending and receiving Apple Events using JNI? There's an old example on the Apple developer site using JDirect but that's long since been deprecated.

There is of course general Apple Event reference documentation but I'm not sure if there are any gotchas invoking this from Java?

http://developer.apple.com/documentation/Carbon/Reference/Apple_Event_Manager/index.html
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleEvents/index.html

(I've already tried using osascript and Runtime.exec(), by the way, but because of the particular events I need to send osascript won't work for me.)

Thanks,

-Rolf
--
Rolf Howarth
Square Box Systems Ltd
Stratford-upon-Avon UK.
http://www.squarebox.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.