Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can we call shell script or AppleScript from Adobe Java Script

Community Beginner ,
May 17, 2020 May 17, 2020

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 

 

TOPICS
Edit and convert PDFs , Mac
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 17, 2020 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 17, 2020 May 17, 2020

Can we launch another JavaScript from my Adobe reader javascript.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 18, 2020 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”.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 18, 2020 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 21, 2020 May 21, 2020

Can you please check the details 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 21, 2020 May 21, 2020
LATEST

I'm sure you cannot do this. What a security hole it would be.

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