Wizard toolpath solutions?

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Re: Wizard toolpath solutions?

Postby dezsoe » Fri Dec 01, 2017 2:54 pm

No, that trick makes exactly what you want. It rejects any keys that are not digits, controls or the decimal point.
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Wizard toolpath solutions?

Postby Dan911 » Sat Dec 02, 2017 12:24 am

Vmax549 wrote:Balazs that trick does format teh data you retreive from teh form. Can you limit what teh form will take when you enter teh value.

Say your input requires 12.345 ( XX.XXX) and you mistakenly enter xx.cat . Can you format teh field to reject teh NON numeric part ??

(;-) TP


Hi Terry,

The code Balazs posted won't allow any input but 0-9 and one decimal. For retrieving it will be of no help, you would need a Regex script to remove.
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Wizard toolpath solutions?

Postby Dan911 » Sun Dec 03, 2017 12:01 am

I guess the ole saying is true my Dad use to say to me " I forgot what you didn't learn yet"
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Previous

Return to Macros

Who is online

Users browsing this forum: No registered users and 4 guests