Page 1 of 1

Getselectedindexinlist()

PostPosted: Sun Apr 22, 2018 2:17 pm
by Dan911
Is it possible to have a Setselectedindexinlist() function?

What I'm trying to achieve is a macro to automatically load my mm profile when Gcode loaded is in mm. I found no way of choosing a profile before Callbutton(190) to load profile.

Thanks,
Dan

Re: Getselectedindexinlist()

PostPosted: Sun Apr 22, 2018 10:13 pm
by cncdrive
Hi Dan,

Yes, we can add that function. Will try to make it for the next test release.

Re: Getselectedindexinlist()

PostPosted: Mon Apr 23, 2018 1:26 am
by Dan911
Thanks Balazs! As always cncdrive support can't be beat.

Hope your recovery is going smoothly.

Dan

Re: Getselectedindexinlist()

PostPosted: Fri Jun 15, 2018 2:44 pm
by Dan911
Thank you Balazs, I'm sure many will find use with this new function.

Dan

Re: Getselectedindexinlist()

PostPosted: Fri Jun 15, 2018 2:45 pm
by cncdrive
Thanks Dan. It took some time, but finally the function is available. :)
Please test it and let me know if you will find any problems with it.