Who likes subroutines
If I think of a few actions that I'm going to reuse over and over, I'll make a dedicated shortcut to reuse instead of copying them over and over. Use the Run Shortcut action to call another Shortcut from inside your current Shortcut. Here are a few that others might find useful:
Text
- _textIntoImage - creates a white image with black text, great for memes. Is based off of this shortcut. Thanks u/KurokoNB !
- _textSarcastic - makes the text tAlK lIkE tHiS. Not perfect, but a fun one. You can highlight text in iOS and share it. The text will appear on your clipboard at the end of the shortcut.
- _textAddClapping - adds the hand clapping emoji in between words.
- _textShaveFirst and _textShaveLast- shaves off the first and last character in a string, respectively.
- _textRemoveFrontSpaces and _textRemoveEndSpaces - removes any leading and trailing white space in a string, respectively.
- _textReverse - reverses the text passed in as input.
Images
- _imagesSameWidth - takes in multiple images and makes them all as wide as the smallest image.
- _imagesSameHeight - same as above, but for height.
Numbers
- _numAddCommas - adds commas to a number, like 1492 -> 1,492.
- _numAbsVal - returns the absolute value of a number.
Dates
- _eventsRightNow - finds all events currently taking place.
- _dateLateNight - checks the current date. If it's early next morning when run, it'll return the previous day at 11:59PM.
Utility
- _listRandomize - randomizes a list
- _listReverse - reverses a list of items.
- _googleQuery - googles the text passed in as input.
There isn't a whole lot of error checking, so be careful; treat your shortcuts like you treat your alcohol and be responsible.
Posted Oct 18, 2018, 1:45 AM UTC
1717