Hello Guest it is November 07, 2024, 06:08:46 AM

Author Topic: Modify A Macro File Throuht A Screen!  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

Modify A Macro File Throuht A Screen!
« on: March 11, 2015, 04:27:12 AM »
Hello guys

I want to ask you if there are someone to tell me how i can change an integer on a macro file from the main screen?
For ex. i have on an macro file an integer for time (sleep 1000), in all my work project this integer is the same time, now i want to change it every time i want to enter Mach3 without to open it from the main menu, i want to change it through the main screen.

Can someone help me please?

Thanks so much!

Offline TPS

*
  •  2,528 2,528
Re: Modify A Macro File Throuht A Screen!
« Reply #1 on: March 11, 2015, 06:21:39 AM »
just put a digital inputbax in your main screen,
format it to only 4 digits , for example OEMDRO 2000.

in the macro you can read the dro with

timer=GetOEMdro(2000)
sleep(timer)

Thomas
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Modify A Macro File Throuht A Screen!
« Reply #2 on: March 11, 2015, 06:30:53 AM »
What a nice reply!! Thanks so much brother!!
So amazing this program!