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

How to access web file or auto fill / bypass file.opendialog

New Here ,
Nov 29, 2019 Nov 29, 2019

Copy link to clipboard

Copied

Hi

I've written a script to automatically generate layouts in illustrator based on data in a csv file.

 

Is there a way to reference a file located on a website ie http://www.site.com/file1234.csv

I have searched around but have had no luck.

 

I have managed to load it in by copying and pasting the address into a File.openDialog, but to streamline things would rather the user only have to enter the reference number (1234 in the example above) and the rest be put in by the script.

 

So if it is not possible to reference a web based file is there a way I can achieve the above with File.openDialog defaulting to specified file name?

 

Thanks

 

[Removed unnecessary hyperlink by MOD ]

Views

139

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 ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

LATEST

Illustrator's JavaScript does not support Socket Object.

However, You can use several ways, External Object in ExtendScript, CEP, shell commands...

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