Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: patpat on June 01, 2017, 05:51:19 PM
-
Hello All... I want to script a button press (or event) that will set focus on the "Jogging" tab (aka- tabJogging). The goal is to show the content of the tab when this new button is pressed. I'm guessing that it involves using scr.SetProperty('tabJogging',???, ???);
Any ideas on how to do this?
-
Never mind... I figured it out. Here's the answer:
scr.SetProperty("OperationsTabs", "Current Tab", "3")
It's crazy that the int is really a string. >:(
-
Glad you found the solution on yourself.
I do the same on synching different notebooks - changing the page of one nb changes pages in other nbs too.
It's crazy ...
No, it's LUA :D