Article View: adobe.photoshop.scripting
Article #566How do I call Java from a Photoshop Javascript script?
From: mark
Date: Mon, 12 Jan 2009 22:30
Date: Mon, 12 Jan 2009 22:30
5 lines
901 bytes
901 bytes
Javascript provides support for calling Java programs from within its framework. For example:
alert("Date: " + (new java.util.Date().toString())
should create a Java Date object and return a string to Javascript for printing. However, this doesn't seem to work in Photoshop. Is there a way to call Java from Javascript?
Technical Details
Message-ID:
<59b77f21.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,51d71c9ca6b60c8a,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: mark@kitfox.com@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: How do I call Java from a Photoshop Javascript script? Message-ID: <59b77f21.-1@webcrossing.la2eafNXanI> Date: Mon, 12 Jan 2009 14:30:21 -0800 Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit