0
Script to open a folder using AppleScript
New Here
,
/t5/bridge-discussions/script-to-open-a-folder-using-applescript/td-p/14223860
Nov 09, 2023
Nov 09, 2023
Copy link to clipboard
Copied
I have a Filemaker Database and have been using AppleScript to open a Folder with Bridge forever.
For along time this script worked niecly:
set openFolder to "app.browseTo( '" & $path & "');"
tell application ("Adobe Bridge")
activate
do javascript openFolder
end tell
When "do javascript" stoped working I used this quick fix instread:
tell application "Adobe Bridge"
activate
open $path
end tell
Since Adobe Bridge 2024 this only works if a Bridge window is already open…
Can someone point me in the right direction?
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
LATEST
/t5/bridge-discussions/script-to-open-a-folder-using-applescript/m-p/14300599#M48011
Dec 15, 2023
Dec 15, 2023
Copy link to clipboard
Copied
Nice to meet you.
Please excuse my comment.
As you may know,
It appears that "Bridge 2024" no longer has AppleScript support.
It does not seem likely to work because the AppleScript dictionary sdef file does not exist.
â—‹References
So, it may be necessary to open the Bridge window from outside of Bridge.
After opening the window using the "open" method of the shell command
How about the following code that opens the folder path in applescript?
set _path to "/Users/userFolder/someFolder/"
--Rewrite the path of the folder you want to open accordingly
set bridge_app_path to "/Applications/Adobe Bridge 2024/Adobe Bridge 2024.app/"
--This is the path to the Bridge application. Rewrite this accordingly.
tell application "Adobe Bridge 2024"
activate
do shell script " open '" & bridge_app_path & "'"
open _path
end tell
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

