How to get NSImage.Name.cautionName
in AppleScriptObj. I tried:
set cautionName to aN of NSImage.Name
but that does not work.
How to get NSImage.Name.cautionName
in AppleScriptObj. I tried:
set cautionName to aN of NSImage.Name
but that does not work.
Copyright © 2021 Jogjafile Inc.
It looks like what you are after is
NSImageNameCaution, which is a constant for the name of a system image. Your example (and link) appear to be usingSwift, changing the documentation language toObjective-Cgives you the proper term.AppleScriptObjC uses names from the Objective-C documentation (it also does not use dot notation), so it would be something like: