Jump to content

Search the Community

Showing results for tags 'URLs'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Official
    • Accordance Announcements
    • Tips for Users
  • Accordance Discussions
    • General Accordance Topics
    • Technical Support
    • Bug Swatters - Mac
    • Bug Swatters - Windows
    • Accordance for iOS
    • Accordance for Android
    • Podcasts
    • Original Languages
    • Syntax Modules
    • Feature Requests
    • Module Requests
    • Emulator Discussion
    • Preaching and Teaching with Accordance
    • Old Forums
  • Spanish Forums/Foros en español
    • Temas generales relacionados con Accordance
    • Ayuda y resolución de problemas
  • General
    • Mainly Macintosh
    • Windows Wisdom
    • Forum Comments, Suggestions & Help
    • Greek in a Year

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. I just wrote a little Mac Automator script that will, within any app, open an Accordance universal link directly into Accordance without using a web browser When you right-click on a universal link (https://accordance.bible/link/...) and choose to run this service, it replaces the universal URL with an Accordance specific URL and opens it directly in Accordance. I'm sure others have done this, but I could not find it in the forums so I'll post my work here. You can either create and tweak your own as I explain below, or just download the Service I created. https://www.dropbox.com/s/27xcop4g7r5a1x5/Open%20Acc%20Links%20in%20Acc.zip?dl=0 Using Automator, create a new Service and set it to accept URLs. Add two boxes for "Run AppleScript" and below them one box for "Run Shell Script." (See screenshot) ----- The First AppleScript: on run {input, parameters} (* Removes text "https://accordance.bible/link/" from the input URL *) set output to {} -- this will be the action's output set textToRemove to "https://accordance.bible/link/" -- the text to remove repeat with anItem in the input -- step through each item in the input set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, textToRemove} set {textPieces, AppleScript's text item delimiters} to {text items of anItem, tempTID} set the end of the output to textPieces as text end repeat return the output -- pass the result(s) to the next action end run The Second AppleScript: on run {input, parameters} (* Prepends "accord://" to the input items *) set output to {} set prepend_text to "accord://" -- the text to add repeat with an_item in the input set the end of output to (prepend_text & (an_item as text)) end repeat return output end run The Shell Script: (with "Pass Input" set to "as arguments") open "$1" -a /Applications/Accordance.app ----- I'm sure there is an easy way to combine the two scripts into one, but this works great. If you have suggestions to improve it, let me know below. After you save it, it will appear as an option under "Services" when you right click on a URL. (Edit: I completely understand, and appreciate, the need for Accordance to switch to the Universal links, but I use Evernote a lot and often want to skip the web-browser when clicking on Accordance links.) - Omar .
×
×
  • Create New...