Page 1 of 1

Display currently open file name/path

PostPosted: Wed Aug 23, 2017 2:05 pm
by merrick
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.

Re: Display currently open file name/path

PostPosted: Wed Aug 23, 2017 2:24 pm
by dezsoe
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.

Re: Display currently open file name/path

PostPosted: Wed Aug 23, 2017 4:10 pm
by merrick
Thanks, that will do.