ShareShortcuts

Lock a App

Lock a app can put a password on any app that you choose!

coolm
Fork “Lock a App”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so coolm gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
25K
Saved
0
Actions
15
Category
Utilities
Version
1.0
Language
EN

Lock a app can put a password on any app that you choose!

What's New

Version 1.0

First release

Version History
1.0 Apr 9, 2024

First release

What it does

15 actions
  1. Comment
    How to put a password on a app! Step 1. Select a app in “Open App” action Step 2. Put a password(Default password is “1234”) Step 3. Next to the “Done” button there will be a “ v “ button and you have to click on it Step 4. There will be a menu and …
  2. Ask for Input
    Password
  3. If
  4. Comment
    You can pick a app to put a password on it.
  5. Open App
  6. Stop This Shortcut
  7. If
  8. Ask for Input
    Sorry but the password is incorrect try again.
  9. If
  10. Comment
    You can pick a app to put a password on it.
  11. Open App
  12. Stop This Shortcut
  13. If
  14. Show Alert
  15. Comment
    Made by CoolM

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define color darkorange
#define glyph lock

/*
How to put a password on a app!

Step 1. Select a app in “Open App” action

Step 2. Put a password(Default password is “1234”)

Step 3. Next to the “Done” button there will be a “ v “ button and you have to click on it


Step 4. There will be a menu and if there’s a menu on your screen that’s good.

Step 5. Click on the “Add to Home Screen” button and then you can customize it but you have to find a image of the app you are put a password!

Step 6. After you are done customize click “Add” and boom you are done!

Made by CoolM
*/
const ProvidedInput = prompt("Password ", "Number", false)

if ProvidedInput == 1234 {
	// You can pick a app to put a password on it.

	openApp()
	stop()
} else {
}
const ProvidedInput1 = prompt("Sorry but the password is incorrect try again.", "Number", false)

if ProvidedInput1 == 1234 {
	// You can pick a app to put a password on it.

	openApp()
	stop()
} else {
}
confirm("Sorry but the password is incorrect.\nYou do not have permission to open this app!")
// Made by CoolM
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by coolm

See All

You Might Also Like

See All
Advertisement