And here is a script which checks the Inserts/Strip Tab State and if you worked with Strip it switches to Insert Tab automatically.
;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Select an Insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
!1:: ; Alt+1 hotkey.
K=120
Y:=K ; (114)
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!2:: ; Alt+2 hotkey.
Y:=K+42
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!3:: ; Alt+3 hotkey.
Y:=K+42*2
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!4:: ; Alt+4 hotkey.
Y:=K+42*3
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!5:: ; Alt+5 hotkey.
Y:=K+42*4
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!6:: ; Alt+6 hotkey.
Y:=K+42*5
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!7:: ; Alt+7 hotkey.
Y:=K+42*6
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
!8:: ; Alt+8 hotkey.
Y:=K+42*7
Sleep 50
SendEvent {Alt up}
GoSub, SelIns
return
SelIns:
IfWinExist, Channel Settings
WinActivate
else
{
SendEvent e
WinWaitActive, Channel Settings
}
PixelGetColor, InsColor, 84,86, [RGB] ;Check the Tab Inserts/Strip
If InsColor <> 0x2F3840 ;if Strip is active
{
Click 84,86 ;Open Inserts
Sleep 100
}
MouseMove 123,Y ;Select an Insert , (x=187)
Sleep 50
;MouseMove 194,Y
;Sleep 100
Click
Return
IfWinExist
Regards.