Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gwhizkids

macrumors G5
Jun 21, 2013
13,259
21,402
I would like to scan a QR code which is a VCARD and either display a notification with ALL the contact information, OR create a new contact with the scanned VCARD. I'm not sure it's possible : if I set a notification with the contact it only display 1 of the fields but not all

Are you able to do the scanning part though?
 

wolfpackfan

macrumors 68000
Jun 10, 2007
1,549
16
Cary, NC
Interesting discussion. I am really liking Shortcuts. One thing - I have created a shortcut to easily enter in my blood sugar readings into the Health app. When I run the app though, it works fine, but I'm left looking at the Shortcut app when it ends. Is this the way it is supposed to work? Any way to have it just end up where I started (usually at Home screen).
 

GreyOS

macrumors 68040
Apr 12, 2012
3,358
1,694
Interesting discussion. I am really liking Shortcuts. One thing - I have created a shortcut to easily enter in my blood sugar readings into the Health app. When I run the app though, it works fine, but I'm left looking at the Shortcut app when it ends. Is this the way it is supposed to work? Any way to have it just end up where I started (usually at Home screen).
How are you initiating the shortcut?
Instead of using “Ask When Run” as the Value, you could try a separate Ask for input step before it and use the value from that.

The advantage here is that if you run the shortcut from the widget, a number pad appears within the widget- it doesn’t jump out into the Shortcuts app.

Unfortunately you wouldn’t be able to set the meal time, not sure if that’s important to you.

Here’s what I mean
D5BAB194-3BF4-4696-BED5-5E1189582301.jpeg
 
Last edited:

lemimouth

macrumors regular
Feb 14, 2015
204
159
Are you able to do the scanning part though?

Yes sure. But I would like to do the following :
  1. Scan QR code
  2. If it's an URL ask if I want to open the link
    • If yes open in Safari
    • If no copy link to clipboard
  3. If it's a VCARD, show contacts details (either in a notification or by creating a new contact)
  4. If none of the above, copy to clipboard
For step 3 I can display a notification with the "raw" VCARD but I'd like to format it nicely
 

wolfpackfan

macrumors 68000
Jun 10, 2007
1,549
16
Cary, NC
How are you initiating the shortcut?
Instead of using “Ask When Run” as the Value, you could try a separate Ask for input step before it and use the value from that.

The advantage here is that if you run the shortcut from the widget, a number pad appears within the widget- it doesn’t jump out into the Shortcuts app.

Unfortunately you wouldn’t be able to set the meal time, not sure if that’s important to you.

Here’s what I mean
View attachment 783370

Thanks will give it a try.
[doublepost=1537294618][/doublepost]
How are you initiating the shortcut?
Instead of using “Ask When Run” as the Value, you could try a separate Ask for input step before it and use the value from that.

The advantage here is that if you run the shortcut from the widget, a number pad appears within the widget- it doesn’t jump out into the Shortcuts app.

Unfortunately you wouldn’t be able to set the meal time, not sure if that’s important to you.

Here’s what I mean
View attachment 783370
Worked great. Thanks loads.
 

GreyOS

macrumors 68040
Apr 12, 2012
3,358
1,694
Thanks will give it a try.
[doublepost=1537294618][/doublepost]
Worked great. Thanks loads.
No worries, I find it frustrating there are inconsistencies like that. (Why should one way open the app and not another?) Or at least it’s frustrating that the slightly different approaches aren’t explained or made clear.
 

matttye

macrumors 601
Mar 25, 2009
4,957
32
Lincoln, England
Never mind - didn’t read original post correctly.
[doublepost=1537295744][/doublepost]
10$ IF YOU CAN HELP ME!!!! I have two friends that have iphones and when they get a call their phone says "You have an incoming call from blank", its in a british accent and its really cool. I have the apple one that announces the name but i want to have what they have. I do not think their phones are jailbroken or anything, maybe it is just an app.
Will venmo 10$ to anyone that can help me get this. Thanks

Settings > phone > accounce calls > adjust accordingly.

No money needed thanks :p
 

hasanahmad

macrumors 65816
May 20, 2009
1,429
1,573
I want a shortcut to open settings, go to safari settings and delete all browsing history by me simply saying "remove everything"
 

ddvmor

macrumors newbie
Nov 1, 2011
27
8
Is there a way to automatically trigger a shortcut when bluetooth connects to the stereo in my car?

I want it to automatically open Overcast and start playing a playlist. I can do the second bit just fine! :)
 

matttye

macrumors 601
Mar 25, 2009
4,957
32
Lincoln, England
Is there a way to automatically trigger a shortcut when bluetooth connects to the stereo in my car?

I want it to automatically open Overcast and start playing a playlist. I can do the second bit just fine! :)

Unfortunately not, at the moment the shortcuts have to be triggered manually either by setting a Siri command, going into the shortcuts app itself or by using a home screen icon.

I’m sure they will allow event driven shortcuts in a future update as it seems like a natural evolution!
 
  • Like
Reactions: ddvmor

awhitmer83

macrumors member
Jun 22, 2012
36
24
Kentucky
What I REALLY want is to be able to tell Siri how to respond verbally (like specifically what to say) when I invoke a specific shortcut. This has no real world value other than my own amusement, as far as I can tell, but I'd love to be able to specify a phrase that will be said in response to the command I give.
 

bransoj

macrumors 68000
Jul 31, 2013
1,562
739
Is there a way to automatically trigger a shortcut when bluetooth connects to the stereo in my car?

I want it to automatically open Overcast and start playing a playlist. I can do the second bit just fine! :)
Overcast have added Siri Shortcuts so you can set up certain things in the app and then just ask Siri to do whatever you’ve saved as the Siri phrase.

