Jump to content


Photo

Siri Shortcuts...

Siri Shortcuts

  • Please log in to reply
18 replies to this topic

#1 SpiritandFire44

SpiritandFire44

    Member

  • Active Members
  • Pip
  • 14 posts
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 26 September 2018 - 09:09 AM

Are there any plans to integrate Siri shortcuts in the iOS version of accordance?  Thanks!


  • R. Mansfield likes this

#2 Joel Brown

Joel Brown

    Administrator

  • Admin
  • 5,907 posts
  • Gender:Male
  • Location:Houston, TX
  • Accordance Version:13.x
  • Platforms:Mac OS X, Windows, iOS

Posted 26 September 2018 - 09:46 AM

We're currently looking into Siri Shortcuts for the best way to integrate them into the app.

 

As usual, though, we won't make any promises about what or when new features will be adopted :)


  • Daniel Francis likes this

Joel Brown

By day: Lead Software Engineer at Accordance
By night: Freelance Trombonist


#3 SpiritandFire44

SpiritandFire44

    Member

  • Active Members
  • Pip
  • 14 posts
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 26 September 2018 - 10:02 AM

Well if I can give you some suggestions...

 

1.  BE able to shortcuts for Greek, Hebrew and English Versions

2.  Be able to split the screen with different texts

3.  Be able to do the boolean searches

 

This would be AMAZING to implement


  • R. Mansfield likes this

#4 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,348 posts
  • Gender:Male
  • Location:Odessa, TX
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:11.x

Posted 26 September 2018 - 03:52 PM

There is definitely promise here.

 

SpiritAndFire44, some of your suggestions don't make sense to me. It sounds like you're wanting to use Shortcuts to add voice commands withing the Accordance App. I would point out that this is not what Siri Shortcuts is designed for. 

 

The most basic to start with would be would be a global voice verse lookup.

 

A command for "Look up verse"

   to which the "Dictate text" shortcut block would then listen for the verse range for you to dictate.

 

 

FYI, since there is the "Pass URL to Next" shortcut, this is already close to possible.

 

Attached File  IMG_2716.PNG   149.42KB   1 downloads


Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#5 SpiritandFire44

SpiritandFire44

    Member

  • Active Members
  • Pip
  • 14 posts
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 26 September 2018 - 05:44 PM

Thanks for the valuable information Joe.  I confess I am not an expert on shortcuts.  I will investigate this.  I have however, seen some apps that have Siri shortcuts built into them already.  It is this that I was thinking of when for instance, I would select which texts would be searched, and which texts the split screen would confess.  Does this make any sense or am I missing something?



#6 Paul Meiklejohn

Paul Meiklejohn

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 532 posts
  • Gender:Male
  • Location:York, England
  • Interests:Photography, running and coffee (lots of coffee...)
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 27 September 2018 - 01:48 AM

A command for "Look up verse"

   to which the "Dictate text" shortcut block would then listen for the verse range for you to dictate.

 

 

 

Joe's suggestion of dictating a verse look-up would be amazing. 


Paul M.

 

Pastor.

All things Apple, iMac, Air, iPad, iPhone.

Long term Accordance user. (10 years).  v.13.

 


#7 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,348 posts
  • Gender:Male
  • Location:Odessa, TX
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:11.x

Posted 27 September 2018 - 11:31 AM

Just to clarify, you can already basically accomplish a global Siri verse lookup. The problem is that you have to spell out the reference: “romans twelve colon three hyphen seven”. 

 
 
We could actually build an imperfect shortcut that parsed a normal string like “romans twelve three to seven” and formatted it properly into "Romans 12:3-7" to send to Accordance. It'd be best if it was done inside of Accordance's bundle so they had control of the parsing.

  • Ruben Gomez, Paul Meiklejohn and OSchrock like this
Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#8 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 28 September 2018 - 06:32 PM

I currently have a Siri Shortcut working, but it’s based off of the Accordance URL scheme (of which I cannot find any documentation online); and it only works if you give it a specific verse (Mark 5:3). I can’t figure out the syntax for getting it to recognize a series of verses (eg. Mark 5:3-6).

