FileManager extensions
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
18 Nov 2020 02:28 #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"
[FILTER]
PROGRAM_EXTENSION = .nc,.tap remove z axis stuff
Printing INFO.PROGAM_FILTERS_EXTENSIONS shows:
['*.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"
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
18 Nov 2020 02:36 #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
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
18 Nov 2020 02:41 #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.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
18 Nov 2020 02:53 #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.
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
18 Nov 2020 03:00 #189641
by phillc54
Replied by phillc54 on topic FileManager extensions
Oops.
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?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
18 Nov 2020 03:12 #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
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
18 Nov 2020 03:15 #189643
by phillc54
Replied by phillc54 on topic FileManager extensions
Thank you, that works a treat.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
19 Nov 2020 07:05 #189760
by cmorley
Replied by cmorley on topic FileManager extensions
ok I pushed an upgrade so extensions work properly in file_manager
Chris
Chris
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
19 Nov 2020 07:55 #189762
by phillc54
Replied by phillc54 on topic FileManager extensions
Great, thanks again Chris.
Please Log in or Create an account to join the conversation.
- phillc54
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
20 Nov 2020 00:03 #189845
by phillc54
Replied by phillc54 on topic FileManager extensions
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.088 seconds