Display currently open file name/path

If you have a question about the software please ask it here.

Display currently open file name/path

Postby merrick » Wed Aug 23, 2017 2:05 pm

Is there a field name that could be used to display currently open g-code file name and path? I'm aware of the function call to get the name but I hope there's a simpler way. Thanks.
merrick
 
Posts: 32
Joined: Fri Aug 18, 2017 8:20 pm

Re: Display currently open file name/path

Postby dezsoe » Wed Aug 23, 2017 2:24 pm

Field 895 contains the opened file name, but it is truncated if the path is too long. You can use exec.mainform.filenametoload to get file name in a macro.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Display currently open file name/path

Postby merrick » Wed Aug 23, 2017 4:10 pm

Thanks, that will do.
merrick
 
Posts: 32
Joined: Fri Aug 18, 2017 8:20 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 12 guests