Toggle bypassing fade times
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
Toggle bypassing fade times
aaand one more - is there a way to toggle bypassing fade times? I find that in plotting situations, this can be mighty helpful (I remember it from one of those ancient LX Control Boards that are run with a television monitor - a latching switch that enabled or disabled the use of fade times)...
Of course, an access to this via OSC would be cool as well .
Of course, an access to this via OSC would be cool as well .
Cheers,
Freddy
Freddy
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
Thanks so much, with this little AppleScript, I can use OSCulator now to toggle, even if LXConsole is not in the foreground (i.e. when working in QLab):
Code: Select all
set origAppl to (path to frontmost application) as text
tell application "LXConsole" to activate
tell application "System Events"
tell process "LXConsole"
keystroke "k" using {command down, option down}
end tell
end tell
tell application origAppl to activate
Cheers,
Freddy
Freddy
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
Could it be that in the current latest build, the shortcut Command Option K does not successfully toggle Quick mode anymore when the Cue window is in focus? It seems the menu item is still there, and you can see a brief flicker of blue when the shortcut activates the underlying menu item, but the menu item does not get checked/unchecked anymore.
Can this work application wide, and not just in the Live Controls window?
In fact, ideally, it would be great to have some command line keyword to activate and deactivate QuickMode - that way, it is not just a "dumb" remote toggle switch (without knowing what it is set to at the time), but instead one could purposefully activate or deactivate (instead of just toggling).
Can this work application wide, and not just in the Live Controls window?
In fact, ideally, it would be great to have some command line keyword to activate and deactivate QuickMode - that way, it is not just a "dumb" remote toggle switch (without knowing what it is set to at the time), but instead one could purposefully activate or deactivate (instead of just toggling).
Cheers,
Freddy
Freddy
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
Sorry, with the recent crashes this might have been overlooked, and since I am heading into a complex tech session on the weekend, I thought I'd check in on this one... would it be possible to have the Command Option K work from anywhere in the LXConsole application, or ideally even from the command line (so that I can successfully toggle it via remote, i.e. MIDI or AppleScript)?
That would be ace !
That would be ace !
Cheers,
Freddy
Freddy
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
First of all, the key code works again, thanks for that! With the new command line toggle - does that mean that the same command switches it on or off? or are there two separate commands, one for switching Quick Mode ON, and one for switching it OFF? This would be a great improvement, as currently I have to GUI-script my way through the menu-jungle to check whether or not the item is "checked" or not .
Having said that, I have solved it with that work-around, so if it is too hard to implement, I can work with this solution.
The following below is triggering the toggle command ONLY when Quick Mode is NOT yet active (5th last row) :
Having said that, I have solved it with that work-around, so if it is too hard to implement, I can work with this solution.
The following below is triggering the toggle command ONLY when Quick Mode is NOT yet active (5th last row) :
Code: Select all
set origAppl to (path to frontmost application) as text
tell application "LXConsole" to activate
tell application "System Events"
tell process "LXConsole"
tell menu bar 1
tell menu bar item "Cue"
tell menu "Cue"
tell menu item "Live"
tell menu "Live"
tell menu item "Quick Mode"
set qM_enabled to value of attribute "AXEnabled"
end tell
end tell
end tell
end tell
end tell
end tell
end tell
if not qM_enabled then
keystroke "l" using {option down, command down}
delay 0.1
end if
tell process "LXConsole"
tell menu bar 1
tell menu bar item "Cue"
tell menu "Cue"
tell menu item "Live"
tell menu "Live"
tell menu item "Quick Mode"
set qM_selectedText to value of attribute "AXMenuItemMarkChar"
try
if qM_selectedText is missing value then
set qM_selected to false
else
set qM_selected to true
end if
on error
set qM_selected to false
end try
end tell
end tell
end tell
end tell
end tell
end tell
end tell
if not qM_selected then
keystroke "k" using {command down, option down}
end if
end tell
tell application origAppl to activate
Cheers,
Freddy
Freddy
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia
-
- Posts: 211
- Joined: Sat Jun 01, 2013 8:23 am
- Location: Adelaide, Australia