Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Overloaded on July 19, 2008, 09:10:23 PM

Title: "G-Code" button script
Post by: Overloaded on July 19, 2008, 09:10:23 PM
 :)
R3.041 Mill
The G-Code button has/had script in it,   (the older version had OEM 8 which for some reason I cannot find in the OEM list.)
I was modifying the script in the Ref All button and when I was done, that same script ended up in the G-Code button as well.  Weird
Anyway, could someone give me a screenshot of the script under the G-Code button in Version R3.041 ?
Thanks,
RC
Title: Re: "G-Code" button script
Post by: Hood on July 19, 2008, 09:17:37 PM
HtmlDialog( GetMainFolder()+"Mach3MillGcode.htm" )

Hood
Title: Re: "G-Code" button script
Post by: Hood on July 19, 2008, 09:21:43 PM
Just another wee tip, make up a custom profile and also copy the screenset you are altering to desktop, rename it and then paste it back into the Mach3 folder and load from the view menu. That way when you upgrade versions your profile and any changes you have made to the screen wont be overwritten with the standard ones.
Hood
Title: Re: "G-Code" button script
Post by: Overloaded on July 19, 2008, 09:26:28 PM

Ahhhh....good tip !


All better now............thanks Hood
I am aware of the occasional "Save" not saving , but never had it jump to another button.

In the XLS you posted...was there an "OEM 8" for the old code list ? Or was I looking in the wrong place ?
rc
Title: Re: "G-Code" button script
Post by: Hood on July 19, 2008, 09:28:21 PM
not sure

Title: Re: "G-Code" button script
Post by: Hood on July 19, 2008, 10:17:26 PM
RC I see what you are meaning now, the older screens had the G-Code button set to OEM8 which meant it would open page 8, similar to the MDI button being OEM2 as that is the page number for MDI.
 Now that the G-Code is a html page then it has to look for that instead of going to page 8 of the screenset.

Hood
Title: Re: "G-Code" button script
Post by: budman68 on July 20, 2008, 08:33:54 AM
Just a quick question, why do you guys upgrade to a version that is not a lockdown yet?

I'm just curious as I'm always a wuss when it comes to changing versions-  :)
Title: Re: "G-Code" button script
Post by: Hood on July 20, 2008, 09:38:13 AM
Quite a few reasons, main one I suppose is the later versions always have things that the earlier ones dont, whether they are an advatage depends on the individual. Another reason is for instance screen designer changed a while back,  my screens wont run on early versions as lots of LEDs etc would be missing. Same with the SmoothStepper, it requires a later version than the lockdown version.

Hood
Title: Re: "G-Code" button script
Post by: Overloaded on July 20, 2008, 10:18:00 AM
I like to try to keep up with the latest and greatest. I really like the Feed Rate and Rapid Overrides in the new version.
The proof is on the pudding too, if no one ran the new releases, they wouldn't get de-bugged through practical use and therefore would probably never get locked down.
I love to tinker with this stuff,
RC
Title: Re: "G-Code" button script
Post by: budman68 on July 20, 2008, 11:26:46 AM
I completely understand the reasons for upgrading, I just hate to bork up my system when things are running well.

I guess the best thing to do is set it up on a PC that I don't have my machine on and go through to be sure.

Thanks fellas-
Title: Re: "G-Code" button script
Post by: Overloaded on July 20, 2008, 11:30:23 AM
That's what I do here. Machine is Locked down, simulatre the New R at the desk.
Cool Stuff,
RC
Title: Re: "G-Code" button script
Post by: Hood on July 20, 2008, 12:40:23 PM
You can also keep a backup of your xml, any custom screens and macros and the tooltable. Usually you would just need to reinstall the earlier version over the top but if the worst came to the worst you would have all of your custom files backed up and you could be up and running in seconds. Never had to do that due to a Rev update, well should say SO FAR!!!! ;)

Hood
Title: Re: "G-Code" button script
Post by: budman68 on July 20, 2008, 01:04:01 PM
lol! I'm already there, my friend. I have a weekly backup system that includes all my files for that "just in case" moment!  :D
Title: Re: "G-Code" button script
Post by: Hood on July 20, 2008, 01:10:13 PM
It will [/size]happen, rest assured :D

Hood