Hello Guest it is April 29, 2024, 03:58:55 AM

Author Topic: FileOpen Dialog And Loading G-Code?  (Read 3172 times)

0 Members and 1 Guest are viewing this topic.

FileOpen Dialog And Loading G-Code?
« on: March 16, 2009, 02:29:02 PM »
How can I create a macro that will display a FileOpen dialog to open a G-Code file, then load the file?  The GetOpenFilename method that I use in Excel doesn't seem to work in Mach - gets a syntax error.  I want to create a dupliciate of the Open G-Code File button with some extra functionality.

Regards,
Ray L.
Regards,
Ray L.

Offline Greolt

*
  •  956 956
    • View Profile
Re: FileOpen Dialog And Loading G-Code?
« Reply #1 on: March 16, 2009, 04:59:27 PM »
Ray

Get familiar with this page,  http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_Buttons

Also looking at other screens will reveal OEM codes that are more obscure sometimes.

OEM button 216 is the one you are looking for.

Greg
Re: FileOpen Dialog And Loading G-Code?
« Reply #2 on: March 16, 2009, 09:35:11 PM »
Ray

Get familiar with this page,  http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_Buttons

Also looking at other screens will reveal OEM codes that are more obscure sometimes.

OEM button 216 is the one you are looking for.

Greg

Greg,

Yup....  Sometimes, you look at the list, and just don't see the one you're looking for.  Then you find it, or someone points it out to you, and you realize what a dope you are.....

Thanks!

Regards,
Ray L.
Regards,
Ray L.