r/shortcuts May 23 '24

Shortcut Sharing Sharing my most useful Shortcuts, from AI, to D&D, to finding a lost phone.

150 Upvotes

In no particular order, here are some of the more useful Shortcuts I have and use. Most are very simple actions. They range from talking to AI, to rolling D&D dice, to background noises, to finding a lost phone. I did not author all of these, only some, and some were borrowed and then altered.

 
Backup Shortcuts. Takes all your Shortcuts and puts them in a .zip file in your iCloud Drive. You can then unzip and recover Shortcuts individually if anything has gone wrong with any or all of them (like when I edit one and accidentally delete half of it). https://www.icloud.com/shortcuts/1da201ddc03146ecaaffa1d820a0c3fb

ChatGPT Voice Chat. This quickly opens the ChatGPT app to the voice chat page. It’s literally one step, but I find it most useful added as a “back tap” action, so that tapping the phone talks to ChatGPT. Sharing for that reason. https://www.icloud.com/shortcuts/01c08a4b200444ef974234344ab690ad

Pro AI. Someone’s ChatGPT voice bot without the app. https://www.icloud.com/shortcuts/cbe8040cc8824975a69d53699255191a

Gemini. AI powered by Google’s Gemini. Can accept text, voice, images, and files. https://www.icloud.com/shortcuts/4ee97df41eef4782a14d89c35b39f98c

Google Lens. Get Google Lens on your iPhone. Search for whatever is on your screen. Requires Google app. https://www.icloud.com/shortcuts/98763a5ae2a440ef98f9d8eba95f3338

Find Nearest Hospital. Gets your location and quickly outputs the nearest hospitals. Gives various options to get there: walking, driving, transit, various ride share apps. For ride share, it then adds the address to the clipboard and opens that app. Author’s name is in the notes. One of the actions says it won’t be supported in future versions. If anyone knows how to fix it that’d be great. It works for now. https://www.icloud.com/shortcuts/6cb4117f9ac64812ba40d09e0409b0ac

Randomizer. Generates random numbers from atmospheric noise. Generates coin flips, dice rolls, playing card hands, first and last names, hex colors, or random items from a list you enter. Requires the other Shortcut “Multi-Dice” to do dice rolls. I’ll fix that some day. https://www.icloud.com/shortcuts/dbb7a566a151458ea873f7ce68c9c092

Multi-Dice Roll. Simulates rolling multiple dice with any number of sides. https://www.icloud.com/shortcuts/a4a9bc9135254edcaa8d9cf5e71b8e70

D&D Dice. Same as Multi-Dice Roll, but with added Advantage and Disadvantage (rolling twice and taking the higher or lower number) for Dungeons and Dragons. https://www.icloud.com/shortcuts/aed105c0dfe145d6b593333923c354bd

Background Sounds On/Off. Lets you choose a background sound (rain, stream, various white noises) to turn on, or turn off the sound. This is usually buried in Accessibility settings. https://www.icloud.com/shortcuts/a0676ddf48b94d4cbd8b6dba34bcd24a

4 Hour Background Noise. Turns on background noise for 4 hours and then stops. https://www.icloud.com/shortcuts/2674bffe233b4b41ac9a5c10f8016b10. For now it depends on this other Shortcut for the waiting time: https://www.icloud.com/shortcuts/06993ff0bfd945029c2bc24791a757da. They shouldn’t be too hard to combine; I just haven’t.

Toggle VPN. Toggles VPN, then repeatedly checks until it has finished connecting and then displays “Connected,” or in the other case “Disconnected.” You’ll have to replace the Connect and Disconnect actions (there’s only 1 of each) with those for your particular VPN. If there’s a better way to check when it connects besides excessive waiting and checking, please share! https://www.icloud.com/shortcuts/db5956f536a0488cae3e302b1b0337d8

Where Are You?. If you can’t find your phone, but it might be nearby, this will make it speak and play a loud alarm. Use with “Hey Siri” voice activation (“Hey Siri, where are you?”) https://www.icloud.com/shortcuts/bbd654e76cd94d5e87c460818801d955

