- Posts: 5711
- Thank you received: 2100
FileManager extensions
- phillc54
- Offline
- Platinum Member
-
Less
More
5 years 11 months ago #189637
by phillc54
FileManager extensions was created by phillc54
In my ini file I have:
Printing INFO.PROGAM_FILTERS_EXTENSIONS shows:
When using FileManager to open files the extensions are used individually, Is it possible to use them simultaneously, with the exception of "all files"
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"
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
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 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
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
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.
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.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
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.
And yes it does look like the new button doesn't clear the text as it should - i'll fix that.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
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?
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?
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
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.
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.126 seconds