Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

app.activeDocument.path returns error 8103

Explorer ,
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

Views

487
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
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.

Votes

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

Copy link to clipboard

Copied

LATEST

The problem no longer occurs after restarting the mac.

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

Votes

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
community guidelines