Copy link to clipboard
Copied
Hi All,
I want to execute a .JSX file by using Mac Terminal Command like i am doing in MS Windows by using following cmmand:
C:/ start illustrator.exe Script.jsx
its working fine but i want to do the same thing in MAC, if you have any idea about it please help me.
i am working on an Application in that I am using CS6 SDK to add some functionality in my Adobe Illustrator, but didnt find any method to execute JSX files directoly from VC++/CS6 SDK.
Please help me if you have any suggetion for me.
Thanks & Regards
Harsh
Copy link to clipboard
Copied
There are following two ways to execute the script on Mac from terminal:
01) The way it works on Win, same way it works even on Mac. But make sure that you have mentioned following statement at start of your Java Script:
#target "Illustrator-16"
02) Or if you do not want to do as mentioned above, you may provide command in terminal as follows:
Open -a <full path of application> <Java Script Source"
Hope this information helps.
Copy link to clipboard
Copied
Thanks
Copy link to clipboard
Copied
Hi Harsh,
Please let me know the steps and syntax for run the jsx file in command prompt on Windows OS.
Thanks
Satish
Copy link to clipboard
Copied
Doesn't he explicitly explain in his very first question how he does that? "... by using following cmmand:"?
Did it not work for you?
Copy link to clipboard
Copied
Yes, that command open the indesign but not execute the jsxbin fine.
Regards
Satish
Copy link to clipboard
Copied
Hi Satish,
Following is the code that I am using in batch file to execure the JSX file.
@ECHO OFF
cd %CD%
Illustrator.exe %CD%\SaveNGC.jsx
exit
Regards
Harsh Sharma
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more