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

socket connection

Explorer ,
Oct 17, 2019 Oct 17, 2019

Copy link to clipboard

Copied

I need to send error notifiction to https server using indesign script. Is this possible via script.  if possible share the sameple code.

Views

179

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
community guidelines
Community Expert ,
Oct 17, 2019 Oct 17, 2019

Copy link to clipboard

Copied

LATEST

There are no libraries about https protocol and we need to build ourselves.
However, We can use doScript method to invoke AppleScript with process. See below one liner.

alert(app.doScript( 'do shell script "/usr/bin/curl https://community.adobe.com/t5/InDesign/socket-connection/td-p/10675877"', ScriptLanguage.APPLESCRIPT_LANGUAGE));

  

Votes

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
community guidelines