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

Photoshop action to call script regardless of file location

Explorer ,
Dec 29, 2022 Dec 29, 2022

Copy link to clipboard

Copied

I have several Photoshop actions which call a script located at:

"C:\Users\username\Documents\Scripts\myScript.jsx"

I want to backup these files to Microsoft OneDrive which once connected unfortunately changes the file path to:

"C:\Users\username\OneDrive\Documents\Scripts\myScript.jsx"

This obviously breaks my actions as PS can't find the script. 

Is there a way around this where PS can search parent directories/folders or any setting to make this work without redoing all my actions and pointing to the new file locations? This would be a huge nightmare

 

 

Thanks!

 

TOPICS
Actions and scripting

Views

324

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
community guidelines
Adobe
Community Expert ,
Dec 29, 2022 Dec 29, 2022

Copy link to clipboard

Copied

If you record the script using File/Scripts/Browse... the full absolute path to the script is recorded in the action.

 

If you instead install the script into the Photoshop application folder Presets/Scripts folder, then it will be available in the File/Scripts menu and will be recorded in an action with a relative name without the absolute path.

 

Edit: You only need to re-record the single installed script step in each action, so you don't need to redo every action from scratch. Once recorded correctly in the first action it can be duplicated and dragged into other actions and sets.

Votes

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
community guidelines
Community Expert ,
Dec 29, 2022 Dec 29, 2022

Copy link to clipboard

Copied

"Is there a way around this where PS can search parent directories/folders or any setting to make this work without redoing all my actions and pointing to the new file locations? This would be a huge nightmare"

 

Short answer is NO.

Votes

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
community guidelines
LEGEND ,
Dec 30, 2022 Dec 30, 2022

Copy link to clipboard

Copied

Adobe does not support cloud storage and mixing the two usually results in problems. Anything touched by Adobe should not be in a cloud folder, period.

Votes

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
community guidelines
Guide ,
Jan 12, 2023 Jan 12, 2023

Copy link to clipboard

Copied

LATEST

Votes

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