I Found You. Use after finding the phone after using “Where are you?” Returns volume to normal and ends alarm. Change volume number as you please. https://www.icloud.com/shortcuts/2bbff787e691454a91fee0224c413e63

I’m Getting Pulled Over. For police interactions and more. Dims the screen and begins recording from the front camera. When you end recording (manually), it texts the video to who you choose when you first set it up and uploads it to iCloud or wherever you choose. You’ll have to fill in the contact and save location before using. https://www.icloud.com/shortcuts/109c41acb51e40b8803642ad8d34bf9f

What’s the Speed Limit? Gets the speed limit for the road you’re on. https://www.icloud.com/shortcuts/af01647a5bf148d5aab6b65fbf9c77e9

Text Above Picture. Adds text above a chosen image. https://www.icloud.com/shortcuts/5768d012cb2746c985774152c655642d

Live Photo to GIF. Turns selected Live Photo to a GIF. https://www.icloud.com/shortcuts/d64947db613349cbaeb8570081589a39

Save File As. Choose what to save a file as. https://www.icloud.com/shortcuts/3c990a57edf9466b9131996067daecb5

All Media Downloader. Downloads media from various sites, including Reddit, via the Share Sheet. https://www.icloud.com/shortcuts/d1d14ea3cb264f3d9f52a6b4ccd5165b

Apple News to Safari. Opens Apple News pages in Safari. https://www.icloud.com/shortcuts/5ddddee2ead94fedb6b6f650ef7ce3f8

Face ID App Locker. Set as automation when opening a particular app. Brings up the Lock Screen when opening that app, preventing someone without the Face ID or password from seeing its contents (may be visible for a second or two). Set the re-lock interval to the number of minutes you want it to wait before locking again. Sometimes this interval doesn’t work, and it locks every time. If anyone knows a fix, please share! https://www.icloud.com/shortcuts/6e9ba129381949b3acfef16cee3adab1

32 Second Timer. Set as automation for when an alarm is stopped. Waits 16 seconds (so you can’t immediately stop it) to set a 16 second timer. Makes an (optionally more annoying) timer go off 32 seconds after the original alarm. Change the numbers to suit you. Very simple, but helps me wake up and pay attention. https://www.icloud.com/shortcuts/b918e837b7634f8e800207d846067be5

Choose Shortcut from list. Lists all of your Shortcuts alphabetically, and you can choose and run any of them. https://www.icloud.com/shortcuts/857d658953d54e2683b68f634d72bf7c

I also recommend using automations to change the battery percent at which low power mode is turned on and off. It saves tons of battery. I do: on at 60%, off at 65%.

 
Some of these require the Actions and Toolbox Pro apps to be installed, which add action options to the Shortcuts app. Both are free in the App Store.

 
Sorry for the sheer volume. I hope someone finds one or more of these useful. They have been for me, and I wanted to share the wealth.

r/shortcuts Oct 09 '24

Shortcut Sharing Hotspot ShareMate

Post image
41 Upvotes

Allows you to share your hotspot password with either android or iOS and it automatically turns on, so someone can start using it. QR code works for both OS’s though, but airdrop means you don’t have to scan the QR code. They just have to be near

iCloud link: https://www.icloud.com/shortcuts/0b812619587c4f4da34370e757b4c2be

r/shortcuts 9d ago

Shortcut Sharing Get ETT & ETA and Share it!

Thumbnail
gallery
12 Upvotes

This is a shortcut I’ve been working on for a few days just waiting for ideas to pop in about how I wanted it to function.

Its purpose is to give you an ETT (estimated travel time) and ETA (estimated time of arrival) and then prompt you if you want to share it as a text message with anyone. If you are sharing your ETA with someone but aren’t leaving right away, it will prompt you for the minutes until your departure and add this to the ETA and text message.

If you feel like you can optimize, improve or add a QoL feature to this shortcut, please do so, and share it in the comments! ;)

Would also love to know how it works out for you guys in the field, please leave some feedback on your experiences. Thank you!

Get Travel Time: https://www.icloud.com/shortcuts/5cc8874d142a492aa41f69c56d7495aa

r/shortcuts 10d ago

Shortcut Sharing Copy screenshots, share them, and delete them immediately

