Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: woffler on October 04, 2008, 03:43:47 PM

Title: tool change macro syntax error need some help
Post by: woffler on October 04, 2008, 03:43:47 PM
tool=get Selected tool ()'load the tool numberSet Currrent tool() 'Set the current toolcode "G43h" & Tool "Set the height" Complete=Question("change to tool number" & tool )

this is what it is i get an error in the get line ???
Title: Re: tool change macro syntax error need some help
Post by: poppabear on October 04, 2008, 05:14:54 PM
because there is NO get Selected Tool, it is all crammed together like below:

OldTool = GetCurrentTool()                         
NewTool = GetSelectedTool()                      

scott
Title: Re: tool change macro syntax error need some help
Post by: woffler on October 04, 2008, 05:39:55 PM
thanks ill give it a go