Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 09:48:30 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Run a script when Mach loads
Pages: 1   Go Down
Print
Author Topic: Run a script when Mach loads  (Read 540 times)
0 Members and 2 Guests are viewing this topic.
ftec
Active Member

Offline Offline

Posts: 74


View Profile
« on: May 12, 2011, 08:18:24 AM »

Is it possible and how to run a macro from file when Mach loads?

Thanks,
/Risto
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: May 12, 2011, 10:30:41 AM »

Not sure, but you can add it to the initialization string and run it the first time you press reset.
Logged

ftec
Active Member

Offline Offline

Posts: 74


View Profile
« Reply #2 on: May 12, 2011, 10:51:43 AM »

Wonderful workaround, thanks Gerry!

/Risto
Logged
DaveCVI
V4 Screen Contributor

Offline Offline

Posts: 532



View Profile WWW
« Reply #3 on: May 12, 2011, 12:12:53 PM »

HI,
If you are using a recent mach release, there is a script that is loaded (if it is present) whenever mach loads a screen set.

For more info get the programmer's ref manual from here
http://machsupport.com/docs/Mach3_V3.x_Macro_Prog_Ref.pdf

and look up ScreenSetLoad.

Dave
Logged

Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
ftec
Active Member

Offline Offline

Posts: 74


View Profile
« Reply #4 on: May 12, 2011, 01:03:25 PM »

Could be what I'm looking after, Thanks Dave!

/Risto
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!