Silly-V / Adobe-Illustrator

Some useful Adobe Illustrator scripts
418 stars 298 forks source link

Missing images #34

Closed interludic closed 4 years ago

interludic commented 4 years ago

Although none missing in the 'test' it seems to find only 7/24 images, however they are there. Some of which have already been referenced previously.

interludic commented 4 years ago

VariableImporter.jsx

Silly-V commented 4 years ago

Do you have any screenshots of this issue?

Huaba93 commented 4 years ago

I had this issue too but it was my fault. There were typos in some filenames. If this error occurs, nothing works anymore. So maybe it could be implemented a little bit more fail safe.

Silly-V commented 4 years ago

The test logs which say there's only x of y images is the fail-safe: if your images are missing then you know about it. It will still import the data but it won't auto-bind the variables because a missing image would trigger Illustrator image alerts and the users would have a potential to think their import was OK as they may forget about seeing extra script warnings. However, if they want to import it regardless I could perhaps add a Yes/No dialog to say "Not all images were located. Do you want to use auto-binding?".

Huaba93 commented 4 years ago

Now that I know how it works, it is good for me as it is.