[LB 6 Action] Define (w/ predictions)

Sharing and discussing custom actions for LaunchBar
Nosrac
Rank 1
Rank 1
Posts: 33
Joined: Sun Jun 22, 2014 10:07 pm

[LB 6 Action] Define (w/ predictions)

Postby Nosrac » Thu Jul 03, 2014 6:13 am

Search the Dictionary app or the "Define" keyword.

https://github.com/Nosrac/LBDefine

Image

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby ptujec » Thu Jul 03, 2014 8:43 am

Nice! Thanks

I added German localization strings to it. Maybe you want to add those in your action. Download

Jono
Rank 4
Rank 4
Posts: 161
Joined: Mon Feb 25, 2008 11:25 am
Location: UK
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby Jono » Thu Jul 03, 2014 10:48 am

Very useful, thanks!

Nosrac
Rank 1
Rank 1
Posts: 33
Joined: Sun Jun 22, 2014 10:07 pm

Re: [LB 6 Action] Define (w/ predictions)

Postby Nosrac » Thu Jul 03, 2014 4:33 pm

ptujec wrote:Nice! Thanks

I added German localization strings to it. Maybe you want to add those in your action. Download


Thanks, I added this to the GitHub project

hlissner
Rank 2
Rank 2
Posts: 42
Joined: Mon Jun 16, 2014 6:06 am
Location: Toronto, ON
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby hlissner » Fri Jul 04, 2014 4:58 am

Thanks for this! I'm surprised something like this wasn't included among the stock LB6 actions.

iRounak
Rank 4
Rank 4
Posts: 191
Joined: Fri Oct 23, 2009 7:11 pm
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby iRounak » Fri Jul 04, 2014 5:53 am

I do not understand java or php.
So can you tell me how this action works?
My bingo guess is you are retrieveing suggestions from a source which has nothing to do with Dictionary.app and hence this happens:


Screen Shot 2014-07-04 at 9.22.40 am.png
Screen Shot 2014-07-04 at 9.22.40 am.png (89.16 KiB) Viewed 4901 times

Nosrac
Rank 1
Rank 1
Posts: 33
Joined: Sun Jun 22, 2014 10:07 pm

Re: [LB 6 Action] Define (w/ predictions)

Postby Nosrac » Fri Jul 04, 2014 6:07 am

iRounak wrote:I do not understand java or php.
So can you tell me how this action works?
My bingo guess is you are retrieveing suggestions from a source which has nothing to do with Dictionary.app and hence this happens:


That's exactly what's happening. I'm planning on using the Dictionary's sources soon

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby ptujec » Fri Jul 04, 2014 8:31 am

Nosrac wrote:That's exactly what's happening. I'm planning on using the Dictionary's sources soon


That explains why no German suggestions are showing up for me. The change would be greatly appreciated.

ptujec
Wizard
Wizard
Posts: 321
Joined: Fri Dec 19, 2008 11:36 am
Contact:

Re: [LB 6 Action] Define (w/ predictions)

Postby ptujec » Fri Jul 04, 2014 8:35 am

So here is bug I encountered. It doesn't to play well with spaces.

Image

Image

Nosrac
Rank 1
Rank 1
Posts: 33
Joined: Sun Jun 22, 2014 10:07 pm

Re: [LB 6 Action] Define (w/ predictions)

Postby Nosrac » Fri Jul 04, 2014 10:57 pm

ptujec wrote:So here is bug I encountered. It doesn't to play well with spaces.


This should be fixed now. Unfortunately, it looks like Apple's dictionaries aren't open to use. Likely for legal reasons.

I'll look for a free list of words for various languages soon

Nosrac
Rank 1
Rank 1
Posts: 33
Joined: Sun Jun 22, 2014 10:07 pm

Re: [LB 6 Action] Define (w/ predictions)

Postby Nosrac » Thu Jul 10, 2014 12:46 am

Hey ptujec,

I've looked around the Internet for lists of all German words but I'm not having any luck.
The ideal format would be a text file with one word per line.

Any idea where to find something like that?


Return to “LaunchBar Actions”

Who is online

Users browsing this forum: No registered users and 1 guest