Macro file : how to reference a default function whose name I gave to a macro?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Macro file : how to reference a default function whose name I gave to a macro?

Post by Ralf_Reddings »

The default search function parent-name: is not ideal for me, so I decided to rename it to parent: via a macro:

Code: Select all

"parent","parent-name:"
Is it possible to also assign a macro to the now over written default function parent:? Some time ago I remember reading a solution void gave which was the following, but it does not work. a search consisting of "no-child:" shows nothing, it should show drives. ( I am on the latest beta):

Code: Select all

"parent","parent-name:"
"no-child","""parent:"""
I know alternative names exist for this search function:

Code: Select all

in-folder:
no-sub-folders:
But this is an issue I have been coming across some time now for creating macros/repurposing function names, and have not managed to find a solution.

Cheers.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Macro file : how to reference a default function whose name I gave to a macro?

Post by void »

Please try the :: prefix.

The :: prefix will bypass macro names and only reference function names.

::parent:
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Re: Macro file : how to reference a default function whose name I gave to a macro?

Post by Ralf_Reddings »

Brilliant! Thank you.
Post Reply