Silly-V / Adobe-Illustrator

Some useful Adobe Illustrator scripts
418 stars 298 forks source link

Prepend Image paths, Windows #3

Closed Silly-V closed 8 years ago

Silly-V commented 8 years ago

Prepended Image paths work on some Windows systems but not on some others.

Silly-V commented 8 years ago

The issues seems to have come from CC+ versions accepting the "file:///" as part of the file path's beginning on Windows, but in CS6- it only recognizes "file://" with only 2 slashes. This was messing up the validation functions, now it's fixed by only adding the string only for image variables at the time of the XML construction as this syntax is required by Illustrator's image variable format.