Import Session Data - Select Source and Destination
Import Data Session window is already open...
Under Tracks I want to select specific source tracks, and select the destination as the same name of the source track, which should be the same because I'm using the same template over and over. I want to be able to batch import specific ones.
To do this I normally go to:
- File>Import Session Data...
- find the ptx file i want to pull session data from
- Go under Tracks and select the Source (in this case All Vox (Stereo aux) and Destination (All Vox)
- repeat step 3 for every track i want to import
- double check that Tempo / Meter Map and HEAT Master Settings is unchecked under "Session Data"
Picture below:

a friend of mine helped me come up with the first part of the script, but couldn't quite get it working. here it is below:
sf.ui.proTools.windows.whoseTitle.is("Import Session Data").first.groups.whoseTitle.is("Tracks").first.tables.whoseTitle.is("Source Destination").first.children.whoseRole.is("AXRow").whoseValue.is("# 0 row ").allItems[1].children.whoseRole.is("AXCell").first.children.whoseRole.is("AXStaticText").whoseTitle.is("All Vox (Stereo audio)").first.popupMenuSelect({
menuPath: ["All Vox"],
});
sf.ui.proTools.windows.whoseTitle.is("Import Session Data").first.groups.whoseTitle.is("Tracks").first.tables.whoseTitle.is("Source Destination").first.children.whoseRole.is("AXRow").whoseValue.is("# 0 row Row is empty.").allItems[2].children.whoseRole.is("AXCell").first.children.whoseRole.is("AXStaticText").whoseTitle.is("J Vox Comp (Stereo audio)").first.popupMenuSelect({
menuPath: ["J Vox Comp"],
});
Any help would be greatly appreciated!
- BBao Pham @Bao_Pham
any help here? No one has responded.
Christian Scheuer @chrscheuer2021-10-17 14:56:10.170Z
Hi Bao,
Unfortunately, AFAIK, the "Tracks" part of Import Session Data cannot be automated right now.
- BBao Pham @Bao_Pham
ok got it thanks
- In reply tochrscheuer⬆:MMartin Messier @Martin_M_Messier
Is that possible now?
- BBao Pham @Bao_Pham
would like to know as well @chrscheuer
Christian Scheuer @chrscheuer2023-09-16 14:34:54.377Z
I don't think I'm the right person to ask - I have seen several people on the forum who've been able to successfully script this area but I haven't taken a look myself.
- In reply toBao_Pham⬆:Mike Wax @mikewax
Hey @Bao_Pham,
I've been trying to do the same as well and the problem is Pro Tools' UI doesn't have this as a named list that can be accessed. Each entry is listed as "NULL".
So i was able to make something work, but the problem is it's based off index position, and not by name.This means that if the list changes at all, the script always selects the item in the nth space no matter what, not matching by name.
I have the same issue trying to automate the Relink window.For now, there's no proper way to be able to automate this from what i've found.