Oh, it should be noted that it inputs whatever is on your clipboard. If you know your way around Shortcuts, you can modify it to take text other ways.

You can give it a spin here: https://www.icloud.c...4d3f5af739ee254

#9 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,348 posts
  • Gender:Male
  • Location:Odessa, TX
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:11.x

Posted 29 September 2018 - 06:24 PM

Rick, things have improved since your last Workflow, in that Shortcuts can now prompt to dictate text. See my example video.

For sure, voice is increasingly the primary input for our devices.

 

That said, doesn't your previous Workflow do a REgEx search a string for verse references on the clipboard? Are you saying it only finds Mark 5:3 right now but not 5:3-6? That wouldn't be difficult to improve. LOTS of stackoverlow threads about RegEx verse range matching.


Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#10 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 05 October 2018 - 04:04 PM

Rick, things have improved since your last Workflow, in that Shortcuts can now prompt to dictate text. See my example video.
For sure, voice is increasingly the primary input for our devices.
 
That said, doesn't your previous Workflow do a REgEx search a string for verse references on the clipboard? Are you saying it only finds Mark 5:3 right now but not 5:3-6? That wouldn't be difficult to improve. LOTS of stackoverlow threads about RegEx verse range matching.


Thanks, Joe. My shortcut is just two actions: “URL” and “Open URLs”. Here is the link to my current version of this Shortcut that you can check out: https://www.icloud.c...3637620ebd899f4

Do you mind sharing a link to yours?

I’m personally not a fan of voice input since I do a lot of work from coffee shops. Ideally, I want to pass text (specifically, a Bible reference) to Shortcuts and have it open in Accordance.

#11 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 01 October 2019 - 07:37 PM

My URLs have stopped working. Is there a new scheme? 



#12 Graham Buck

Graham Buck

    Platinum

  • Accordance
  • 521 posts
  • Gender:Male
  • Location:God's Country (New England)
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 01 October 2019 - 10:01 PM

There is not. The scheme is found here: http://accordancefil...ommon_tasks.htm

 

I looked at your shortcut:

accord://read/esvs/;?[Shortcut Input]

The read pragma is for opening a resource and scrolling to a particular location. For your above shortcut you could potentially be passing a range of verses and thus the command is failing due to it attempting to scroll to a range. I admit, the iOS app gives less information than the desktop app does. We should look into fixing that. If, on your desktop machine, you type your shortcut (fill in the shortcut input with any given verse range) into your web browser of choice's search bar and hit enter it will open Accordance and you'll get an error message.

 

If you create another shortcut:

accord://search/esvs/;?[Shortcut Input]

This will do exactly what you're probably wanting. It will open the app and search for the verse range specified. If you want to see the range in context just tap on the glasses to exit search mode and enter reading mode.

 

By that last little bit of terminology you can probably see why we like to be specific with with the terms used in urls. Searching is a separate activity from reading. That being said, I'm not quite sure, without looking into revision history, why your shortcut would work before but does not now (I've only been working with the iOS for the past 9 months).

 

My recommendation would be to have two shortcuts. One that is for simple opening a resource and scrolling to a location (single verse ref), your existing shortcut. And another which is a searching shortcut (the one I suggested), which will accept verse ranges. 


Edited by Graham Buck, 01 October 2019 - 10:02 PM.

  • Rich and Fabian like this

Graham Buck

 

iOS Programmer
Content Development
OakTree Software


#13 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 02 October 2019 - 09:12 AM

Oh my goodness, this is exactly what I want. I didn't know about the SEARCH command. 

 

This is perhaps a long shot, but is there a way to use the URL scheme to copy the passage to clipboard, or even better, send the text back to another app via x-callback? I'm trying to use Apple Shortcuts to create a Note of the combined daily office readings. At the moment, my shortcut is pulling the text from an online Bible, but it would be so much faster if instead it used Accordance. 


Edited by Rick, 02 October 2019 - 09:12 AM.

  • Fabian likes this

