Page 1 of 1
P3Speller submatrix index in data file
Posted: 16 Feb 2012, 14:49
by stefan
Is there any indication in a P3Speller generated data file as to what the index of the current menu is at any given time during the session, when using submatrices?
Re: P3Speller submatrix index in data file
Posted: 16 Feb 2012, 14:58
by mellinger
No, there is not. It is however not difficult to add a state variable that contains this information. Just declare such a variable in the constructor of the P3SpellerTask class, and set it to the index of the matrix at the beginning of P3SpellerTask::LoadMenu().
Regards,
Juergen
Re: P3Speller submatrix index in data file
Posted: 04 Apr 2012, 05:04
by mellinger
As of rev. 3901, there is now a SpellerMenu state variable that contains the one-based index of the current menu. It may also be set from outside (e.g., via the AppConnector protocol, or by operator scripting) in order to switch menus.
-Juergen
Re: P3Speller submatrix index in data file
Posted: 05 Apr 2012, 14:35
by stefan
Good news, thanks!