Jump to content

Paste into any app without opening Accordance


wayne@dubbo.org

Recommended Posts

I'm getting this error below.

It seems my accordance files are in /Library not ~/Library.

Is that normal?

 

tell application "Finder"

path to home folder as text

--> "Macintosh HD:Users:macbook:"

get name of every file of folder "Macintosh HD:Users:macbook:Library:Application Support:Accordance:Modules:Texts:"

 

--> error number -1728 from folder "Macintosh HD:Users:macbook:Library:Application Support:Accordance:Modules:Texts:"

end tell

 

So, that was a hack to try and get a module list. But then, stealing a line from Joe, I found out there's an Accordance event called AccdVerL. 

 

You can replace: 

    tell application "Finder"
        set textList to name of files of folder ((path to home folder as text) & "Library:Application Support:Accordance:Modules:Texts:")
    end tell

 with 

tell application "Accordance" to set textList to «event AccdVerL»
Link to comment
Share on other sites

  • 1 year later...

This seems to be broken for me in the latest version of Accordance and Catalina.

Is anyone else having similar issues?

Link to comment
Share on other sites

  • 1 year later...

Is there a script or something that will allow for doing this in ipad?

Link to comment
Share on other sites

23 minutes ago, Brian Mann said:

Is there a script or something that will allow for doing this in ipad?

It would be very clunky.

You could copy text, and then tap a shortcut (or tell Siri) to paste that into something.

Link to comment
Share on other sites

22 minutes ago, Brian Mann said:

Is there a script or something that will allow for doing this in ipad?

 

Accordance does not show up in Shortcuts app list. So I guess the answer is a "no" if you want to do it natively.

However, we can use an automation tool to get the verses remotely from Mac via internet.

 

 

 

 

image.thumb.png.b78e530e2e3bd8bb9639c31337d89834.png

Link to comment
Share on other sites

24 minutes ago, Martin Z said:

Accordance does not show up in Shortcuts app list.

Correct. Accordance has not added Shortcuts support (boo). That's why i said you have to copy the text first, then you can run a Shortcut.

Link to comment
Share on other sites

  • 2 months later...

Hi all, the name of the Accordance icon changed recently so here is a new script to paste Accordance verses into a word processor from the NIV bible.

 activate this using Keyboard Maestro, so that Apple-7 brings up a dialog to paste from Accordance into any application without having to go back into Accordance.

 

 

Paste bible verses 13 (NIV).scpt

Edited by wayne@dubbo.org
Link to comment
Share on other sites

You can set the version using script editor in the file:

 

# Applescript to paste verses from Accordance into the frontmost application

# by Wayne Connor - https://macintoshhowto.com

#

# You can access this from any app (Word, Pages, mail etc)

# Press Apple-7, type the verse you want, and it will be pasted into you app.

#

# I like to paste from the NIV bible but you can set the version here: (eg GNT, NRSV)

 

set theModulename to "NIV"

 

# set this variable below to true to have the verses in quotation marks with the reference at the end.

 

set theCitationformat to false

 

# There are a few options on how to access this script easily

# 1. Assign it to a kotkey (I use Command - 7) usign Keyboard Maestro

# 2. Use the automator workflow Quick Action and assign it to Command 7 hotkey using

#    System Preferences: Keyboard: Shortcuts: Services

#     and assign a shortcut key to  Paste Bible Verses

# 3. Use it as a Moicrosoft Word add-on

#

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...