FileManager extensions

More
5 years 11 months ago #189637 by phillc54
FileManager extensions was created by phillc54
In my ini file I have:
Code:
[FILTER] PROGRAM_EXTENSION = .nc,.tap remove z axis stuff

Printing INFO.PROGAM_FILTERS_EXTENSIONS shows:
Code:
['*.ngc', '*.nc', '*.tap', '*']

When using FileManager to open files the extensions are used individually, Is it possible to use them simultaneously, with the exception of "all files"
More
5 years 11 months ago #189638 by cmorley
Replied by cmorley on topic FileManager extensions
This is something i have been just working on.
The file dialog works as you want so it is possible.

it wasn't clear to ma at the time how to apply multiple filters simultaneously.

So short answer no but hopefully in the soonish future.

Chris
The following user(s) said Thank You: phillc54
More
5 years 11 months ago #189639 by phillc54
Replied by phillc54 on topic FileManager extensions
Great, thanks Chris.

Another thing, when I go to Edit Mode the New, Open and Save buttons don't appear to do anything. I guess I am missing something.
More
5 years 11 months ago #189640 by cmorley
Replied by cmorley on topic FileManager extensions
Do you have the 'file dialog' option turned on in the screenoption widget?
And yes it does look like the new button doesn't clear the text as it should - i'll fix that.
More
5 years 11 months ago #189641 by phillc54
Replied by phillc54 on topic FileManager extensions
Oops. :blush:

Last question today. When a file is opened and run through a filter then a temp file is created and opened by LinuxCNC. Is the original filename available somewhere?
More
5 years 11 months ago #189642 by cmorley
Replied by cmorley on topic FileManager extensions
try ACTION.prefilter_path

It should hold the last loaded file name as a string.
The following user(s) said Thank You: phillc54
Moderators: cmorley
Time to create page: 0.726 seconds
Powered by Kunena Forum