Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automator [was: Java 5 is available...]



Morgan Schweers wrote:

>On a separate note, in looking over the Automator docs, I'm a bit
>saddened that they didn't offer any kind of Java bindings to it.  I
>wouldn't have minded adding some Actions to my app, to allow for being
>used in interesting workflows.

I'm pretty sure Swing JComponents have been scriptable via UI Scripting
since 10.3.0:
  <http://www.apple.com/applescript/uiscripting/index.html>

Since you can write Actions in AppleScript, it follows that you can write
Actions to control a Swing app through its JComponents.

If you want more, you could do these in a Java app:
  1) listen on a ServerSocket, then write Actions that connect and Do Stuff.
  2) read a named pipe (FIFO) in the file system, then write to it to Do Stuff.

  -- GG


 _______________________________________________
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

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 © 2007 Apple Inc. All rights reserved.