toggle quoted messageShow quoted text
BOOL didSelect = [[NSWorkspace sharedWorkspace] selectFile:filePath
On Nov 8, 2017, at 1:54 PM, Gerriet M. Denkmann <g@...> wrote:
I want to have a Finder window with “/a/hugeFolder/someThin"g selected.
[ NSWorkspace.sharedWorkspace openFile: @“/a/hugeFolder/someThing” withApplication: @“Finder" ]
results in an AlertPanel: “There is no application to open “someThing””.
But I do *not* want to open “someThing”, I just want it selected in Finder.
How to do this?
AppleScript comes to mind; but I am terrible bad at AppleScript.