Is it possible to download and open an web-image in photoshop?
Example if I do this *manually* it works
i. Open Photoshop,
ii. click file-> open
iii. paste the web image url ( example 'https://tejwani.com/wp-content/uploads/ ... de1-01.jpg' )
it takes a while but open the file in photoshop [it downloads in windows cache(I am on Windows) and opens it].
I am not able to script the same thing.
Example the code below
Code: Select all
var fName = 'https://tejwani.com/wp-content/uploads/2018/02/slide1-01.jpg';
var thisFile = File(fName);
app.open(thisFile);
Any ideas or work around?
Thanks in advance