Hi everyone!
with this script template (based on amagalma go to track)
Code:
function main()
(
PreventUIRefresh(1);
lasttrack = GetLastTouchedTrack();
get_action_context(#filename,sectionID,cmdID,mode,resolution,val);
val > 0 ? // Mousewheel up
(
SetOnlyTrackSelected(lasttrack);
Main_OnCommand(40126,0); // Take: Switch items to previous take
)
: // Mousewheel down
(
SetOnlyTrackSelected(lasttrack);
Main_OnCommand(40125,0); // Take: Switch items to next take
);
PreventUIRefresh(-1);
);
defer("main()"); // No undo point creation
you can create a lot of amazing feature for the mousewheel!
switch take
scroll
zoom vert
zoom horizontal
switch color
nudge take volume
increase peak view
move edit cursor
move time selection
etc etc
The problem is :
mouswheel + modifiers provides 7 maximum assignment...
is there a way to change action assigned to a keyboard shortcut (and mousewheel)
I know to exclusive toggle trick but it's not working with mousewheel script in the CAE.
any IDEA?
Thanks a lot!