Hello Guest it is November 20, 2019, 02:11:46 PM

Author Topic: ScreenSet Question  (Read 16572 times)

0 Members and 1 Guest are viewing this topic.

Re: ScreenSet Question
« Reply #30 on: May 12, 2014, 10:30:32 AM »
Ok, that was an easy one, No, I didn't cheat either !  Ya never know who might chime in first.  :)
My first shot missed though, that capital I got me. >:(

Thanks Craig,
Russ
Re: ScreenSet Question
« Reply #31 on: May 12, 2014, 10:37:34 AM »
I believe if you put fro=100 in the load script and then later create a keyboard action and associate that key to the fro variable you would have a hot key function.
so in reality I believe we could use the keyboard to step up  or down by 10% the fro value.
Now that I understand the signal script routine it should work and function keys can have uses like Terry desires.
Re: ScreenSet Question
« Reply #32 on: May 12, 2014, 10:40:55 AM »
you still did good Russ, I like it

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #33 on: May 12, 2014, 10:49:04 AM »
OK so the  "local inst" LINE has to preceed any call ??

Which one of yous guys was correct ??   (;-)

Thanks

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #34 on: May 12, 2014, 01:06:11 PM »
OK here is a new one for ya.

I want to open close the tool table at teh tab. I see you can have open and exit scripts. What is the call to Open the tool table and close the tool table.

Same for Fixture table(;-)

AND yes I did look in the available docs and did not find mention of such. I did find button functions but that is not usable in the script OR is it????

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #35 on: May 12, 2014, 03:13:16 PM »
OK using the TAB to runscripts on open and exit. Houston we HAVE a problem. WHEN you start MACH4 it cycles all the TAB code and will do the function of the tab. Whether you want it or not. Kinda like the Mach3 run macro on load deal.

Kinda makes that tab function(open and exit scripts) useless.

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #36 on: May 12, 2014, 03:22:53 PM »
Another need is to be able to GOTO another page from inside a tab open script. Say I have a program that runs from the TAB open script. WHen you end the program I would llike it to PUSH control back to the main page instead of it staying on the same TAB page.

Something like the GOTO page# function in MAch3

(;-) TP
Re: ScreenSet Question
« Reply #37 on: May 12, 2014, 03:29:06 PM »
    rc = scr.SetProperty('MainTabs', 'Current Tab', '1');

already there, just change the tab number and the first field name to what the tabs group is named
« Last Edit: May 12, 2014, 03:32:53 PM by Ya-Nvr-No »

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #38 on: May 12, 2014, 04:41:51 PM »
WELL THAT WORKS(;-) not exactly as I planned but it still works.  When t script runs it open the program them imidiatly goes to the next screen BUT it does leave teh program window open so that works.

I would have THOUGHT the program running would hold open the tab and then flinish the script AFTER it closed. AND it may be able to but but not with MY programming skills.

NOW how do I stop Mach4 from running all the TAB scripts when MACH4 opens and CLOSES for that matter  ??

Thanks Craig, (;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: ScreenSet Question
« Reply #39 on: May 12, 2014, 04:47:17 PM »
Just so it makes more sense here is what I am doing. From inside Mach4 I open an instance of Mill Wizard create the program and exit. You can also do it with Mach4 running Gcode.