Hello Guest it is June 21, 2024, 06:54:33 AM

Author Topic: Mach3 ShutDown  (Read 18354 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach3 ShutDown
« Reply #10 on: August 24, 2009, 08:57:53 AM »

Cooooool
Re: Mach3 ShutDown
« Reply #11 on: August 24, 2009, 08:33:37 PM »
if you want, you can put more one line to performa a shutdown without confirmation:

SendKeys "%+{F4}"
SendKeys "ENTER"


The "ENTER" will confirm the exit without a user's confirmation. (I always hated the close confirmation)

Using the config of windows its possible remove the title bar and close buttons, using only our close button. Also is possible run on fullscreen hidding all windows plataform. If is interesting for you, i can upload the ConfigFiles and help to do this...

Regards,
Róbson Machado Rosa
Brazil
Re: Mach3 ShutDown
« Reply #12 on: August 25, 2009, 01:27:06 AM »
Personaly, i am interested.
Thanks!
Re: Mach3 ShutDown
« Reply #13 on: September 24, 2009, 02:44:57 AM »
wow!! i'm so sorry...

i did this request a long time ago.. but i forgot to publish.

I dont have the files now, but tomorrow i will post the files. I make a tutorial too. ^^

i see that you are on line now... xD

its good
Re: Mach3 ShutDown
« Reply #14 on: October 01, 2010, 03:06:47 PM »
wow!! i'm so sorry...

i did this request a long time ago.. but i forgot to publish.

I dont have the files now, but tomorrow i will post the files. I make a tutorial too. ^^

i see that you are on line now... xD

its good
please publish the tutorial to do that, thanks
Re: Mach3 ShutDown
« Reply #15 on: June 05, 2011, 05:30:48 PM »
good day
Help with this idea

need to add the button and led
and at the end of the program comes across Mohmand M999, and the script checks razhatie button, and depending on the state gives the go-ahead to turn off or not

Help, I'm in the scripts complete zero
Re: Mach3 ShutDown
« Reply #16 on: July 01, 2011, 07:02:48 AM »
wow!! i'm so sorry...

i did this request a long time ago.. but i forgot to publish.

I dont have the files now, but tomorrow i will post the files. I make a tutorial too. ^^

i see that you are on line now... xD

its good
please publish the tutorial to do that, thanks

I use this Autohotkey script to hide the title bar in Mach. You'll have to install Autohotkey from www.autohotkey.com first.

Run, c:\mach3\mach3.exe /p mach3mill , c:\mach3
Loop
   sleep, 20
   Until winexist("Mach3 CNC")
WinActivate
WinSet, Style, -0x800000
WinMove, , , -4, -4, 1034, 771
Re: Mach3 ShutDown
« Reply #17 on: August 14, 2016, 06:01:39 AM »
You can use this macro to shutdown mach3

'Code Start
SendKeys ("%+{F4}" )    'Alt+F4
Sleep (20)      'Wait 20milliseconds
SendKeys ("Y" )      'Y = Yes
'Code End

make macro file i.e m1011.m1s
the you can either quit mach3 using MDI line or by adding button to your screen.

Re: Mach3 ShutDown
« Reply #18 on: August 14, 2016, 07:24:35 AM »
for windows 7 use

Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%+{F4}"
Sleep (20)      'Wait 20milliseconds
WshShell.SendKeys ("Y" )      'Y = Yes