#14 Graham Buck

Graham Buck

    Platinum

  • Accordance
  • 521 posts
  • Gender:Male
  • Location:God's Country (New England)
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 02 October 2019 - 09:16 AM

We currently do not support x-callback. It's something I've glanced at, but it's not currently on the features to implement list. It could be considered if enough users show a desire for the functionality.


Graham Buck

 

iOS Programmer
Content Development
OakTree Software


#15 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 02 October 2019 - 09:14 PM

We currently do not support x-callback. It's something I've glanced at, but it's not currently on the features to implement list. It could be considered if enough users show a desire for the functionality.

 

Thanks, Graham. That makes sense. My assumption is that x-callback is a pretty rare request, although with the advent of Apple Shortcuts, I hope that more people get curious about what’s possible. (I just built an Apple Shortcut that looks up the upcoming Anglican Sunday lectionary assignments and combines all four Scripture passages into one PDF. At the moment, it’s finding the Bible content online, but it’d be so much faster if processed locally via Accordance.) Thanks again for your help! 


Edited by Rick, 02 October 2019 - 09:15 PM.


#16 Rich

Rich

    Silver

  • Active Members
  • PipPipPip
  • 115 posts
  • Gender:Male
  • Location:Rural Georgia
  • Interests:Jesus, my lovely wife, my children, fellowship, worship music, piano, gardening. and pursuing my M.Div at Asbury Theological Seminary.
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 03 October 2019 - 04:38 PM

I love the thought of doing this:  "Hey Siri, Browse to Verse Luke 1:5" or even, "Hey Siri, Browse to Verse", response from Siri, "Which verse?", "Luke 1:5" — and it opens in Accordance...  I've just started playing with Shortcuts and it seems like I should be able to do this...  (but I may be wrong).

 

Searching for text would be next.  I have something similar in Alfred on Mac, but obviously not Siri enabled.  


Rich Wardwell

 

Accordance Hardware

2017 iMac (Retina 5K, 27", 2017, 4.2 GHz i7, 32GB memory, Radeon Pro 580, 8GB, 2TB SSD, Catalina)

2019 15" MacBook Pro (Retina, 15", 2.4 GHz  i9, 32GB memory, 2 TB SSD, Catalina)

2018 iPad Pro (12.9", 512GB, iOS 13)

2019 iPhone 11 Pro Max (iOS 13)


#17 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,348 posts
  • Gender:Male
  • Location:Odessa, TX
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:11.x

Posted 04 October 2019 - 12:00 AM

It was over a year that you could do this; you can see the proof of concept in the video I posted upstream. ^ ^ ^  The main improvement is that you need to add a more sophisticated reference parser. We say "Mark one verse three", which needs to become Mark 1:3.


Edited by Joe Weaks, 04 October 2019 - 08:55 PM.

Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.

#18 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 04 October 2019 - 11:02 AM

It was a year that you could do this, but see the proof of concept upstream ^ ^ ^  The main improvement is that you need to add a more sophisticated reference parser. We say "Mark one verse three", which needs to become Mark 1:3.

 

One could manually build this with Apple Shortcuts pretty easily. There are actions for dictating speech and replacing text. It would just take awhile to build. :-)



#19 Rick

Rick

    Bronze

  • Active Members
  • PipPip
  • 51 posts
  • Gender:Male
  • Location:Minneapolis, MN
  • Accordance Version:12.x
  • Platforms:Mac OS X, iOS

Posted 04 October 2019 - 11:10 AM

For what it's worth, folks can see what I've built with Apple Shortcuts. I'm an Anglican pastor who preaches from our Sunday lectionary most Sundays. (I also have a past career in technology.) So, I built this tool to lookup the next Sunday's prayer of the day and Bible passages, and then present them in a single PDF or Note. If you know what you're doing, you could probably tweak parts of this to look up passages from the Revised Common Lectionary, if that's your thing, or another lectionary your tradition might follow. 

 

Check it out







Also tagged with one or more of these keywords: Siri, Shortcuts

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users