I want to match:
sublime-menu;sublime-commands;sublime-settings;sublime-keymap;sublime-completions;sublime-build
But this does not work:
sublime*>?:\7Utilities\Sublime Text\sublime_text.exe
-----------------
This is for Sublime Text (quite a good Text Editor)
Wildcard in PFA
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Wildcard in PFA
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Wildcard in PFA
perhaps with quotes due to the space?binocular222 wrote:I want to match:
sublime-menu;sublime-commands;sublime-settings;sublime-keymap;sublime-completions;sublime-build
But this does not work:
sublime*>?:\7Utilities\Sublime Text\sublime_text.exe
sublime*>"?:\7Utilities\Sublime Text\sublime_text.exe"
f.ex. this 'sublime*>' works for me fine with the mentioned filespecs:
+|"Open with &Sublime Text" sublime*>"..\SublimeText2\sublime_text.exe";
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Wildcard in PFA
I tried yours but still not work?!
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Wildcard in PFA
Filenames are like:
extracted-snippets.sublime-settings
so shouldn't it be:?
extracted-snippets.sublime-settings
so shouldn't it be:
Code: Select all
*sublime>"?:\7Utilities\Sublime Text\sublime_text.exe"One of my scripts helped you out? Please donate via Paypal
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Wildcard in PFA
binocular222 wrote:I tried yours but still not work?!
Are this the real file names?
sublime-menu
sublime-commands
Would this work for you on all files?
*>"?:\7Utilities\Sublime Text\sublime_text.exe"
or
*>"X:\7Utilities\Sublime Text\sublime_text.exe"
(were you should replace X:\ with your drive)
.
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Wildcard in PFA
This works for all files: *>"?:\7Utilities\Sublime Text\sublime_text.exe"
File extensions are sublime* (not file name)
File extensions are sublime* (not file name)
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: Wildcard in PFA
Ahh, now you provide details!binocular222 wrote:File extensions are sublime* (not file name)
You mean you have file names like:
Context.sublime-menu
Default (Windows).sublime-keymap
Main.sublime-menu
Main_user.sublime-menu
Preferences.sublime-settings
???
That are important details.
For this pattern use *.sublime*
like
+|"Open with Sublime Text" *.sublime*>"..\SublimeText2\sublime_text.exe";
.
-
binocular222
- Posts: 1424
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: Wildcard in PFA
oh, this works, thanks
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
XYplorer Beta Club