> Is it not enough to use NSWorkspace’s showSearchResultsForQueryString?
>
I need to see what queries this allows.
(IIRC there were two different ways to specifying search queries)
But this looks perfect! I didn't realize this was available on NSWorkspace.
Thank you so much.
I'll report back whe
This might be an actual good application of launching a compiled AppleScript or
even an Automator action.
I seem to remember making terminal applications in Xcode. I wonder if you
could do that with an AS-OC script and then just call the application within
your bundle to
Activate the Finder
Is it reasonable to use an AppleScript to do it?
Back in the olden days, I used AS-OC to automate Illustrator, Photoshop, the
Finder, TextEdit and ImageOptim all in one compiled application.
AS-OC is AppleScript-Objective-C
Cheers,
Alex Zavatone
> On Dec 13, 2022, at 2:22 PM, Rob Petrovec via
> On Dec 13, 2022, at 14:11, Torsten Curdt via Cocoa-dev
> wrote:
>
> I would like to open a Finder window with a pre-filled search filter and
> search results - but I just cannot find a good way to do it. I tried to
> find a way through the Scripting Bridge but it seems like this is not
> expo
Thanks for the help, Rob
Is it always going to be the same search? If so, you could create a Saved
> Search in the Finder and include it with your app. Then when you want to
> bring up the search you can open the Saved Search bundle and it will open
> in the Finder. Hope that helps.
>
I was ho
Is it always going to be the same search? If so, you could create a Saved
Search in the Finder and include it with your app. Then when you want to bring
up the search you can open the Saved Search bundle and it will open in the
Finder. Hope that helps.
—Rob
> On Dec 13, 2022, at 1:10 PM, T
I would like to open a Finder window with a pre-filled search filter and
search results - but I just cannot find a good way to do it. I tried to
find a way through the Scripting Bridge but it seems like this is not
exposed at all.
Any other suggestions?
cheers,
Torsten
___