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

Images

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



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
Loading comments…