I'd like to define a custom URL that when invoked using the "open"
command will either launch my Java application and pass the URL as
an argument or, if the application is already open, somehow pass
the URL to the open application to open.
It's achievable, except for launch events. As It thought it might,
this misses those completely. You would need your code up and running
before any url's are passed most likely.
It does implement a 'aevt' scheme for URL testing. If the application
gets more involved it may have issues that have been discussed on the
list before. Carbon (which it uses) / Cocoa (which the jvm) uses
incompatibilities. Threading issues, AppleScript and I think
AppleEvents in general aren't thread safe. Possibly other problems.
But it's achievable and 'open' makes for fairly easy testing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden