Highlighted

Argument passed from apple script to javascript

Participant ,
Aug 06, 2020

Copy link to clipboard

Copied

Hi Everyone, 

Can anyone explain how to pass the arguments from apple script to Javascript.

For Example is this correct way to pass the arguments from apple script to javascript

set thePath to do javascript theFilesScript with arguments {argumentCondition2, theDoc}

the two arguments are

theDoc is file

argumentCondition2 is the "Collect path" is collect path 

Adobe Community Professional
Correct answer by Charu Rajput | Adobe Community Professional

Hi, raghav you have posted this question twice. Please don't create separate threads for same questions. Here is the link to your answer on another post.

 

https://community.adobe.com/t5/illustrator/parameter-pass-from-applescript-to-javascript/m-p/11343884?page=1#M188394

 

TOPICS
Scripting

Views

47

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Argument passed from apple script to javascript

Participant ,
Aug 06, 2020

Copy link to clipboard

Copied

Hi Everyone, 

Can anyone explain how to pass the arguments from apple script to Javascript.

For Example is this correct way to pass the arguments from apple script to javascript

set thePath to do javascript theFilesScript with arguments {argumentCondition2, theDoc}

the two arguments are

theDoc is file

argumentCondition2 is the "Collect path" is collect path 

Adobe Community Professional
Correct answer by Charu Rajput | Adobe Community Professional

Hi, raghav you have posted this question twice. Please don't create separate threads for same questions. Here is the link to your answer on another post.

 

https://community.adobe.com/t5/illustrator/parameter-pass-from-applescript-to-javascript/m-p/11343884?page=1#M188394

 

TOPICS
Scripting

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 06, 2020 0
Adobe Community Professional ,
Aug 07, 2020

Copy link to clipboard

Copied

Hi, raghav you have posted this question twice. Please don't create separate threads for same questions. Here is the link to your answer on another post.

 

https://community.adobe.com/t5/illustrator/parameter-pass-from-applescript-to-javascript/m-p/1134388...

 

Best regards

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 07, 2020 0