Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Frank M

macrumors member
Original poster
Aug 20, 2019
68
4
New Jersey
New to Shortcuts, thanks to all who have responded to my previous posts.

A new shortcut I am developing has the following:

1. Show Alert
2. Select Phone Number
3. Get Details of Contacts
4. Ask for Input... “Enter description of ...”
5. Get Text from Input
6. Count (characters)
7. If 0 .... (meaning nothing was entered)

At this point is there a way to get back to
#4 to reenter a description (a second, third, ... time) until something is entered.

Thanks,
Frank M
 
I've hacked it in the past.

3a: Repeat for 10, 20, 30 whatever times
7: If greater than 0, do stuff, and Exit Shortcut
 
Last edited:
I've hacked it in the past.

3a: Repeat for 10, 20, 30 whatever times
7: If greater than 0, do stuff, and Exit Shortcut

Took your advice with the Repeat statement (which I had never used), rearranged my existing ShortCut statements, and got my newly updated Shortcut to work.

Very happy to have joined this forum and having people like you answer my questions.

Again thanks,
Frank M

PS: also was able to incorporate logic using the Repeat Index to determine how many times
the same situation occurred.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.