Copy link to clipboard
Copied
hi
i need a script for photoshop to open a jpg file
for example K:\grain\dc.jpg
could you help me please?
thanks
Try the following
app.open(new File("K:\\grain\\dc.jpg"))
-Manan
Copy link to clipboard
Copied
Try the following
app.open(new File("K:\\grain\\dc.jpg"))
-Manan
Copy link to clipboard
Copied
hi
it works!
does it work with old photoshop version too like cs 6 cs5 ?
thanks
Copy link to clipboard
Copied
Opening a file is not a new feature it should work as far back as PS version 7 when the scripting support plug-in was an optional download. Before that Adobe plug-in Photoshop could not be scripted. So the answer is no will not work in Photoshop versions 0 throught version 6 there was no scripting feature in them..
Copy link to clipboard
Copied
Should work, its pretty basic statement. I don't have these versions installed so can't test it, you can try and if it does not work come back with error details
-Manan
Find more inspiration, events, and resources on the new Adobe Community
Explore Now