Hello Guest it is March 28, 2024, 06:13:25 AM

Author Topic: Modify A Macro File Throuht A Screen!  (Read 1793 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,501 2,501
    • View Profile
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!