Opening File in Finder

Gerriet M. Denkmann

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.


Join to automatically receive all group messages.