FileManager extensions

More
20 Nov 2020 00:13 #189847 by cmorley
Replied by cmorley on topic FileManager extensions
Try this:
PROGRAM_EXTENSION = .nc,.tap G-Code File

It currently requires a combox label added with a space between it and the extensions

Chris

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:22 #189848 by phillc54
Replied by phillc54 on topic FileManager extensions
I tried:
PROGRAM_EXTENSION       = .nc,.tap GCode

And got:
Warning: Spoiler!

And the .tap and .nc files don't show.

I also tried G-Code File and that had the same result.
Attachments:

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:25 #189849 by cmorley
Replied by cmorley on topic FileManager extensions
Gcode (*.ngc) and All (*) are always added. Is that problematic?

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:29 #189850 by phillc54
Replied by phillc54 on topic FileManager extensions
If I click on GCode then the .tap and .nc files show but the .ngc ones don't.

If I add .ngc file to the filter then click GCode .ngc .tap and .nc files all show.

It would be nice if the files in the filter could be set as the default and also if the extensions were shown in the ComboBox.

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:34 #189851 by cmorley
Replied by cmorley on topic FileManager extensions
This will work (aside from the default entry is still there)
PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)

I'll have to rethink the always added default entries.

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:38 - 20 Nov 2020 00:39 #189852 by phillc54
Replied by phillc54 on topic FileManager extensions

This will work (aside from the default entry is still there)
PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)

Of course it would, I should have seen that...:blush:


I'll have to rethink the always added default entries.

How about a magic comment, say 'default' at the end of the PROGRAM_EXTENSION if you want that to be the default.
Last edit: 20 Nov 2020 00:39 by phillc54.

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:40 #189853 by cmorley
Replied by cmorley on topic FileManager extensions
I think I'll add a default only if the INI entry is missing - otherwise you won;t see any files.

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:48 #189855 by phillc54
Replied by phillc54 on topic FileManager extensions

I think I'll add a default only if the INI entry is missing - otherwise you won;t see any files.

That sounds OK, the All Files is a handy backstop though.

This is what Axis does:
Warning: Spoiler!
Attachments:

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 00:58 #189856 by cmorley
Replied by cmorley on topic FileManager extensions
yes having 'all' always would work too.

Please Log in or Create an account to join the conversation.

More
20 Nov 2020 05:45 #189866 by cmorley
Replied by cmorley on topic FileManager extensions
Ok I tried again :)

only all(*) is always added now.

Chris

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.130 seconds
Powered by Kunena Forum