Copy Bible Verses Macro for Windows

Page 1 of 1 (6 items)
This post has 5 Replies | 1 Follower

Posts 371
PJ | Forum Activity | Posted: Sun, Dec 18 2016 11:53 AM

Idea 0525.CopyBibleVerses.zip

This solves the problem of quickly replacing a Bible Reference with the verse(s) within almost any application.

  1. This script make use of AutoHotKey, LogosComApi and Internet Explorer
  2. Open the Script file and Edit line 16 to your preferred language
  3. Run the script
  4. Select a Reference that is replacable in any Application:
    1. Win + B : will replace the selected Reference with Bible Text
    2. To set the style Press Ctrl+Alt+B and set the Preffered style in the Copy Bible Verses dialog. Then close it. Retry 3.1 to see the result
  5. If Bible text or a paragraph contains to many line-feeds, select it:
    1. Ctrl + R  : will remove the line-feeds from selected text and combine it into one paragraph.
  6. If you have text in a foreign language and want to translate it to your own default language, select it:
    1. Ctrl + T  : will translate the selected text to your preferred language
  7. Customize the hotkeys in the Define Hotkeys section lines 19-21
22
Posts 2902
Doc B | Forum Activity | Replied: Sun, Dec 18 2016 12:28 PM

Would love to see a short video clip of this in action.

My thanks to the various MVPs. Without them Logos would have died early. They were the only real help available.

Faithlife Corp. owes the MVPs free resources for life.

Posts 371
PJ | Forum Activity | Replied: Sun, Dec 18 2016 8:08 PM

50
Posts 893
Brother Mark | Forum Activity | Replied: Mon, Dec 19 2016 9:49 AM

Beautiful and elegant!  Thanks!!!

"I read dead people..."

Posts 371
PJ | Forum Activity | Replied: Tue, Dec 20 2016 11:18 PM

Bugs fixed:

  1. I removed the SingleInstance directive and force my own Instance through code. This does not prevent the script to have more than one instance running, it only ensures one instance if the script starts itself.
  2. ClipWait breaks Win + B on the third time I restart Logos, so I removed all code for ClipWait. I placed it on line 56.
  3. The script now completely restarts itself (on Win + B) when Logos is not running to ensure that all variables are released and reloaded. This cause the script to start Logos automatically if not running and Win + B is pressed.
  4. If the script is running and Logos get closed, there is a time-frame in which the script thinks that Logos is still open. This will be visible when Win + B fails to replace a reference in this time-frame. Just wait a few seconds and try Win + B again - the script will then start Logos and replace the reference and function normally.

Idea 6562.CopyBibleVerses.zip

88
Posts 3
Ivan Liew | Forum Activity | Replied: Fri, Nov 17 2017 2:34 AM

I tried the CopyBibleVerses and it worked, but not reliably and consistently for me. I often had to restart the script and when I changed styles in the Logos "Copy Bible Verses" window it would sometimes work and sometimes not. Further, I was using AutoHotKeys only for this.

I am now using the Smart Tags feature - which I am surprised has been around a long time as an undocumented feature for Office. I have commented on this here: https://community.logos.com/forums/t/5374.aspx?PageIndex=2  Note that this only works for Office, whereas CopyBibleVerses works for any app.

Page 1 of 1 (6 items) | RSS