Hi,
Just wanted to input a scenario that might need be addressed.
When creating a one letter macro, for example: e: , the macro will override the drive path handler, effectively preventing specifying path that starts with e:\ .
Encountered after having forgotten that I created the macro and could not figure out what was wrong with everything..
Maybe macros should be limited to two letters minimum ?
Avi
One letter macro overrides drive letter path queries
Re: One letter macro overrides drive letter path queries
Macro names are case-sensitive, so if you defined e: as a macro, you can still use E: to specify the files on your E:-drive.
Another alternative: use "e:" (surrounded by "" )
Another alternative: use "e:" (surrounded by "" )
Re: One letter macro overrides drive letter path queries
That's a good point! Never realized that the macros were case sensitive.
The problem is when trying to be "wise" you might mess things up
In my case i was trying to shorten the ext: function into a shorter e: , because i use that function most of the time and e x t are very far from each other. unfortunately it does seem that everything doesn't allow a macro to accept further arguments... or does it ? ( in my case i wanted e:pdf;xlsx to apply ext:pdf;xlsx )
I do wonder if it will be a useful feature if everything could provide a breakdown of the query to it's component in a tooltip or status bar info.
E.g, querying:
ext:pdf;xlsx invoice
would provide a statusbar info of something like "Searching for <extensions pdf OR xlsx> and filename contains invoice.
This could help figure out unexpectednesses like in my case, for the query:
e:pdf;xlsx
would provide something like "Executing macro e (Searching for extensions [none]) and filename contains "pdf;xlsx" which would highlight the problem
This could be useful for other cases for example where some options are preselected and forgotten about and the breakdown would highlight it immediately .
Something like:
ext:pdf;xlsx invoice
Provides: "Searching for <extensions pdf OR xlsx> and pathname contains invoice as whole word."
etc, etc..
IMO it can be useful for new users as well as experienced as we all make mistakes but it is probably a big feature to implement...
Re: One letter macro overrides drive letter path queries
Still does not solve the problem of using macros for "aliasing" commands with argument support..
Am I wrong here or is it possible in some way ?
Am I wrong here or is it possible in some way ?
Re: One letter macro overrides drive letter path queries
Ah, missed that in your earlier post somehow.
I wouldn't call it wrong, but it is certainly possible:
In the Search field, enter
ext:myquery:
In the Macro filed, enter
x<myquery>
("myquery" could be (almost) any text you like; I often use %1 )
Re: One letter macro overrides drive letter path queries
Amazing !
It's a good measure of a tool if you learn something new even after so many years of usage.
Next time: Read the tooltips much more carefully
It's a good measure of a tool if you learn something new even after so many years of usage.
Next time: Read the tooltips much more carefully