Hello
I have an old script in which some tasks were done by embedded ASObjC instructions and a call to Shane’s “Metadata Lib” library.
I decided to replace many instructions by cals to Shane’s FileManagerLib.
One instruction is :
set {theResult, theName} to (aURL's getResourceValue:(specifier) forKey:(current application's NSURLLocalizedNameKey) |error|:(missing value))
When I ask to compile I get a warning saying :
« specifier » est ambigu car importé de script “Metadata Lib” et script “FileManagerLib”.
The instruction is not calling one of the two libraries, it’s a basic ASObjC one.
Of course I tried to replace specifier by reference but this late word is automatically replaced by specifier when I ask to compile.
What may be done to get rid of that ?
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) samedi 6 juillet 2019 20:55:17