Monday, March 29, 2010

How to find out the filename of...

I got the filename of javascript and pathname of javascript(not the active document file name) using the below code in illustrator cs3.

var path = $.fileName;

But my problem was if i run the javascript through ''extendscript toolkit'' i got it correctly. But if i run my script through illustrator cs3 application(File-%26gt;Scripts-%26gt;test.jsx) i got some integer value only(did not get the javascript filepath and filename). Kindly advice how to get the javascript file name and file path in windows platform through illustrator cs3 javascript. Please help me.

No comments:

Post a Comment