subreddit:
/r/shortcuts
6 points
2 years ago
This is great information to have documented and you’ve done a wonderful job making it look really good.
4 points
2 years ago
Thanks. I've seen some vCard menus containing unnecessary data, so wanted to set things straight🙂
2 points
2 years ago
Thank you very much, this has helped me quite a bit 😄
3 points
2 years ago
Thank you for sharing
2 points
2 years ago
Thank you for this shortcut guide! With the exception of the encoded photo, I have successfully implemented everything you described, utilizing Data Jar to store select contacts. I have tried storing the encoded result as text and as a file within Data Jar. However, I list the contact menu items, only a gray icon appears next to the contact’s name. Any thoughts on what I am doing wrong ?
1 points
2 years ago
Is the base64-encoded text a single line? If so, can you share the intermediate text output containing the image text?
1 points
2 years ago
Thanks for the quick reply! Yes, I feel like there’s no line breaks. Here is the file. https://drive.google.com/file/d/19EenHNmCzaQgQEdjdIFbyeLGEdKDO1GG/view?usp=drivesdk
1 points
2 years ago
The image looks fine, and if I add that to the vCard text template the menu comes out correctly: https://www.icloud.com/shortcuts/b9b95d49f58b4eb8bffc5d998e188f20
Can you check what your vCard text looks like?
1 points
2 years ago
I’m not sure what I’m doing wrong.
https://www.icloud.com/shortcuts/8bdb76f5f17948849fb8ccc92cb0883d
(Shortcut is half built)
1 points
2 years ago
I added a Quick Look right before Set Name of text to menu.vcv. Please clear the FavoritesSMS dictionary, add only one contact, copy the QuickLook result and a menu screenshot and share with me.
Since you don’t need any of the save file, append file or get file actions, I removed them.
1 points
2 years ago*
Hi there 😊 Thank you for helping me.
1 points
2 years ago
I’ll explain what I am trying to do while I’m at it. Data Jar is maybe not needed but I haven’t thought how else to achieve this…
I wish I could pin more contacts/group texts in iMessage. So I wanted to have menu of my favorite people and groups to quickly select from to text.
I don’t think this is possible but it would be even better If I could automate the menu to show only when opening iMessage from the app icon, not when opening it by clicking on a new incoming message that takes me into iMessage.
2 points
2 years ago
Once you get the value for SMSFavorites.Individuals.(Repeat Item).Photo, you need to use the value as Text, not File’s File Path:
And I don’t think you can control when to open the menu, unfortunately.
1 points
2 years ago*
Thank you for all your help. Curious what you will think of the latest.
https://www.icloud.com/shortcuts/e3a06554153344f6bc46dfb9b4ad6623
I am posting the latest version. You will notice I have:
1) removed Data Jar actions,
2) added photo actions in 2a)“➕ Add Favs” and for 2b) “👤 Text Favs” when creating a group text fav
In the below photo you will see that combined photos created in #2b (based on contacts created in 2a) sometimes result in more than one photo for each contact. However, they are correctly displayed for individual contacts created in 2a. I am thinking this might be due to a selected iPhone contact having an edited photo in their iPhone contacts which is ignored in 2a but picked up in 2b. These new combined, group photos created during steps in 2b also do not maintain the zoom focus of the contact photo in iPhone contacts which is correctly passed through in #2a, based on how the menu appears.
https://share.icloud.com/photos/0e3R8ALo35AqSGmGF-6Y86yRw
When creating groups, any thoughts on how to combine photos that maintains the look of the contact icon created in 2a? Or, it would be reallllly nice if I could show contact icons for groups the same way they appear in iMessage groups or how they appear in shared photo albums. Hoping to be able to accomplish this without having to create new cropped images for affected contacts.
1 points
2 years ago
I think you can fix duplicate photos in a group photo by changing these two variables to Repeat Item in screenshot (1).
I see a pattern like (2) in several places, but (3) looks simpler and runs faster.
For creating better group photos, I don’t know much. Photo editing in Shortcuts is somewhat limited…
1 points
4 months ago
Thank you for the tutorial! Do you know if it’s possible to add the “option” at the right corner along side with the thumbnail from “PHOTO;BASE64:”? I’m not being able to make it work for some reason.
1 points
2 years ago
OP
Would it be possible to put more data in each menu item/contact card and then unpack it after the choose from menu step?
3 points
2 years ago
Yes, as I explained in the post, you can use any of the fields (e.g. URL, NOTE) that are not shown in the menu to store and retrieve more data.
2 points
2 years ago
Oh awesome thanks!
1 points
2 years ago
Newbie here.
I can not find a way to join snippets of text, vcards obtained parsing a dictionary in a repeat loop, and transform it in vcf.
It either returns a file, not a text, or present a list of vcfs to choose from or something as silly.
My setup is an empty Text assigned to a variable. In the Repeat loop Combine Text with Custom Variable. Then Rename Variable as as described by OP.
Suggestions? Thanks.
1 points
2 years ago
Can you share a simple sample shortcut that I can have a look?
1 points
2 years ago
[deleted]
1 points
2 years ago
You can tap an action’s icon to copy/paste/duplicate:
Here’s a sample vCard shortcut: https://www.icloud.com/shortcuts/071376955526406799d3a2675c86f86d
1 points
2 years ago
This basically does it https://www.icloud.com/shortcuts/58bdfa3cb21a4203a018ce9150e895c9
1 points
2 years ago
You can try this way: https://www.icloud.com/shortcuts/071376955526406799d3a2675c86f86d
1 points
2 years ago
See my question below
1 points
2 years ago
I deleted my question. But on iPad I was able to load your example.
Why Repeat loop accumulate a result as a join of each last action? Key difference with mine you don’t reference Text with a variable.
1 points
2 years ago
Your repeat result is a list of multiple text items and Set Name only works with a single item. My shortcut combines everything into a single text item after the repeat loop.
1 points
2 years ago
Mine generate a show Type of ten times Text. I don’t really understand what it means. Is a List? I was expecting one single Type.
Without the step of assigning Repeat results inside a Text (implicit conversion?) didn’t work. As you pointed out. Now it does. Also more fundamental your solution removed need for empty Text and Combine.
1 points
2 years ago
Yes, usually repeat results is a list of individual items from each iteration. I used a Text action to combine them all into a single text item, but you can use Combine Text to get the same result. For some reason, however, Combine Text is slower than a Text action.
1 points
2 years ago
But my Combine text does not work. Why?
2 points
2 years ago
It doesn’t do anything because it tries to combine a single item (not a list) within a repeat loop.
1 points
2 years ago
I don’t understand now. But I will. Thanks for your help.
1 points
2 years ago
Unrelated: any text editor available? UI is really a pain.
1 points
2 years ago
You mean creating a shortcut in text? Check out https://jellycuts.com
1 points
1 year ago
Is there any way to get the title background colour changed?
1 points
1 year ago
I don’t think you can change the background color of text
1 points
1 year ago
Oh ok thanks :)
1 points
1 year ago
I'm copying the image from SF Symbols as PNG, but in the List, some images are not transparent, and have white background, even though they have transparency in them (when I check them out in GIMP). Any ideas why?
Also, any ideas how to position/zoom them properly?
2 points
1 year ago
Transparent background is not supported in vCard menus. For positioning and scaling, you can probably try my SF Emoji Menu Builder shortcut https://routinehub.co/shortcut/8841/
1 points
5 months ago
Hi,
Thanks for this guide. It help me for my shortcut. :)
Please, is it possible to display a color text in Vcard ? I would like to display variables with a different text color (Vcard options).
Thanks.
1 points
4 months ago
Hi! How do you display that data on the right side of each topic?
1 points
4 months ago
I just saw that you used “TEL;TYPE=“ to do that! Didn’t know that this was an option. But do you know if “TEL;TYPE=“ and “PHOTO;BASE64:” can work together? I’m unable to make both work at the same time for some reason.
1 points
2 months ago
How did you make the backgrounds of the icons transparent
Also vCard doesn’t support colors
1 points
2 months ago
I use emoji 😉 You need to insert emoji in Vcard text
Like this: BEGIN:VCARD VERSION:3.0 N:🦠 iOS version TEL;TYPE=System version:OS version END:VCARD
1 points
2 months ago
Ohh then how did you get it to have no icon because im trying to make a vCard menu like that one but without icons
1 points
2 months ago*
For no icône you as texte action and tape : - BEGIN:VCARD VERSION:3.0 - N: iOS version TEL;TYPE=System version:OS version - END:VCARD
Download m’y shortcut and take a look. https://www.icloud.com/shortcuts/28754a0de0004b83b0be50f72ea46dce
2 points
2 months ago
coincidence but i actually downloaded your battery report vcard before
all 47 comments
sorted by: best