How can you duplicate a folder and include the member tracks?
Title
How can you duplicate a folder and include the memeber tracks?
What do you expect to happen when you run the script/macro?
Wanting a way to "Include All Member Tracks" when duplicating a folder
Are you seeing an error?
What happens when you run this script?
There is no option in the command to include all member tracks when duplicating a folder. Is it possible to modify the script in some way to add this option?
How were you running this script?
Other
How important is this issue to you?
4
Details
{ "inputExpected": "Wanting a way to \"Include All Member Tracks\" when duplicating a folder", "inputIsError": false, "inputWhatHappens": "There is no option in the command to include all member tracks when duplicating a folder. Is it possible to modify the script in some way to add this option?", "inputHowRun": { "key": "-MpfwoFyZNOpBC3X5xGI", "title": "Other" }, "inputImportance": 4, "inputTitle": "How can you duplicate a folder and include the memeber tracks?" }
Source
if (!sf.ui.proTools.isRunning) throw `Pro Tools is not running`;
sf.ui.proTools.appActivateMainWindow();
sf.ui.proTools.trackDuplicateSelected();
Links
User UID: 5oOYQAmkSMeJJ8UYzehWUfmvCyr1
Feedback Key: sffeedback:5oOYQAmkSMeJJ8UYzehWUfmvCyr1:-N02W8aeMQh5Wmy9jn7M
- In reply toDJH⬆:Christian Scheuer @chrscheuer2022-04-21 22:41:03.803Z
Hi @DJH,
You would probably need to script this yourself. You could use general UI automation to accomplish this.
You can learn more about how to use UI automation to automate PT dialogs here:Thanks @chrscheuer . I've actually seen these and had decent success w/ ui automation. ACtually was beginning to script this as you suggested when i discovered the existing dup track command I was asking about here and was curious if I might learn something in the process of utilizing the existing script. But I have since scripted the dup folder track + member track command myself and it's working well.
Where I've had the most trouble with UI automation is attempting a "Wait for" command for certain windows to appear and disappear, as I've referenced here:
and here: