[LB6 Action] Spotlight (Integrated) [UPDATED]

Sharing and discussing custom actions for LaunchBar
nbjahan
Rank 1
Rank 1
Posts: 34
Joined: Sat Jun 28, 2014 1:06 pm

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby nbjahan » Fri Mar 11, 2016 6:58 pm

It's possible to sort the selected items by date in LaunchBar with CMD-Shift-RightArrow

Jono
Rank 3
Rank 3
Posts: 157
Joined: Mon Feb 25, 2008 11:25 am
Location: UK
Contact:

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby Jono » Fri Mar 11, 2016 10:36 pm

iRounak wrote:If it is not possible to do it with mdfind, the modified date could be got via applescript and the results can be sorted before they are sent to LaunchBar for display.

Ah, sounds promising. How would I do that? Is it easy to do?


nbjahan wrote:It's possible to sort the selected items by date in LaunchBar with CMD-Shift-RightArrow

Thanks, but that doesn't work with these Spotlight searches (for me). It only seems to work with 'regular items' found when searching LaunchBar's index.

nbjahan
Rank 1
Rank 1
Posts: 34
Joined: Sat Jun 28, 2014 1:06 pm

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby nbjahan » Fri Mar 11, 2016 10:40 pm

I select some/all results then Shift-Left (I think) after that the collection can be sorted with CMD-Shift-Right

Jono
Rank 3
Rank 3
Posts: 157
Joined: Mon Feb 25, 2008 11:25 am
Location: UK
Contact:

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby Jono » Fri Mar 11, 2016 10:45 pm

nbjahan wrote:I select some/all results then Shift-Left (I think) after that the collection can be sorted with CMD-Shift-Right


Yes, that works for me. Great tip, thanks!

mot
Rank 1
Rank 1
Posts: 33
Joined: Wed Jan 11, 2017 4:51 am

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby mot » Sun Jan 22, 2017 5:01 am

Many thanks for this absolutely great action!

– Tom

lrivers
Posts: 10
Joined: Wed Dec 17, 2008 12:45 am

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby lrivers » Thu Jan 26, 2017 10:05 pm

nbjahan wrote:That's because LaunchBar recent list (⌘B) will display those items. With general names, they will make no sense.


Holy shit! That’s a great feature I had no idea about! Thanks!

JMichaelTX
Posts: 5
Joined: Mon Sep 05, 2016 10:43 pm

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby JMichaelTX » Sat Apr 29, 2017 11:41 pm

nbjahan wrote:Updated
Search in Spotlight with LaunchBar 6 and show the results as a list.

Download: https://github.com/nbjahan/launchbar-spotlight/releases/latest
Repo: https://github.com/nbjahan/launchbar-spotlight

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks for a great Action! I just installed it, and it seems to work well when I select the Action directly.

ISSUE:
But when I send a Folder to the Action, select the Action, and press RETURN, it does NOT activate the input for the Spotlight Search.
I am running LaunchBar 6.8 (6140) on macOS 10.11.6.

Maybe this is related to this issue/fix:

v2.1.2
@nbjahan nbjahan released this on Jan 8

Fixed a bug where send a folder to action was not working anymore
Support for typing search path as live feedback
Downloads
2.36 MBSpotlight.Search-2.1.2.lbaction


I have verified that I have Ver 2.1.2.

How do I fix this?

Here is a video which demos the issue:

https://dl.dropboxusercontent.com/u/710 ... ailure.mp4

Thanks.

s.newave
Posts: 9
Joined: Tue Jun 16, 2009 7:56 am

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby s.newave » Wed May 17, 2017 8:43 am

Awesome action!

Is there any way to update this to update results in realtime using the "-live" argument for mdfind?

agentcross
Posts: 6
Joined: Mon May 15, 2017 12:53 pm

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby agentcross » Tue May 23, 2017 9:08 pm

Hi guys,

for me this action does not work at all. I hope you can help me understanding what I do wrong. I am really interested in this function because I am missing the opportunity to search my emails with launchbar itself. But if I enter anything that is also the subject of an email the suggestions show only emails as .emlx files and the file's name (a cryptic number..). But what is worse is that when I try, let's say, search a contact's name and add 'kind:email' the action only results an error.log or does not find anything at all..

I really don't know what the problem is.. hope you have any ideas.

Thanks,
Christian

mot
Rank 1
Rank 1
Posts: 33
Joined: Wed Jan 11, 2017 4:51 am

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby mot » Fri Jun 02, 2017 1:15 pm

Hi Christian,

agentcross wrote: if I enter anything that is also the subject of an email the suggestions show only emails as .emlx files and the file's name (a cryptic number..).


Yes, I’m seeing the same here. It shows the mail messages by file name as found on disk. But at that occasion I noticed that my “normal” Spotlight search is currently buggy, too. (That is, it finds some mails but it displays neither filename nor subject.)

The only search that actually works is Spotlight in a Finder window…
I will reboot at the next occasion, to see if this helps.

agentcross wrote: But what is worse is that when I try, let's say, search a contact's name and add 'kind:email' the action only results an error.log or does not find anything at all..


This works fine for me. (Well, apart from the filename display issue.)

– Tom

LB 6.8, OS 10.12.5, Plugin 2.1.2

mot
Rank 1
Rank 1
Posts: 33
Joined: Wed Jan 11, 2017 4:51 am

Re: [LB6 Action] Spotlight (Integrated) [UPDATED]

Postby mot » Sun Jun 04, 2017 2:29 pm

mot wrote:But at that occasion I noticed that my “normal” Spotlight search is currently buggy, too. (That is, it finds some mails but it displays neither filename nor subject.)
[…]
I will reboot at the next occasion, to see if this helps.


Update:

I rebooted the Mac this morning. Spotlight is working normally again, listing all found mails by Subject, but the Spotlight Search action still shows only the file names of found mail messages (e.g. 1006229.emlx). Honestly, I don’t remember if it ever showed the Subject before. But in any case, it should.

In addition, some messages found by “normal” Spotlight are not found by the action.

– Tom


Return to “LaunchBar Actions”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest