Place image from web url
Hi all,
I'm trying to add a web image to the Artboard via Extendscript.
It seems File doesn't support web urls...
Here's what I've got so far,
var file = File("http://www.placehold.it/200x200");
var img = app.activeDocument.placedItems.add();
img.file = file;
img.position = Array(10, -10);
If I drag an image from my web browser (Chrome) to an Illustrator Artboard it magically works, I appears to download
the file to a local (private) folder before placing it. Can I piggy back that process or do I have to write my own?
Is this possible without using Bridge..?
thanks
Greg