BUG: Memory Location Update Selection Issue
Hi SF Team,
When editing or creating a Selection based memory location using the new SDK commands sf.app.protools.createMemoryLocation()
or sf.app.protools.editMemoryLocation()
functions, the track selection is not stored.
I tried to select the memory location using both
sf.app.protools.selectMemoryLocation({ ... })
and sf.ui.protools.memoryLocationsGoto({ ... })
and neither function re-select the original tracks.
The timeline in and out points do appear.
Note: both Link Track/Timeline and Edit Selection is enabled.
First, manually make a selection. Then run the following script:
sf.app.proTools.createMemoryLocation({ // Or editMemoryLocation
number: 999,
name: "TEST MARKER",
timeProperties: "Selection",
startTime: sf.app.proTools.getTimelineSelection({ timeScale: "Samples" }).inTime,
endTime: sf.app.proTools.getTimelineSelection({ timeScale: "Samples" }).outTime,
comments: "" // required for some reason
});
sf.app.proTools.selectMemoryLocation({
number: 999
});
// OR
// sf.ui.proTools.memoryLocationsGoto({
// memoryLocationNumber: 999
// });
Any ideas?
Thanks! Travis
- SSoundFlow Bot @soundflowbot
Thanks for contacting SoundFlow support.
Please note, that the best way to get help with a script, macro or other content installed from the Store or content that you've made yourself, is to select the script/macro, then click the red Need help button, and then click "Get help with this script or macro".
By using this method, we will get access to more information and so should be able to help you quicker.
You can read more about how this works here: bit.ly/sfscripthelpIf you're seeing an error that isn't related to scripts or macros, and you think this is a bug in SoundFlow, please file a Help/Issue bug report.
You can see how to do this by going to bit.ly/sfhelpissue - In reply toTravis_Handley⬆:Christian Scheuer @chrscheuer2024-01-23 05:22:15.173Z
Hi Travis,
Remembering track selection using memory locations made by the
sf.app....
functions is not currently supported. This is a setting that needs to be set on the memory locations when they're being made (like you would in the UI), but this feature had bugs in the original PT implementation of the feature, so we won't be supporting it until those bugs are fixed.Christian Scheuer @chrscheuer2024-01-23 05:24:07.216Z
I'm noticing I may not be understanding you correctly. Do you mean the timeline selection or track selection (ie. which tracks are selected). Either way, any potential issues here would be issues on the Pro Tools side.
If you need a stable solution here and now, you'd have to automate this using UI automation where you'll be in full control. We can only forward bugs on the PT SDK to Avid, and so we're not in control over how/when those PT bugs may be fixed.Christian Scheuer @chrscheuer2024-01-23 17:02:46.772Z
I'm logging an internal report for now - once I have a few more details we can forward this info to Avid.
- TTravis Handley @Travis_Handley
Thanks Christian!
https://drive.google.com/open?id=1d1fTe9FzK-ity45RMMIJRCl57dEXFHvz&usp=drive_fs
The above link is to a short video showing the behaviour.
The first three examples are using the UI to update the selection marker and work as intended.
The last two examples are using the script where it retains the correct timeline selection but doesn't retain the correct track selection (it keeps the previous track selection set using the UI).
Let me know if you need any more info!
Christian Scheuer @chrscheuer2024-01-24 02:11:23.249Z
Thanks Travis. What version of Pro Tools is this?
- TTravis Handley @Travis_Handley
We're on 2023.12.1
Thanks!
Christian Scheuer @chrscheuer2024-01-24 20:08:31.758Z
Great, thank you, we'll pass this on.
- SIn reply toTravis_Handley⬆:SoundFlow Bot @soundflowbot
This issue is now tracked internally by SoundFlow as SF-1042
Christian Scheuer @chrscheuer2024-03-04 08:20:31.745Z
Tracking in SFA-13.
- TIn reply toTravis_Handley⬆:Travis Handley @Travis_Handley
Hi Christian,
Has there been any progress with this?
Thanks!
TravisChristian Scheuer @chrscheuer2025-03-04 10:23:40.718Z
Hi Travis,
This bug is on the Avid side, so unfortunately, I'm not allowed to share info from them - but, I just pinged the internal bug report.- In reply toTravis_Handley⬆:
Dustin Harris @Dustin_Harris
try using the
trackVisibility: true
property in the marker methods; I seem to remember it being necessary to recall the track selections?