I did find a way, but it is too long. I just made an extension of the above macro. So; the macro navigates to the session folder in Finder, copies the file path, goes back to ProTools, chooses Export Selected Files, presses the button Choose... and sets the folder to the earlier copied path+/Bounced Files. So yes, it works, but i don't like it. It is way too long.
The problem is what you already asked in the start topic; how to get the path of the current session in a variable.
Here is a demonstration. It works most of the times but i don't like the way how i did it.
Ok, i found a much easier way to navigate to the current PT session folder. A right click in the middle of the window brings up the location. I go to this location, and i get the current parent path in a variable, back to ProTools, enter Export Selected Clips, click Choose and fill in the new path+Bounced Files.
I used for trigger: shift+command+K, which is already Export Clips. So, now it will always select Bounced Files in the current Session Folder as export location.
When the macro has ran the Finder has the session folder open. I could close it, but i left it this way.
When you had no clips selected and you run the macro, the finder opens the current session folder, but PT will be the front application.
Still, sometimes the first try fails. 2nd attempt is successful. I have to see where it goes wrong the first try. Maybe i have to extend a pause somewhere. But then; how to make it “a first try” again?
This pretty much does it...I modified your macro...as long as you have the
folder selected in Finder. My next job is that I have dated folders within
the bounced files folder I want to drill down to. Maybe I will add a
"pause".
Hi John , the KM "Set Export Clip to Bounced Files" that you did for Ray, worked really well. I wanted to see if theres a way to put a if statement after the return keystroke before the open Button. in that (if statement )would look and see if a folder with todays date is there already, if so, than open it. If not create a folder with todays date, then open that.
Since the "Please Choose a Destination Folder " isn't a full path KM couldn't executed it.