Skip to main content
Known Participant
May 17, 2020
Question

Can we call shell script or AppleScript from Adobe Java Script

  • May 17, 2020
  • 2 replies
  • 1149 views

I have added menu item using javasceipt, i want to access local folder file  , i couldnt do it from javascript, can i call shell commands from javascript which will access files in local filesystem. Thanks 

 

This topic has been closed for replies.

2 replies

SyamalaAuthor
Known Participant
May 18, 2020

Can we launch another JavaScript from my Adobe reader javascript.

Legend
May 18, 2020

No. Please describe what you want to do in detail so we can see if there is any way, rather than looking for general holes in the security model. I Don’t understand “access local folder file”.

SyamalaAuthor
Known Participant
May 18, 2020

I want to write to a plist file local folder , ex: /Library/Application Support/example.plist . When i click on menu item i want set "action : true" and later i want to make it false to stop executing menu item multiple times. I am looking for ways to write and read from plist file from my javascript, May be by calling other javascript or shell script or apple script.

Legend
May 17, 2020

My goodness no. Absolutely not. This is supposed to be a secure system, that's why you can't just get to local files either. Remember PDFs could come from anywhere.