Jump to content


Photo

LaunchBar Scripts


  • Please log in to reply
14 replies to this topic

#1 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 23 November 2010 - 09:44 AM

Here are updated versions the scripts I use. You can download the Zip file and than move the scripts (and corresponding .plist files)* to ~/Library/Application Support/LaunchBar/Actions

1) "Accordance Display" shows scriptures in large type on your screen. I works best with single verses or a short passage. If its to much text to display it will be shortened.
2) "Accordance Verses" will open scriptures inside the application.
3) "Accordance Words" will search for words inside the application.

Both "Accordance Verses" and "Accordance Words" contain UI Scripting which can be buggy at times.
For both "Accordance Display" and "Accordance Verses" I made an English and a German version. The main difference is that in the German version book names are converted into s.th. Accordance understands. The German version of "Accordance Display" also uses the Elberfelder translation. You can of course edit the scripts to fit your needs.

Download link: http://cl.ly/IMku (Updated 2012-07-27 to work better with Mountain Lion)

* There also .plist files for every script to let the action run in background.

Edited by ChristianB, 27 July 2012 - 03:44 AM.


#2 Rick

Rick

    Member

  • Active Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Birmingham, AL
  • Accordance Version:9.x

Posted 05 March 2012 - 05:41 PM

Is there a quick way to get these to work with Alfred.app?

#3 James Tucker

James Tucker

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 644 posts
  • Gender:Not Telling
  • Accordance Version:10.x

Posted 05 March 2012 - 05:57 PM

If you have the paid version of Alfred.app you can run an AppleScript from Alfred. There are other applications that can facilitate the automation of an AppleScript. For example, you can load an AppleScript source code into Automator and assign it a keyboard shortcut via System Preferences. Other options may be Launchbar, Keyboard Maestro, QuicKeys, and/or Quicksilver (just be aware that QuicKeys and Quicksilver are incompatible apps and will cause unexpected results should both apps be running at the same time).

I believe you can find the instructions on Alfred.app website.

Edited by James Tucker, 05 March 2012 - 05:58 PM.


#4 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 27 July 2012 - 04:08 AM

Is there a quick way to get these to work with Alfred.app?


It shouldn't be hard to tweak the scripts for looking up words and verses.
The key part is the "on handle_string" section. In Alfred language that seems to be "on alfred_script".

Alfreds Applescript suite doesn't support large type yet. So the display in large type won't work.
You can watch this discussion to stay uptodate on that matter:
https://getsatisfact...t_in_large_type

#5 Rick

Rick

    Member

  • Active Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Birmingham, AL
  • Accordance Version:9.x

Posted 29 July 2012 - 02:33 PM

I finally had a chance to sit down and try this, and I couldn't get any of them to work. Seems like they launch Accordance just fine, but don't actually input the text.

Thanks for taking a stab at it though!

~Rick S.

#6 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 29 July 2012 - 03:18 PM

Bummer I can't try it myself. I don't have the powerpack …
Maybe David Ferguson @jdfwarrior can help you out. He seems to be an Alfred genius.

Edited by ChristianB, 29 July 2012 - 03:26 PM.


#7 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 13 June 2014 - 08:26 AM

I've converted some of these into the new LaunchBar 6 action format with a nice icon and such. Let me know if anyone is interested. 



#8 Ken Simpson

Ken Simpson

    Platinum

  • Accordance
  • 1,831 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Interests:Astronomy
    Archaeology
    Physics
    Hebrew and Greek
    Papyrology
    Orthopædic Surgery
    Yosemite 10.10.1
  • Accordance Version:11.x

Posted 13 June 2014 - 08:10 PM

yes please!


Regards
Ken
Lead Australian Accordance Demonstrator

Administrator, Accordance Exchange

Assistant Minister, Summer Hill Church


#9 Boris Repschinski

Boris Repschinski

    Bronze

  • Active Members
  • PipPip
  • 63 posts
  • Gender:Male
  • Location:Innsbruck, Austria
  • Accordance Version:10.x

Posted 14 June 2014 - 05:31 AM

I've converted some of these into the new LaunchBar 6 action format with a nice icon and such. Let me know if anyone is interested. 

Yes, would be very interested in those!


Boris Repschinski SJ
Prof. of NT Studies
University of Innsbruck

#10 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 14 June 2014 - 06:21 AM

Here you go. Let me know if you encounter issues. 

 

Download herehttp://cl.ly/3N3g3Q2X453U

 

Cheers, Christian 

 

(These are english only. If you need something for German let me know.)


Edited by ChristianB, 14 June 2014 - 06:27 AM.


#11 Boris Repschinski

Boris Repschinski

    Bronze

  • Active Members
  • PipPip
  • 63 posts
  • Gender:Male
  • Location:Innsbruck, Austria
  • Accordance Version:10.x

Posted 17 June 2014 - 11:47 AM

Thanks, they work like a charm!


Boris Repschinski SJ
Prof. of NT Studies
University of Innsbruck

#12 Ken Simpson

Ken Simpson

    Platinum

  • Accordance
  • 1,831 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Interests:Astronomy
    Archaeology
    Physics
    Hebrew and Greek
    Papyrology
    Orthopædic Surgery
    Yosemite 10.10.1
  • Accordance Version:11.x

Posted 17 June 2014 - 04:22 PM

Do you install them in the same fashion?


Regards
Ken
Lead Australian Accordance Demonstrator

Administrator, Accordance Exchange

Assistant Minister, Summer Hill Church


#13 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 17 June 2014 - 04:24 PM

@Ken No, its much easier. Just double click the .lbaction files and they are automatically installed in (copied to) ~/Library/Application Support/LaunchBar/Actions



#14 Ken Simpson

Ken Simpson

    Platinum

  • Accordance
  • 1,831 posts
  • Gender:Male
  • Location:Sydney, Australia
  • Interests:Astronomy
    Archaeology
    Physics
    Hebrew and Greek
    Papyrology
    Orthopædic Surgery
    Yosemite 10.10.1
  • Accordance Version:11.x

Posted 17 June 2014 - 04:37 PM

Thank @Christian! Worked like a charm


Regards
Ken
Lead Australian Accordance Demonstrator

Administrator, Accordance Exchange

Assistant Minister, Summer Hill Church


#15 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 72 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 03 July 2014 - 02:20 AM

If you want to associate one of those actions with the App you can addd this string to the info.plist of the action. 

<key>LBAssociatedApplication</key>
<string>com.OakTree.Accordance</string>

This way if you select Accordance in LaunchBar press the spacebar you can enter a word or a scripture and look it up in Accordance or display it in large type … depending on which action you associate with the app.


Edited by ChristianB, 03 July 2014 - 02:21 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users