Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

app.activeDocument.path returns error 8103

Explorer ,
Feb 23, 2022 Feb 23, 2022

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
566
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 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.

Translate
Adobe
Explorer ,
Feb 23, 2022 Feb 23, 2022
LATEST

The problem no longer occurs after restarting the mac.

I hate it when that happens! But, case closed.

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