Skip to main content
Participant
March 12, 2009
Question

Can I "place" an image into Illustrator from an external java based one?

  • March 12, 2009
  • 2 replies
  • 1250 views
I have a java program that has photos in it; can I add an Adobe "place" button*** to send that photo (or a link to a photo) to Illustrator or Photoshop?

***Screenshot at http://www.howden.org.uk/adobe_place.jpg for clarification.

Is there an Adobe API or something for Illustrator or Photoshop that will let me do it?

Cheers! :)
This topic has been closed for replies.

2 replies

Participant
March 12, 2009
Thank you ever so much!! I have been seraching for an answer for months on and off :)
Participating Frequently
March 12, 2009
Hello Andrew,

On Windows: you can use the VBScript interface through COM. There are some Java/COM bridges, for instance: https://com4j.dev.java.net/ or http://jawinproject.sourceforge.net/
On Mac: I'm not so familiar on OSX, but I'm sure there is way to access to AppleScript interface from Java. After a rapid search I've found https://jasconn.dev.java.net/, perhaps it's good for this task.
After you connect to the Illustrator, you can use the Document's PlacedItems property for placing.

Regards,
Tom