Jump to content


Photo

LaunchBar Scripts


  • Please log in to reply
5 replies to this topic

#1 ChristianB

ChristianB

    Bronze

  • Active Members
  • PipPip
  • 60 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 J. T.

J. T.

    Gold

  • Active Members
  • PipPipPipPip
  • 493 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
  • 60 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
  • 60 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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users