Bridge Script Create New folder
I am thinking about a Bridge script that creates a new folder on the content pane and then runs an AppleScript on the new folder.
I went through the Bridge scripting documentation and found examples of folder creation using a hard-coded URI. Rather, I am wondering if it is possible for the bridge script to run the New Folder menu item. Alternatively, perhaps using the app presentation path variable to set the new folder location.
Script sequence
1. Create a new Bridge folder
2. The new folder is selected on the content pane
3. The new folder name is highlighted on folder pane
4. The user inputs a unique folder name manually using keyboard
5. The script runs the external file function AppleScript on the new folder
The questions:
1. Can the Bridge script execute the New Folder menu item?
2. Can the Bridge script wait for the folder creation to complete before executing the run external file function?
Thank you for your help!
