Recall and scroll into view selected track from globalState variable
System Information
SoundFlow 5.4.4
OS: darwin 21.6.0
ProductName: macOS
ProductVersion: 12.6.8
BuildVersion: 21G725
Steps to Reproduce
- I get the selected tracks and store them in globalState variable with:
globalState['selectedTrackName'] = sf.ui.proTools.selectedTrackNames[0];
- I select a different track.Then I try to recall the selected tracks with:
let trackName = globalState['selectedTrackName'];
sf.ui.proTools.trackGetByName({ name: trackName, makeVisible: true }).track.trackScrollToView();
- Then I get the message:
Track Selected Set failed
Selected track header and track list item does not
match. List Name: ". Header Name: BOOM 1
(Track
-
and the Color Palette opens. (crazy)
-
If I give the command "Track Selected Set" another time it is working and the stored tracks are recalled.
I think it has something to do with the blinking playhead/or selection.
Because after the message "Track Selected Set failed" the selection is canceled/the blinking playhead disapear.
Expected Result
Recalling the stored tracks.
Actual Result
I get the message:
Track Selected Set failed
Selected track header and track list item does not
match. List Name: ". Header Name: BOOM 1
(Track
..and the Color Palette opens.
Workaround
If I give the command "Track Selected Set" another time it is working and the stored tracks are recalled.
I think it has something to do with the blinking playhead/or selection.
Because after the message "Track Selected Set failed" the selection is canceled/the blinking playhead disapear.
Other Notes
Please help me with. I use this recalling track selection really often.
Best regards, Tobi
Links
User UID: 4taGHyPmJmaYid5nO4NScJPOrPr1
Feedback Key: sffeedback:4taGHyPmJmaYid5nO4NScJPOrPr1:-Nb-LedxjhoBwafc2wzs
- Christian Scheuer @chrscheuer2023-08-05 11:32:07.695Z
Hi,
Can you check if you have Tooltips selected in Preferences as shown here?
https://soundflow.org/docs/getting-started/install-soundflow/known-issues
- TTK_Delay @TK_Delay
Hi Christian,
I checked everything but it still doesn't work.
Is there anything else I can do?Christian Scheuer @chrscheuer2023-08-06 19:34:47.380Z
Do you have the track list showing when you're attempting this?
- TTK_Delay @TK_Delay
I tried with track list and without.. It`s the same behavior.
Why does the command trigger the color palette window?Christian Scheuer @chrscheuer2023-08-07 09:25:20.150Z
I'm not sure. Would you be able to make a screen recording of this behavior?
- TTK_Delay @TK_Delay
Yes of course. Where can I upload the video? (4 MB)
- In reply tochrscheuer⬆:TTK_Delay @TK_Delay
This is the macro I want to trigger:
And the result:
Christian Scheuer @chrscheuer2023-08-07 11:24:30.721Z
Could you try:
- Make the track list wider so that full track names are displayed
- Restart SoundFlow
- try again
- TTK_Delay @TK_Delay
Thats it!
Thank you so much! You are great!Christian Scheuer @chrscheuer2023-08-07 11:30:32.843Z
Awesome :)