Copy Bible Verses Macro for Windows
This solves the problem of quickly replacing a Bible Reference with the verse(s) within almost any application.
- This script make use of AutoHotKey, LogosComApi and Internet Explorer
- Open the Script file and Edit line 16 to your preferred language
- Run the script
- Select a Reference that is replacable in any Application:
- Win + B : will replace the selected Reference with Bible Text
- 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
- If Bible text or a paragraph contains to many line-feeds, select it:
- Ctrl + R : will remove the line-feeds from selected text and combine it into one paragraph.
- If you have text in a foreign language and want to translate it to your own default language, select it:
- Ctrl + T : will translate the selected text to your preferred language
- Customize the hotkeys in the Define Hotkeys section lines 19-21
Comments
-
Would love to see a short video clip of this in action.
Eating a steady diet of government cheese, and living in a van down by the river.
0 -
-
Beautiful and elegant! Thanks!!!
"I read dead people..."
0 -
Bugs fixed:
- 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.
- ClipWait breaks Win + B on the third time I restart Logos, so I removed all code for ClipWait. I placed it on line 56.
- The script now completely restarts itself (on Win + 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.
- 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.
880 -
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.
0