Skip navigation
Currently Being Moderated

execute JSX in MAC

Aug 6, 2012 3:59 AM

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

 
Replies
  • Currently Being Moderated
    Aug 9, 2012 2:44 AM   in reply to Harsh V Sharma

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 9, 2013 6:31 AM   in reply to Harsh V Sharma

    Hi Harsh,

     

    Please let me know the steps and syntax for  run the jsx file in command prompt on Windows OS.

     

    Thanks

    Satish

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 9, 2013 3:12 PM   in reply to Satgates

    Doesn't he explicitly explain in his very first question how he does that? "... by using following cmmand:"?

     

    Did it not work for you?

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 9, 2013 11:55 PM   in reply to [Jongware]

    Yes, that command open the indesign but not execute the jsxbin fine.

     

    Regards

    Satish

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points