Joe Weaks Posted March 11, 2023 Share Posted March 11, 2023 (edited) As posted online, the most current automation technology on macOS is Shortcuts. Here's an example of the standard "Insert Verses" automation using Shortcuts on macOS (rather than my old scripts, or the Accordance Service, or the global Insert Verses function). The Shortcut: either grabs a selected verse reference or queries you to provide on, and then grabs that text from Accordance, using the text module specified in the Shortcut. It then inserts that resulting text or copies it to the clipboard if that is not possible. It can be downloaded here: Insert Accordance Text You change the text module by launching Shortcuts, and editing the module short name in the text block to whatever you like. (Search google for more info on working with Shortcuts.) Edited March 11, 2023 by Joe Weaks 1 Link to comment Share on other sites More sharing options...
Dan Langston Posted March 12, 2023 Share Posted March 12, 2023 Thank you so much. I tried it, but keep getting this error message. I'm googling and learning about shortcuts, which is helpful, but I guess I've done something wrong in the syntax. Link to comment Share on other sites More sharing options...
Joe Weaks Posted March 12, 2023 Author Share Posted March 12, 2023 3 hours ago, Dan Langston said: I tried it, but keep getting this error message. Hi, Dan, Is that really the short name for that module. I suspect that's where the problem is. Is Accordance also giving you a popup error something like "The text "CSB (2017) with Strong's" is not currently available in Accordance"? You have to have the correct short name. Here's a shortcut, you can run it inside the Shortcuts app, which will place on the clipboard a list of all the short names for all installed text modules in Accordance. Check that list to make sure you've specified the short module name correctly. 1 Link to comment Share on other sites More sharing options...
Dan Langston Posted March 12, 2023 Share Posted March 12, 2023 Joe, Thank you! It works! That was it exactly. That was the exact popup error from Word and Accordance. That module of short names was very helpful. I saved it so I can check it later on other versions. 1 Link to comment Share on other sites More sharing options...
dgillis Posted March 17, 2023 Share Posted March 17, 2023 Does this work in Big Sur? Or is it just in Ventura? Link to comment Share on other sites More sharing options...
mbcvida Posted March 17, 2023 Share Posted March 17, 2023 is the ShortCut limited to a single translation? or does one need to rewrite the script to change a translation? The current opt-cmd-a script allows for choice of translation as well as the verse Link to comment Share on other sites More sharing options...
Joe Weaks Posted March 18, 2023 Author Share Posted March 18, 2023 (edited) That Shortcut yes you have to change the translation in the shortcut text in Automator. It can for sure be adapted to do a dropdown menu for selecting an installed translation. Here is an example of one that functions the same, except adds an extra step for you to choose the translation. Edited March 18, 2023 by Joe Weaks Link to comment Share on other sites More sharing options...
Justin Young Posted December 29, 2023 Share Posted December 29, 2023 Is there a similar version of this for iPadOS? Link to comment Share on other sites More sharing options...
Dr. Nathan Parker Posted December 29, 2023 Share Posted December 29, 2023 @Joe Weaks Can this be adapted for iOS/iPadOS at all? Link to comment Share on other sites More sharing options...
Joe Weaks Posted December 29, 2023 Author Share Posted December 29, 2023 54 minutes ago, Dr. Nathan Parker said: @Joe Weaks Can this be adapted for iOS/iPadOS at all? No, because it relies on a Run AppleScript action which is not available on iOS/iPadOS. The Accordance devs would need to develop an App Shortcut (which IMHO would be a massive benefit) to users. https://developer.apple.com/documentation/appintents/app-shortcuts https://developer.apple.com/shortcuts/ 1 Link to comment Share on other sites More sharing options...
Tony Lawrence Posted December 29, 2023 Share Posted December 29, 2023 (edited) Is it possible to be able to modify the shortcut to invoke the "Done" button by pressing a return? This way one would not have to take hands off the keyboard by using the mouse to click done. EDITED: I found out that pressing COMMAND-RETURN will invoke the "Done" button. By the way I duplicated the shortcut and made several shortcuts for different versions, one for NKJVS, one for GNT28-T, etc Edited December 29, 2023 by Tony Lawrence Link to comment Share on other sites More sharing options...
Dr. Nathan Parker Posted December 29, 2023 Share Posted December 29, 2023 @Joe Weaks Thanks! That would make fir a fantastic feature request. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now