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

Applescript Illustrator export each artboard as SVG

New Here ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

Hi,

Adobe support, can you please visit the code below and recommend why the SVG isn't coming up with individual artboard? Seems same artboard gets export 4 times, with updated file-name:

--used normal repeat routine to open multiple illustrator file(s), then:

try

export to outFile as SVG with options {artboard range:ab_range, save multiple artboards:true, coordinate precision:2, font type:outline font, minify svg:false, raster image location:"embed", responsive svg:false}

on error e

display dialog e as string

try

export to outFile as SVG with options {artboard range:ab_range}

on error ee

display dialog ee as string

end try

end try

 

-- Also realised that this export command essentially gets skipped and it uses the second option to export the illustrator file however not all artboards only, 4th one and 4 times, with artboard-names for each. That too it is essentially using 'save-as' SVG rather the export function. Here is the test AI file.

https://drive.google.com/file/d/1RRbvmZnuY9K69K6JHmn-e78hb3ENf58W/view?usp=sharing

 

Any help will be much appreciated.

 

Kind regards

Sapan

TOPICS
Import and export , Scripting

Views

122

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
no replies

Have something to add?

Join the conversation
Adobe