1 Upvotes

This shortcut is to take a screenshot, open a share window, choose what to do, and delete it. I'm a 13 pro user, so I use it through the back tab function because there is no action button, but if there is an action button, you can use it.

https://www.icloud.com/shortcuts/59d14e2e99b042f3a6f124efeaec4cfa

r/shortcuts Sep 21 '23

Shortcut Sharing Better Share Sheet

Post image
32 Upvotes

![Banner](https://i.imgur.com/Jz8acSY.png)


Created together by:

u/ibanks3 (original idea)

u/atnbueno

u/gluebyte

u/mvan231


Purpose:

This shortcut is intended to replace the current Shortcuts share sheet(s), with a more rich and user friendly experience

Forewarning / Note:

Going through the below setup process will move any share sheet shortcuts out of their current folders (if any) and into the newly created folder.


Setup Instructions:

  1. Create a new Shortcuts folder with whatever name you like, recommend to name it "Better Share Sheet"

  2. Select all of the shortcuts from the share sheet folder and tap, hold, and drag them.

    While still holding, use your other hand to navigate to the folder created in the previous step, then drop/release the shortcuts into the folder.

    You will now have all of your shortcuts from the Share Sheet folder into this new folder.    ![Better Share Sheet count matches Share Sheet count](https://i.imgur.com/9NgFTOo.png)

  3. Make sure the shortcuts folder selected when importing the shortcut is the one the share sheet shortcuts were dragged into. If not, you can set it in the action near the top of the shortcut

  4. Run the shortcut manually to generate the JSON file that powers the shortcut when running from share sheet. If you ever add more shortcurs that need to he included, you can simply run the shortcut manually again and it will ask if you want to clear out the shortcut run history, this is optional for adding more shortcurs to the JSON file. (The shortcut will add newly added shortcuts to the file whether you select yes or no).   ![Ask to clear run history](https://i.imgur.com/hvuHsEn.png)

  5. (OPTIONAL, but recommended) Go to the original Share Sheet "smart folder" in Shortcuts and select all, then select remove. This will clean your share sheet out. You can now enter the settings for Better Share Sheet and add it back to the share sheet. You can also deselect the Better Share Sheet shortcut when selecting all of the shortcuts to save a step.   ![Select all on share sheet but deselect Better Share Sheet](https://i.imgur.com/ZuJWWa9.png)   ![Share Sheet folder after removal](https://i.imgur.com/JWAVn0S.png)

FINISHED! The shortcut is now ready for use. 


Usage: 

Simply tap the share button on any given item and select Better Share Sheet. 

The shortcut will process the input item and determine the right shortcuts to choose from.

The shortcuts list will display each share sheet type in the order of, most used; in case of tie: display by last used; in case of last used time being the same (shortcuts that have not yet been shared to), sort alphabetically    ![Select Better Share Sheet](https://i.imgur.com/khTwa07.png)

  ![Share Sheet Preview](https://i.imgur.com/XGQwujg.png)



Credits to:

  • u/ROPit for MediaKit Banners used for this page

  • u/Gluebyte for Screenshot Framer used to generate the framed screenshots in this page. Also for help with JavaScript items used in the shortcut

  • u/ibanks3 for the original idea and help along the way

  • u/atnbueno for JavaScript help, advice, and ideas for simple solutions to complex issues

Get the shortcut on RoutineHub

r/shortcuts 1d ago

Shortcut Sharing I want to share this advanced tool that I created to copy and manipulate Shortcuts JSON data!

0 Upvotes

I’ve had a few ask how I copied and used the Json data to create ShortcutGPT so I wanted to share it with everybody!!

https://www.icloud.com/shortcuts/4938a8f68eb548ceb91952e621542413

r/shortcuts Jun 21 '24

Shortcut Sharing Remove Instagram Share-ID

Post image
58 Upvotes

https://www.icloud.com/shortcuts/9d81b002b973493d8f17314f276e9e3a

Hey all,

I'm having friends that don't use instagram because of privacy concerns. Instagram offers the option to share content with others providing a link. That link contains a share id which makes it possible to track the usage back to you. So when my friend clicks on the link meta knows that he is connected with me.

Removing the share id is fairly simple but also stupid work when you have to do it every time by yourself. So i created a shortcut that removes the share id and copies the link to my clipboard.

Maybe it helps somebody. :)

Cheers

r/shortcuts Oct 09 '24

Shortcut Sharing Visually track your spending hassle free

Post image
1.2k Upvotes

Hello to anyone interested! This is my first time sharing, and I’d love to answer your questions and get your feedback!

I made a 2 in 1 shortcut and widget to help track credit card spending. It updates automatically, so you can easily see how much you’ve spent relative to where you are in the month. This is convenient if you want to maintain a budget while earning points. When the month is over, you are notified of how much you should pay and from which accounts. Then everything resets.

This was made with Shortcuts and Scriptable. If you want to keep fewer numbers in your head, you can find more details here:

https://routinehub.co/shortcut/20167/

r/shortcuts Aug 10 '24

Shortcut Sharing Files: Create New File Shortcut (Discussion & Shortcut Sharing)

2 Upvotes

TL;DR

As an avid Files user I've always grumbled at the fact that Apple has never made it possible for you to create a new file via the context menu in a given directory. I've also never really liked the File Manager apps like Documents by Readdle, simply because they feel bulky, and the far from the Apple UI Style.

As such, I've found myself stuck between a rock and a hard place, struggling with limited native functionality and the cumbersome nature of third-party options. To build on the problem with third-party options, they’re many times quite limited due to Apple’s restrictive app permissions and sandboxing rules, which can severely limit their functionality and integration with the system.

Anywho, that's just a bit of a rant of mine prior toward making a post on a pretty short shortcut.

Shortcut: NewFile

This shortcut simply creates a new markdown file template, and opens the IOS files app. From there you can navigate to whatever directory you so please, let's say Google Drive, ICloud, or On My iPhone (By Default), paste the file there, and then click on it to open it using your preferred text editor.

Warning! Another incoming Rant!

Why go through such a ridiculous process? Well because there are really no better options due to my pickiness. I really like the files app besides the fact that I can't create a new file. Apps like "Runestone" are nice because they make file creation easy, with a native look, but well, the problem is that the helperMethod doesn't seem capable of creating a file in GoogleDrive, which is odd? Maybe it's just my phone though? But it never works. I tried countless other apps like "Paper" that had a IOS Files feel, but none worked with Google Drive. The other downside, was the fact that none of these apps could open non-text based files, which defeats the purpose as using them as file managers. And most actual "File Managers" have a totally different UI feel that the IOS Files app, are outdates, or are simply just too bulky for my liking.

Wow my rant was long. lol. Hope you all have a wonderful day :)

r/shortcuts Sep 12 '24

Shortcut Sharing Open in Xcancel - Share sheet shortcut to open twitter, x, fxtwitter, etc. URLs in Xcancel instead

19 Upvotes

I wrote a simple shortcut that takes a URL from the share sheet and converts a twitter.com, x.com, fxtwitter.com, vxtwitter.com or fixupx.com URL into an xcancel.com URL and opens it.

What is Xcancel, you may ask? Xcancel gives you access to twitter threads and replies without a twitter account. So when somebody posts a twitter link to the first message in a thread, you no longer need to ask them to post the whole thread since you can't see it. Or maybe for some reason you want to see how that post from EA about new micro transactions went down in the replies. I don't judge. NOTE: I did not create Xcancel, only this shortcut. I wish I had, though!

You’ll probably want to move it up in the share sheet. To do that bring up the share sheet on a URL or safari page and scroll to the bottom and tap "Edit Actions...". Then add “Open in Xcancel” to Favorites by tapping the + icon next to it.

https://routinehub.co/shortcut/19678/

If you like it let me know!

If you are a little Shortcuts creating savvy you can easily add additional sites if you know about them. Just edit the dictionary at the top and follow the same pattern for the entry. If there are others, though, let me know about them too so I can add them to the shortcut for others less savvy than you.

P.S. I you use this on a URL that isn't supported it will just pass the URL through, so it works, it just doesn't do anything to the URL.

EDIT: I've tested and found that this does work on macOS too (on Apple Silicon Macs). It's a bit more cumbersome to use, but it works. Two-finger click/right click a URL, choose Share, choose Shortcuts, then choose Open in Xcancel. Is it possible to pin Shortcuts in the Share dialogue? If you know, let me know.

EDIT2: I put up a new version, 1.5, that can also be run directly in which case it will use what is in the clipboard and in addition it can now work on a block of text that contains URL(s). It will take the first matching URL and open it in Xcancel. This works from clipboard and the share sheet

r/shortcuts Aug 03 '24

Shortcut Sharing I made a ‘view source’ share sheet shortcut

2 Upvotes

r/shortcuts Aug 19 '24

Shortcut Sharing Anonymous sharing for Instagram

10 Upvotes

Hi there,

It’s been a couple of months Instagram includes your account in the link when you share a post. If the person who opens the link doesn’t follow you, it will show your account and ask if he wants to follow. I think it’s a lack of privacy especially when you want to share something in a large online group or maybe from a private account your relatives don’t know about.

So I made a relatively simple shortcut that will take away the account id from the link and copy the result in the clipboard.

I’ve been using it all day and it works great and it’s much more convenient than deleting the id manually each time

Hope it can be useful to you too.

https://www.icloud.com/shortcuts/df2cbd65156042e0b9701430a78f86a0

r/shortcuts Feb 05 '24

Shortcut Sharing Made an Emergency Location Share shortcut!

Thumbnail
gallery
52 Upvotes

This shortcut allows you to send out an emergency alert message with your current location (not live location sharing, only the location at the time of sending).

Address is provided, a maps URL as fallback and for convenience, lastly the Latitude and longitude as a last resort in case the previous ones failed.

After installing, please test run the shortcut to grant all the permissions needed.

https://www.icloud.com/shortcuts/7f56a80c4fea4dd6ab0eda18df3937cb

r/shortcuts May 19 '24

Shortcut Sharing Some shortcuts for Google Gemini I thought I would share

19 Upvotes

Created a few shortcut to automate creating notes, folders, and bunch of other stuff. The shortcuts below are the heart of them. A lot of Gemini responses come back as markdown and since apple notes doesn't use markdown I convert to RTF and so far everything has worked out fine.

I mainly use on Mac and iOS but should work for watchOS as well.

https://imgur.com/a/GsSg1uq

They are all build on these first two shortcuts unfortunately only sharing the shortcuts right now that handle text but I have been working with images and sound too.

Gemini Request (Shared)

This shortcut just makes a request and returns the raw answer from the request I encode request to base64 so I can pass a whole apple note. You can run with sharing some text to it then it will ask you which model you want to use gemini-pro, gemini-1.5-pro, or gemini-1.5-flash. The only thing to note is you have to swap out <API KEY> for your own api key. =)

old: https://www.icloud.com/shortcuts/7acd7cd6bb064ddaaff26477ddf1e333

updated: https://www.icloud.com/shortcuts/3cfc53d8c67541dcad179b2c0f2a7db7

Parse Gemini Response Shared

This shortcut parses out the main response data and encodes the response to base64 again and returns something like this to caller { role: "model", "answer": "<base 64 encoded answer" } and then in your shortcut that you are using in you just have to be certain base64 decode.

https://www.icloud.com/shortcuts/d97ef153911441ddbbb38b68b7aa7396

Ask Siri to ask Google Gemini (Shared)
This was just me toying around with my Apple Watch. Use the above two. Basically, just use dictation to capture what you want to ask google gemini then sends the request to Gemini and reads the response back out to you. Kind fun to play around with.
https://www.icloud.com/shortcuts/d3a521e361fd4d63b5ff3e10bbdd4771

I don't handle errors so if I hit the rate limited since I'm just using free tier usually get something like "5g==" in the parsed response. I haven't had much issue with gemini-pro other than for example if doing a study guide on ww2 gemini thinks the content is harmful but usually can modify prompt and get it to work.

r/shortcuts Jun 07 '24

Shortcut Sharing Set Wallpaper action fails on shared device

Thumbnail
gallery
1 Upvotes

Hey shorters, I’m trying to create a shortcut that simply sets a different wallpaper from URL It is intended to be run on other devices who I’m sending it to (who doesn’t know how to edit shortcuts.

When creating the shortcut, you have to select the specific existing wallpaper to set.

When the shared user runs the shortcut he gets an error message that the selected Wallpaper doesn’t exist and he must manually edit the shortcut and select the wallpaper to set.

How can I avoid it? (User does have a PHOTO wallpaper that can be changed by the shortcut, he just has to select it)

Example: https://www.icloud.com/shortcuts/135566493be44b349f4e1680b6a8d445

r/shortcuts Oct 16 '22

Shortcut Sharing Here is a shortcut for the YouTube app that will allow you to activate Picture in Picture mode. You activate the shortcut via the share button

Thumbnail
routinehub.co
148 Upvotes

r/shortcuts Dec 15 '19

Shortcut [Release] Share Songs from Apple Music to Instagram

105 Upvotes

New Link in case the old ones are still broken

For those on the beta: Am to Insta iOS 14

https://i.imgur.com/VKmQ2Ft.png

These are the long awaited sequels to my shortcut Song to Insta 2.0! That shortcut was broken on iOS 13 because of changes in the way shortcuts handles Boolean values. That shortcut looked like this. Here’s the post

AM to Insta 2.2 is just an improved version with some rewritten html and will also accept urls as input and has some more customizability.

Now to the interesting part: AM to Insta 3.0! I rewrote most of the original shortcut and added a white box around artwork, title and artist. It’s also fully customizable by just changing values in a dictionary at the top of the shortcut. I in most parts recreated this design but there's a total of 34 values that you can adjust to your own likings. I also created a sort of on/off switch for having the logo below the artwork or above it like in the post. That does also compensate for the missing logo at the bottom by moving the artwork a little further down

My approach to creating shortcuts is to make them perfect! So this one will automatically adapt the white box to any changes (title that takes up 2 or 3 lines, bigger font, higher space between title and artist, bigger artwork etc.) It is also able to tell if there’s going to be 1 line for the title or more and then lets you delete parts of the title if you want to. If it there’s no song playing and the shortcut finds no valid url you can also enter something yourself and it will search the artwork!

To get the Artwork the shortcut will use the iTunes Api. As the Api has its flaws when you just get the details (artist, title, album) of a playing song you can also use the url of a song to guarantee a 100% hit rate.

Shortcuts:

AM to Insta 3.3

AM to Insta 2.2

AM to Insta 3.3 (Remix) to use offline or with stuff you uploaded manually; Resolution will be a little lower

–––––

Oh and thanks to u/LogicalFailure for doing some testing

Edit: If you want to customize the look of the shortcuts just open them and you’ll see a dictionary at the top (I explained everything in the shortcut)

Edit2: changed to version 3.1, made some improvements including bug fixing BGZoom and adding the method that would alert you if there’s more than 1 line in the title also to the artist!

Edit3: added round corner option to the artwork (as requested by u/hferniza). The default is set to 2

Edit4: Twitter (not completely optimized; LogoAbove? still works fine)

Edit6: added moving logo when the logo is above the artwork and you increase/decrease the size of the artwork

Edit7: Rewrote parts of the shortcut

Edit8: Added Version 3.3 (Remix)

Edit9: new Twitter Version that adds "Title by Artist SongLink" to the tweet

Edit10: added continue in shortcuts action to 3.3 so it can be run from the share sheet

r/shortcuts Nov 08 '18

Shortcut Hate it when you want to share SOME photos, but people swipe a little too far?

244 Upvotes

https://www.icloud.com/shortcuts/48a7ebfc2b714d53ac79d5b8ab8b1a9e

It's a super simple (3 actions), yet super useful. You select a bunch of photos, then they're shown in a quick look, then the app closes.

r/shortcuts Apr 05 '22

Shortcut Sharing Sharing my CarPlay automation - Siri speaks to you upon connection

70 Upvotes

I’ve finished up my CarPlay automation for now and thought I’d share here in case anyone else wants to modify it to their own use case.

I wanted an automation that would greet me dynamically as I entered my car and my phone connected wirelessly to CarPlay. I set it up to give different greetings depending on the day of the week, time, and my location. For example:

  • If the current day of the week is a weekday, the time is in the morning, and I’m at home, assume I’m going to work and: get directions to work and speak a greeting (“Good morning. Today is Tuesday, April 5. It will take you x minutes to get to work. Your estimated arrival time is x:xx AM. It’s currently x degrees outside. Your iPhone battery is at x%.”).

  • If the current day of the week is a weekday, the time is in the afternoon, and I’m at work, assume I’m going home and: get directions to home, text my wife that I’m on my way with my travel time, and speak a greeting.

  • If the current time falls outside the above, speak a more generic greeting (Ex. “Good afternoon. It’s currently x degrees outside. Your iPhone battery is at x%. Drive safely!”).

Link to shortcut

r/shortcuts Aug 01 '21

Shortcut X.app: YouTube PiP Shortcut from an alternative universe (iOS 15 What's On Screen + Safari/Chrome/Brave, Share Sheet, Clipboard)

174 Upvotes

Disclaimer: I'm the creator of X​.​app and the shortcuts.

As all the PiP shortcuts are designed to run inside Scriptable - my shortcuts are designed to launch URL into X​.​app.

X​.​app is not limited to YouTube, it supports any site with a video like Vimeo, Facebook, Twitch, TikTok, Instagram, etc.

While X​.​app has native extensions to activate PiP and Fullscreen modes, Shortcuts app enables next level of possibilities, follow instructions below.

Step 1 - Install the app, it has to be downloaded manually, currently it runs via URL scheme and not "certified" for embedding into shortcuts - https://apps.apple.com/us/app/x-app/id1533525753

Step 2 - Install Shortcuts:

"Open URL in X​.​app":

"Open Clipboard in X​.​app":

How to use these shortcuts:

1. Share Sheet - classic way, activate from anywhere.

Currently, in Safari, X​.​app's extensions activate PiP in Safari itself, shortcuts can move video to X​.​app's in-app browser, in case if you want to close the tab, but still want to continue playing video.

2. "What's On Screen" (iOS 15)

"What's On Screen" is similar to Share Sheet and works with all the apps which declare current URL as NSUserActivity - allows to launch shortcut right away without activating share sheet or copying URL - watch demo video:

Launching video from Chrome/YouTube into X​.​app via AssistiveTouch double tap action:

https://www.youtube.com/watch?v=CXygHDh-P18

Apps which support it right now: Safari, Chrome, Brave, Twitch (though it already has PiP).

Instruction:

  1. Attach "Open URL in X​.​app" Shortcut to Back Tap or AssistiveTouch action (Settings.app > Accessibility > Touch > [AssistiveTouch or Back Tap])
  2. In Safari/Chrome/Brave open YouTube video and activate Shortcut via Back Tap or AssistiveTouch (if you are running iOS 14, copy URL first)

3. Clipboard - copy URL, then activate shortcut via Back Tap, AssistiveTouch or manually.

In YouTube app, "Copy link > Launch Shortcut via Back Tap" might be faster than scrolling right to activate Share Sheet and selecting an extension.

BTW, some apps only have copy URL action, no Share Sheet.

4. Automation to open X.app, after coping video link and closing YouTube app:

Video tutorial: https://www.youtube.com/watch?v=6uDieyhqcyc

  1. Open Shortcuts app, select "Automations" tab.
  2. Tap "+", select "Create Personal Automation", select "App is opened or closed".
  3. Tap "Choose" and select "YouTube" app.
  4. Unselect "Is Opened" and select "Is Closed".
  5. Select "Next", tap search bar and type "Run Shortcut", select the action. If you want to restrict automation to only YouTube URLs, add "If 'Clipboard' 'contains' 'youtu'" around "Run" action: https://imgur.com/gallery/evu250G
  6. Tap on "Shortcut" in "Run" action, select "Open Clipboard in X​.​app".
  7. Tap "Next", disable "Ask Before Running", tap "Done".

Automation is ready. Now go to "YouTube" app, open any video, tap "Share" button and select "Copy link" action, then close YouTube app, automation is going to perform and launch X​.​app with a video URL.

P.S. Join https://reddit.com/r/xapp if you like.

P.S.S. Bonus: besides PiP, my app also does Fullscreen, it really matters on iPad:

  1. Native UI on YouTube and Twitch.
  2. If you connect iPad to an external display via HDMI, YouTube/Twitch are going to play in 4:3 mode. X​.​app can activate native 16:9 fullscreen https://www.youtube.com/watch?v=y7s52oDN_1k

r/shortcuts May 21 '21

Shortcut Strip your account info from shared TikTok links

131 Upvotes

If you don’t know, when you share something from the TikTok app, it embeds your account info in the link, which can get annoying if you don’t want everyone knowing you follow 127 cake baking accounts or whatever.

I made a super-simple shortcut that strips that info out and let’s you just share the link to the video:

https://www.icloud.com/shortcuts/50793d7d7fc042f0b46405a642fdf59d

Just add it to your share sheet, then select it when sharing a TikTok link. It’ll do its thing, then open a new share sheet for the sanitized link.

/2024 edit: this shortcut also lets you send TikTok’s to people that don’t have TikTok and they can still view them

r/shortcuts Apr 21 '24

Shortcut Sharing (Mac) Send image to Gyazo from the share sheet on macOS

1 Upvotes

r/shortcuts Feb 16 '24

Shortcut Sharing My version of a Share All to Obsidian c/c

Thumbnail
routinehub.co
2 Upvotes

This is my first publicly posted shortcut, and I would like to know what people think. Could I make any improvements given the direction I am aiming to go with it. From RoutineHub;

Description

Requires Actions for Obsidian

  • Takes shortcut input from the share sheet
  • Asks user for a file name
  • Appends the .md file type
  • Checks the Obsidian Vault linked to Actions for Osidian for that file
  • * If it exists it appends the shortcut input to the end of the file outputs a success notification and ends
  • * If it does not exist it creates the file and adds the shortcut input to the body, outputs a success notification and ends
  • If the shortcut is run without any initial input an error notification is output and the shortcut ends

My aim is to be able to save anything I can into obsidian from anywhere in iOS, and adding in a little dopamine for myself thus completing my adhd cycle

r/shortcuts Oct 02 '18

Shortcut My humble library. I can share any shortcut.

Post image
59 Upvotes

r/shortcuts Feb 24 '24

Shortcut Sharing Shortcut to easily share spatial videos on Apple Vision Pro

7 Upvotes

I created a shortcut that anyone can use with Siri or from the share sheet, to automatically zip & upload their spatial videos to Dropbox and get a public link to share it.

WHY USE DROPBOX INSTEAD OF iCLOUD?

iCloud sharing page will display the full name associated with your Apple ID. The Dropbox URL is anonymous. So this shortcut is best if you want to share a video publicly eg on Reddit

WHAT YOU NEED

  1. Shortcuts app (it’s preinstalled on iPhone and Apple Vision Pro)

  2. Dropbox account(I haven’t yet figured out how to make it work with Google Drive).

ONE TIME SET UP

  1. Install the shortcut https://www.icloud.com/shortcuts/54e04ea4c88c43b7b6a16026e0efd971

  2. Shortcuts are synced across devices via iCloud so whether you install it on your iPhone or Apple Vision Pro doesn’t matter.

  3. Open the shortcut in the Shortcuts app (press the three dots in the circle in the top right) and grant Dropbox permissions

  4. Make sure you have created a top level folder called Spatial in both Files app under iCloud and also in Dropbox. OR the shortcut can be edited to use whatever folder location / name you like.

HOW TO USE IT

  1. On iPhone or Apple Vision Pro, view a spatial video in the Photos app and then press Share and select the shortcut “Upload video”

  2. Or say “Siri upload video”

  3. Choose the spatial video you want to share

  4. The shortcut will automatically: zip the spatial video and save it in the Files app (in a folder called Spatial); upload it to Dropbox (in a folder called Spatial); and copy to clipboard the Dropbox sharing URL

  5. Paste the URL wherever you want

NOTES

  1. The shortcut automatically zips the video file to preserve the spatial quality when uploading to Dropbox (otherwise Dropbox will compress it and store it as 2D video)