Hi all,
in the wiki under code for "Macropump for Galesburg Mill" i found some code containing the function I looked for:
GetPage() responds the current screen number. My macro now is like that:
Rem M90027
Rem Toggle Sceen
Dim sc as integer
sc = GetPage()
Select case sc
case = 1
DoOEMButton(2)
Case = 2
DoOEMButton(3)
Case = 3
DoOEMButton(12)
case = 12
DoOEMButton(1)
end select
It toggles between screens 1, 2, 3, and 12 (12 is a custom screen for tool alignment).
Thanks for help.
The second question is still open: Any possibility to change the Shuttle plugin for more macros ?
Best regards
Holger