r/shortcuts•
Crypto-

Is it possible to have a shortcut run randomly 10 times a day?

Request

I have a very simple shortcut that reminds me to do a reality check for improving my Lucid Dreaming chances.

I'm trying to have it automatically be triggered throughout the day, ideally it should be randomly up to 10 times. I'm trying to have it be organic so it translates well to dreams.

My only current solution would be creating 10 automations to run throughout the day, though its not random and it's not a very elegant solution. Any ideas would be much appreciated!

Posted Jul 16, 2021, 6:34 PM UTC

418
X888l•

The best solution I’ve seen is to make 10 diff automations set to 10 different battery percentage triggers :) as that is likely to vary a bit randomly throughout the day :) not my idea!

6
lostcat420•

you could do this and also add a Get number between 1 and X If number is Y, run shortcut, otherwise nothing

1
club_cumulus•

If you're open to using reminders, you could make a shortcut that sets however many reminders you want all at once and all at random times.

I have a shortcut that has two lists, one for the hour and one for the minutes. The shortcut gets a random item from each list (ex. 3 & 45), puts them together in a text box ([item from list]:[item from list] --> 3:45), and then creates a reminder at the chosen time, and the whole thing is inside a repeat block so you can set as many reminders as you want at once.

You'd have to trigger it once in the morning to set your reminders for the whole day, or you could set it as an automation for a specific time.

5
aavocados•

if you never end up finding a shortcut just have your triggers be spam calls. I swear I get up to 10 of those per day at the most random times

4
mvan231•

That's not a possible trigger

1†
Dioxybenzone•

Uh… yes it is? I might not have argued if you hadn’t said ‘not possible’

1
mvan231•

It's not an argument. It's not possible to trigger a shortcut based on spam calls. If you believe it is, how did you make it happen?

Edit: not sure why I'm being downvoted but glad you're enjoying it

1
Dioxybenzone•

Sorry, I misunderstood; I thought you meant you couldn’t use spam calls to trigger a lucid dream

5
[deleted]•

The trigger for being reminded to do a reality check manually is a spam call, not the trigger for running shortcut automation.

The same way a timer rings and you intermediately know that it's time to check for the food that's in the oven.

1
[deleted]•

[deleted]

1
redo314•

Make it run every hour or time intervals you want, then make a if random variable. So it just reminds you if the random variable is true.

1