I’ve got one so I just say “hey Siri” and when it’s ready I say “overcast play radio 2 confessions” and it’ll play that podcast I think either where I’d got to or starting the next one.
 

CaptMarvel

macrumors 68000
Sep 20, 2014
1,738
2,145
North Carolina
I think I’ve found the perfect shortcut for the iPhone X and models with no home button.

As of now, I’m on my device and I can’t shut it down. I can’t access settings or any apps that were not previously opened.

So my first shortcut will be one that will allow me to restart my device :mad:
 

Ralfi

macrumors 601
Dec 22, 2016
4,373
3,101
Australia
I want to be able to open the Harmony App & have it select an Activity within the Harmony App which turns on a pre-programmed number of devices (TV, Cable TV box, AVR with set inputs).

I can do that now with the Harmony App itself, but I'd like to add voice controls via the Shortcuts App.

I presume though, that Harmony needs to update their App to support Shortcuts???
 

matttye

macrumors 601
Mar 25, 2009
4,957
32
Lincoln, England
Ho. Lee. Crapballs. Are you kidding me? *rushes off to try it*

ETA: Okay, so I can make Siri say whatever I want.... but how do I make her say what I want in reply to a command I issue?

Open shortcuts, then press the ‘...’ button on the shortcut you want to add as a Siri command, then click the settings button which is the one at the top right. Then tap ‘add to siri’ which allows you to record a voice command for triggering the shortcut.
 

awhitmer83

macrumors member
Jun 22, 2012
36
24
Kentucky
Open shortcuts, then press the ‘...’ button on the shortcut you want to add as a Siri command, then click the settings button which is the one at the top right. Then tap ‘add to siri’ which allows you to record a voice command for triggering the shortcut.

Okay, I get that, but I'm still confused. I have Siri phrases for all shortcuts, but that's what I say to Siri to make her do whatever thing. There is no option to run the shortcut to tell her what to say back within the shortcut for something else.
 

gwhizkids

macrumors G5
Jun 21, 2013
13,259
21,402
Ho. Lee. Crapballs. Are you kidding me? *rushes off to try it*

ETA: Okay, so I can make Siri say whatever I want.... but how do I make her say what I want in reply to a command I issue?
Just go to the top of the shortcut. Under the word "Done" there are 2 icons. One is the familiar "Share" icon. The other looks like two slider switches. Press that one. You'll now be in the Settings page for that Shortcut. Go down and select "Add to Siri". You'll be prompted to input your "command phrase". Once you do that, you can run the shortcut by invoking Siri and saying your command phrase. You'll still have to type in what you want Siri to say, however, which kind of limits the fun a bit.
 

awhitmer83

macrumors member
Jun 22, 2012
36
24
Kentucky
Just go to the top of the shortcut. Under the word "Done" there are 2 icons. One is the familiar "Share" icon. The other looks like two slider switches. Press that one. You'll now be in the Settings page for that Shortcut. Go down and select "Add to Siri". You'll be prompted to input your "command phrase". Once you do that, you can run the shortcut by invoking Siri and saying your command phrase. You'll still have to type in what you want Siri to say, however, which kind of limits the fun a bit.

Okay, no, that wasn't what I was hoping for. I was saying that, on top of adding my command phrase, I wish we could also specify what Siri will say back to that particular command phrase. Like instead of saying, "Okay, your scene is set" or whatever generic thing, I could specify "When I say this, you respond with this."
 

gwhizkids

macrumors G5
Jun 21, 2013
13,259
21,402
Okay, I get that, but I'm still confused. I have Siri phrases for all shortcuts, but that's what I say to Siri to make her do whatever thing. There is no option to run the shortcut to tell her what to say back within the shortcut for something else.
I should have kept reading before giving my previous response.

You can substitute the "Dictate" action for the "Ask for Input" action. Then, when you run your shortcut, you'll be prompted to record something, which will then be read back you by Siri.
 

matttye

macrumors 601
Mar 25, 2009
4,957
32
Lincoln, England
Okay, I get that, but I'm still confused. I have Siri phrases for all shortcuts, but that's what I say to Siri to make her do whatever thing. There is no option to run the shortcut to tell her what to say back within the shortcut for something else.

There is a way of doing this and it simply involves the saving and reading of files.

Please see attached screenshots. Set sound is the shortcut that records what you want the get sound shortcut to play. Get sound then plays that audio.

Make sure the file path in both shortcuts is the same. I called the file getsound.m4a but you can call it whatever you want.

Edit: this of course uses your voice and not Siri’s voice. If you want to use Siri’s voice you could instead write a phrase to a text file and have siri read and dictate that. Let me know if you need help with this.
 

Attachments

  • 17306F06-946F-4D68-B442-EA110D39140D.png
    17306F06-946F-4D68-B442-EA110D39140D.png
    196.7 KB · Views: 210
  • E347844F-C262-4C26-8B1A-49724924DB36.png
    E347844F-C262-4C26-8B1A-49724924DB36.png
    159.5 KB · Views: 144

gwhizkids

macrumors G5
Jun 21, 2013
13,259
21,402
Okay, no, that wasn't what I was hoping for. I was saying that, on top of adding my command phrase, I wish we could also specify what Siri will say back to that particular command phrase. Like instead of saying, "Okay, your scene is set" or whatever generic thing, I could specify "When I say this, you respond with this."
Yeah, I don't think you can do that yet. You could set up a set of different replies in a list and then pick from the list, but I don't think you can have a "conversation" with Siri (yet).
 

wolfpackfan

macrumors 68000
Jun 10, 2007
1,549
16
Cary, NC
Is there a secret to using the shortcut titled Copy Clipboard to Notes? I keep trying this one, but nothing ever gets copied to Notes. This would be very useful to me. Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.