0
Explorer
,
/t5/photoshop-ecosystem-discussions/app-activedocument-path-returns-error-8103/td-p/12771853
Feb 23, 2022
Feb 23, 2022
Copy link to clipboard
Copied
macos 12.2.1 (21D62)
Photoshop 23.0.2
I have a script that is based on "Export Layer Comps to Files". Basicaly, it sets the directory to save to (to a sibling directory of the PSD file, e.g., project/src/file.psd -> project/fig/file-layercomp.png).
This has worked very well up till yesterday.
Today I'm getting error 8103 when getting the path name.
alert("name of active document: " + app.activeDocument.name); // OK
alert("path of active document: " + app.activeDocument.path); // ERROR 8103
The file exists on disc, it is saved and photoshop has full access to that disc.
Any clue what might be wrong?
TOPICS
Actions and scripting
,
macOS
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Explorer
,
Feb 23, 2022
Feb 23, 2022
The problem no longer occurs after restarting the mac.
I hate it when that happens! But, case closed.
Explore related tutorials & articles
Explorer
,
LATEST
/t5/photoshop-ecosystem-discussions/app-activedocument-path-returns-error-8103/m-p/12772152#M625359
Feb 23, 2022
Feb 23, 2022
Copy link to clipboard
Copied
The problem no longer occurs after restarting the mac.
I hate it when that happens! But, case closed.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

