Chuck
December 13, 2025, 9:59pm
1
Evaluator provides the Resolve function to determine the path for an alias. I'm interested in going the opposite way, specifically with Evaluator if at all possible.
USE CASE: I have a button whose label is set to a truncated version of the active tab path.
I would like to include alias in the tooltip, if one exists for the active tab path.
Any ideas?
lxp
December 14, 2025, 12:22am
2
Tricky. I am afraid the Evaluator can't enumerate aliases. A function like Aliasify or a flag for Resolve() would definitely be a useful
1 Like
Chuck
December 14, 2025, 2:27pm
3
I agree with this feature request!
1 Like
Jon
December 17, 2025, 7:36am
4
We've added that for the next beta.
3 Likes
Chuck
December 18, 2025, 2:15am
5
Trying to use Resolve with the "a" modifier ion paths that have an alias. I am not getting anywhere.
I've tried:
Output(Resolve("{sourcepath}",a);
and...
Output(Resolve("{sourcepath}","a");
I get this popup:
What am I missing?
David
December 18, 2025, 2:50am
6
I haven't installed the new beta yet as of tonight.
But I think you had it right in the first post.
Output( source ) ; works from a button as does Output( Resolve( source ));
Chuck
December 18, 2025, 2:57am
7
I am testing it via a button and getting the result I posted earlier.
Jon
December 18, 2025, 2:59am
8
If you want to run raw evaluator code from a button you need to change the type of the function to Evaluator Function.
Use source rather than {sourcepath} in the evaluator.
Chuck
December 18, 2025, 3:24am
10
12/17/2025 9:14 PM Evaluator: Error at line 1, position 23 [Evaluator Function: New Button]
Unknown value (6): a
Output(Resolve(source,a);
12/17/2025 9:15 PM Evaluator: Error at line 1, position 25 [Evaluator Function: New Button]
Unknown value (6): a
Output(Resolve({source},a);
12/17/2025 9:16 PM Evaluator: Error at line 1, position 27 [Evaluator Function: New Button]
Unknown value (6): a
Output(Resolve("{source}",a);
12/17/2025 9:16 PM Evaluator: Error at line 1, position 25 [Evaluator Function: New Button]
Unknown value (6): a
Output(Resolve("source",a);
12/17/2025 9:19 PM Evaluator: Error [Evaluator Function: New Button]
Scope mismatch (2)
Output(Resolve(source,"a");
12/17/2025 9:20 PM Evaluator: Error [Evaluator Function: New Button]
Scope mismatch (2)
Output(Resolve("source","a");
12/17/2025 9:20 PM Evaluator: Error [Evaluator Function: New Button]
Scope mismatch (2)
Output(Resolve("{source}","a");
12/17/2025 9:21 PM Evaluator: Error [Evaluator Function: New Button]
Scope mismatch (2)
Output(Resolve({source},"a");
David
December 18, 2025, 3:50am
11
It looks like you are missing the closing parenthesis for Output() in all of these.
I think that's what Scope mismatch is .
Chuck
December 18, 2025, 3:58am
12
Dang it. Thanks for pointing that out. I will validate tomorrow.
a815
December 18, 2025, 4:01am
13
I think you need to study the variable types of the evaluator. The parameter for Resolve() is a 'path' type path and an optional 'string' type flags.
source is already of type 'path', no quotes needed.
Output(TypeOf(source))
// output:path
Resolve(
path:path,
[string:flags]
)
→ path
Chuck
December 18, 2025, 11:59am
15
Thanks to everyone for the assistance. Despite reviewing the documentation and searching these forums for examples, I missed at least four things:
used {sourcepath} instead of source
used a instead of "a"
missed a space after source,
missed the closed paren ) for Output
In other words, I got almost nothing right.
Having corrected all that...
... I am getting interesting results that don't track with expectations. Here are a few examples:
Folder
Assigned Alias
Expected Returned Alias
Actual Returned Alias
C:\users\Chuck\Documents
Docs
/Docs
/Default
C:\Users\Chuck\Documents\ Work
Work
/Work
/Default/_Work
H:\Library - Software
Soft
/Soft
H:\Library - Software
C:\Users\Chuck\Pictures
Pics
/Pics
/hostpictures
H:\Library - Personal\School\Graduate
School
/School
H:\Library - Personal\School\Graduate
What am I missing?
lxp
December 18, 2025, 12:22pm
16
It appears that only built-in aliases are supported.
a815
December 18, 2025, 12:26pm
17
Not needed
and also didn’t look for the shortest alias.
Leo
December 18, 2025, 12:35pm
18
It should match the deepest alias, I think. Not the shortest.
a815
December 18, 2025, 12:49pm
19
My bad, it's already the deepest .
Chuck
December 18, 2025, 1:31pm
20
The built-in alias limitation is unfortunate. Request Resolve() be expanded to include user-created aliases.
Jon
January 12, 2026, 1:31am
21
User-created aliases will be supported in the next update.
1 Like