Page 1 of 1

Macro To Change Sub Page

Posted: Fri Mar 30, 2012 1:24 pm
by GeoffGooch
Is there a way to write an M button to change sub pages?

Thanks,
Geoff Gooch

Re: Macro To Change Sub Page

Posted: Sat Mar 31, 2012 6:33 am
by MickCrozier
The long answer:
...

No

Re: Macro To Change Sub Page

Posted: Mon Apr 02, 2012 5:58 pm
by BrianEvans
UI macros work for this,
but the catch is you need to use a blank cue list to space out the timing on the command line,
and the command line must be clear when it runs.

UI macros simulate button presses, so with the right combination, there isn't much you can't do.

The problem is the timing which is why you must use cues with follows for this.
The engine processes so quickly, the function button pages and such won't update before your command is sent.

Here is an example:
Cue 1 - HC.UIMacro('{look}')
Follow 0.5
Cue 2 - HC.UIMacro('{m1}')
or
HC.UIMacro('{m2}')
or
HC.UIMacro('{m3}')
etc.

Do a search in Palette Help under "User interface Macros" for more info.

Re: Macro To Change Sub Page

Posted: Fri Apr 06, 2012 8:23 pm
by MickCrozier
I stand corrected
HC.UIMacro('ClearCommandLine') - could be annoying though

Re: Macro To Change Sub Page

Posted: Sat Apr 07, 2012 3:04 am
by BrianEvans
Yeah, UI macros have their downside.
But if the console is in a mode to accept input from the user on the command line,
the UI macros will always work.
As you said, they are absolutely depending on the command line to be clear before working properly,
and the user sitting in an approprite view. (Live, Blind, etc.)

Re: Macro To Change Sub Page

Posted: Thu Apr 19, 2012 5:08 am
by jpearce
A macro command (like BumpLook or SerialWrite) for look page changes that doesn't involve a cue list or the button down/button up bodge would be immensely useful. The other bodges rely too much on the user knowing what they are doing, which in a community or school environment cannot always be relied upon.

Is there any way this could be added for a future release?