Highlighted

"No such Element" error when opening a file in Photoshop with javascript

New Here ,
Nov 10, 2020

Copy link to clipboard

Copied

Hi All,

 

I am trying to open image file in photoshop using javascript but It gives "No such element" error if file name is in different case on disk than mention in open command.

Is it photoshop issue or Javascript which doesn't support file name case issue?

e.g. open("Sample.Jpg") gives "No such element" error if on disk, file name is Sample.JPG or SAMPLE.JPG or even SamplE.jpg etc..

Any help will be appreciated.

Thanks

Views

20

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

"No such Element" error when opening a file in Photoshop with javascript

New Here ,
Nov 10, 2020

Copy link to clipboard

Copied

Hi All,

 

I am trying to open image file in photoshop using javascript but It gives "No such element" error if file name is in different case on disk than mention in open command.

Is it photoshop issue or Javascript which doesn't support file name case issue?

e.g. open("Sample.Jpg") gives "No such element" error if on disk, file name is Sample.JPG or SAMPLE.JPG or even SamplE.jpg etc..

Any help will be appreciated.

Thanks

Views

21

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 10, 2020 0
Adobe Community Professional ,
Nov 10, 2020

Copy link to clipboard

Copied

I moved your post over from the poorly named "Using the Community" forum, which is for getting help using this forum system, to a better forum.


I hope this helps. Best of luck to you.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2020 0