Download and Open Web Image In Photoshop

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: xbytor, DavideBarranca, Paul MR

AnilTejwani
Posts: 12
Joined: Wed Feb 22, 2017 5:37 pm

Download and Open Web Image In Photoshop

Postby AnilTejwani » Mon Feb 11, 2019 11:46 am

Hi,

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

Return to “Photoshop Scripting - General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests