Hello Guest it is March 29, 2024, 02:20:04 AM

Author Topic: Stop File & M1000 in one button...  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

Stop File & M1000 in one button...
« on: May 26, 2007, 06:12:03 AM »
Guys,
sorry for interrupting so often the forum for silly questions!
But please be patient as long as i'm a beginer....

Now, i want to stop the file (exaclty as stop button does),
and simultaneously deactivate some outputs.
So i write at the vb script:
code ("Stop File")
code ("M1008")
.
.
.
code("bla bla")

But it doesn't work.

Any ideas?
Re: Stop File & M1000 in one button...
« Reply #1 on: May 27, 2007, 01:48:04 PM »
If you would like to stop the file you will need to do a

DoButton(xx)  'xx = the button number found in the customization Wiki

Also you will have to Pause the file first...

Then it will run the code that you would like to do

Hope that helps
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Stop File & M1000 in one button...
« Reply #2 on: June 01, 2007, 09:01:57 AM »
Thats it!
Thanks Brian!