I’ve found what seems to be a reproducible bug with the find original of
command in the FileManagerLib script library. It goes like this:
- Create an alias for
this is a test.scpt
in Finder - Rename the original file to
this-is-a-test.scpt
- Run
find original of
on the alias (withreturning file
or not) - Returns:
this is a test.scpt
- Open the alias in Finder (it works)
- Run
find original of
again - Returns:
this-is-a-test.scpt
In other words, find original of
returns an outdated path until the alias is executed.
Is this a bug or just a limitation of aliases?
v2.3.5 / MacOS 12.4