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

Running a script?

Participant ,
Jan 28, 2014 Jan 28, 2014

Copy link to clipboard

Copied

Sorry for this really basic question but I cant seem to find an answer (and I promise I have looked).

Ive got a script for bridge from ps-scripts.com that takes the file name and inputs it into the headline metadata, or any other stated part of the metadata (so I can use live captions in Indesign without seeing the file extension).

However, I have not got a clue how to run this script from bridge.

Everything I have seen says its a bridge script not a photoshop script, or are they run the same way?

For reference to the script http://www.ps-scripts.com/bb/viewtopic.php?f=18&t=2406&sid=abb69282c947bc40ec10%2081d5c7b9a6fc#p1028....

Cheers.

Bridge CS5 (4.1.0.54). Windows 7.

TOPICS
Scripting

Views

739

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

correct answers 1 Correct answer

Enthusiast , Jan 28, 2014 Jan 28, 2014

In Bridge goto Preferences - Startup Scripts

At the bottom click the "Reveal Button",  this will open the folder where the script should be placed as a plain text file with a .jsx extension.

Close and restart Bridge.

Accept the new script.

The  script is now ready to run from the Tools menu.

Likes

Translate

Translate
Enthusiast ,
Jan 28, 2014 Jan 28, 2014

Copy link to clipboard

Copied

In Bridge goto Preferences - Startup Scripts

At the bottom click the "Reveal Button",  this will open the folder where the script should be placed as a plain text file with a .jsx extension.

Close and restart Bridge.

Accept the new script.

The  script is now ready to run from the Tools menu.

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
community guidelines
Participant ,
Jan 28, 2014 Jan 28, 2014

Copy link to clipboard

Copied

Perfect!

Thank you very much!

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
community guidelines
Enthusiast ,
Sep 11, 2022 Sep 11, 2022

Copy link to clipboard

Copied

it didn't works with me!, but this works :

//Script_Part_1.jsx (Finished!)
    var scriptFile = new File($.fileName);
    var scriptPath = scriptFile.parent.fsName; 
    $.evalFile(scriptPath+'/Script_Part_2.jsx')

note that bothe (Script_Part_1.jsx) is the same place with (Script_Part_2.jsx) 

Best
M.Hasanain

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
community guidelines
Community Expert ,
Sep 12, 2022 Sep 12, 2022

Copy link to clipboard

Copied

LATEST

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