Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Gareth52 on February 28, 2018, 10:02:26 AM

Title: HiddenScript.m1s contains only code (NO SCRIPT)
Post by: Gareth52 on February 28, 2018, 10:02:26 AM
I have had very little luck over the years with various auto zero scripts I have tried Recently, I saw a very good one, and would really like to use it. I copied and pasted the script using the the VB editor. But when I ran the script. It did not perform correctly.
The author of the script asked me to send him my hiddenscript.m1s file. When he examined it, he found there was only code, but no script. Does anyone have an idea as to what could be wrong with my script?
Thanks,
Gareth
Title: Re: HiddenScript.m1s contains only code (NO SCRIPT)
Post by: linein on April 08, 2018, 10:43:51 PM
I know I have had copy/paste issues. Typically it has been that single and double quotes ( ' & " ) don't paste correctly and I've had to replace them manually. Post your code out here from the vb script editor so others can take a look at what may be wrong.
Title: Re: HiddenScript.m1s contains only code (NO SCRIPT)
Post by: Gareth52 on April 09, 2018, 04:31:43 AM
Thanks for your reply. I have now solved the problem. It wasn't the script, but a silly fault  in my wiring to the probe.