ShareShortcuts

Device Ai

Make animation fun with simple click!

mepfiter
Fork “Device Ai”

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 mepfiter 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
20K
Saved
2
Actions
705
Category
API
Version
1.1
Language
EN

Preview

Make animation fun with simple click! Coming soon to device ai!

What's New

Version 1.1

This is the beta version 1.3.9 before the release of a powerful too called Animation mode!

Version History
1.1 Oct 16, 2024

This is the beta version 1.3.9 before the release of a powerful too called Animation mode!

1.0 Oct 15, 2024

First release

What it does

705 actions
  1. Dictionary
  2. Get Dictionary Value
  3. If
  4. Get Device Details
  5. Round Number
  6. If
  7. Get IP Address
  8. If
  9. If
  10. Get Network Details
  11. Text
  12. Count
  13. If
  14. Set Variable
    Internet
  15. If
  16. Get Device Details
  17. If
  18. If
  19. Choose from Menu
    ✋🤗Hello! How can I help you?😁
  20. Choose from Menu
    Brightness
  21. Choose from Menu
    Brightness setting
  22. Choose from Menu
    Brightness set to 100%
  23. Set Brightness
  24. Show Alert
  25. Run Shortcut
    Offline Ai
  26. Choose from Menu
    Brightness set to 75%
  27. Set Brightness
  28. Show Alert
  29. Run Shortcut
    Offline Ai
  30. Choose from Menu
    Brightness set to 50%
  31. Set Brightness
  32. Show Alert
  33. Run Shortcut
    Offline Ai
  34. Choose from Menu
    Brightness set to 25%
  35. Set Brightness
  36. Show Alert
  37. Run Shortcut
    Device Ai
  38. Choose from Menu
    nightshift
  39. Choose from Menu
    Night shift is
  40. Choose from Menu
    on
  41. Set Night Shift
  42. Choose from Menu
    off
  43. Set Night Shift
  44. Show Alert
  45. Run Shortcut
    Offline Ai
  46. Choose from Menu
    true tone
  47. Choose from Menu
    True Tone is
  48. Choose from Menu
    on
  49. Set True Tone
  50. Choose from Menu
    off
  51. Set True Tone
  52. Show Alert
  53. Run Shortcut
    Offline Ai
  54. Choose from Menu
    dark mode
  55. Choose from Menu
    Dark mode is
  56. Choose from Menu
    on
  57. Set Appearance
  58. Choose from Menu
    off
  59. Set Appearance
  60. Run Shortcut
    Device Ai
  61. Choose from Menu
    Back
  62. Run Shortcut
    Offline Ai
  63. Choose from Menu
    Flashlight
  64. Choose from Menu
    Flashlight setting
  65. Choose from Menu
    flashlight set to 100%
  66. Set Flashlight
  67. Show Alert
  68. Run Shortcut
    Device Ai
  69. Choose from Menu
    flashlight set to 75%
  70. Set Flashlight
  71. Show Alert
  72. Run Shortcut
    Offline Ai
  73. Choose from Menu
    flashlight set to 50%
  74. Set Flashlight
  75. Show Alert
  76. Run Shortcut
    Offline Ai
  77. Choose from Menu
    flashlight set to 25%
  78. Set Flashlight
  79. Show Alert
  80. Run Shortcut
    Offline Ai
  81. Choose from Menu
    turn flashlight off
  82. Set Flashlight
  83. Show Alert
  84. Run Shortcut
    Offline Ai
  85. Choose from Menu
    Back
  86. Run Shortcut
    Offline Ai
  87. Choose from Menu
    Wi-Fi
  88. Choose from Menu
    Wi-Fi is
  89. Choose from Menu
    on
  90. Set Wi-Fi
  91. Show Alert
  92. Run Shortcut
    Offline Ai
  93. Choose from Menu
    off
  94. Set Wi-Fi
  95. Show Alert
  96. Run Shortcut
    Offline Ai
  97. Choose from Menu
    Back
  98. Run Shortcut
    Offline Ai
  99. Choose from Menu
    Bluetooth
  100. Choose from Menu
    Bluetooth is
  101. Choose from Menu
    on
  102. Set Bluetooth
  103. Show Alert
  104. Run Shortcut
    Offline Ai
  105. Choose from Menu
    off
  106. Set Bluetooth
  107. Show Alert
  108. Run Shortcut
    Offline Ai
  109. Choose from Menu
    Back
  110. Run Shortcut
    Offline Ai
  111. Choose from Menu
    Low power mode and fast charging
  112. Choose from Menu
    Low power mode setting
  113. Choose from Menu
    on
  114. Set Low Power Mode
  115. Show Alert
  116. Run Shortcut
    Offline Ai
  117. Choose from Menu
    off
  118. Set Low Power Mode
  119. Show Alert
  120. Run Shortcut
    Offline Ai
  121. Choose from Menu
    Fast charging
  122. Choose from Menu
    If Fast charging is on and you've added your device to a charger it will charge 2x faster than usual do you want to continue? You can always close it when coming here
  123. Choose from Menu
    on
  124. Show Alert
  125. Set Low Power Mode
  126. Set Brightness
  127. Set Volume
  128. Set Bluetooth
  129. Set Airplane Mode
  130. Set Bluetooth
  131. Set Focus
  132. Set Silent Mode
    com.apple.ShortcutsActions
  133. Show Alert
  134. Run Shortcut
    Offline Ai
  135. Choose from Menu
    off
  136. Show Alert
  137. Set Low Power Mode
  138. Set Brightness
  139. Set Volume
  140. Set Bluetooth
  141. Set Airplane Mode
  142. Set Focus
  143. Set Silent Mode
    com.apple.ShortcutsActions
  144. Show Alert
  145. Run Shortcut
    Offline Ai
  146. Choose from Menu
    back
  147. Run Shortcut
    Device Ai
  148. Choose from Menu
    Back
  149. Run Shortcut
    Offline Ai
  150. Choose from Menu
    Photo mode
  151. Show Alert
  152. Choose from Menu
    Acces camera
  153. Choose from Menu
    Allowed
  154. Show Result
  155. Choose from Menu
    (Photo mode) 😁Ai is here! Let me know what you want to do🤗
  156. Choose from Menu
    open camera
  157. Choose from Menu
    To where?
  158. Choose from Menu
    Selfie
  159. Open Camera
    com.apple.ShortcutsActions
  160. Choose from Menu
    Video
  161. Open Camera
    com.apple.ShortcutsActions
  162. Choose from Menu
    Photo
  163. Open Camera
    com.apple.ShortcutsActions
  164. Choose from Menu
    Back
  165. Run Shortcut
    Offline Ai
  166. Choose from Menu
    Photo manager
  167. Choose from Menu
    Photo manager will access your photo data to access many features at once, do you want to countinue?
  168. Choose from Menu
    yes
  169. Show Alert
  170. Choose from Menu
    🤗I'm gladly here to help you!✋
  171. Choose from Menu
    share multiple photos or videos
  172. Select Photos
  173. Share
  174. Show Alert
  175. Run Shortcut
    ———————————(-)-)-((-))-(()-)—(-(-((—((-(-((-((-)-))—))-)-)-))—————————-
  176. Choose from Menu
    Delete photos
  177. Select Photos
  178. Choose from Menu
    … You want to delete those?
  179. Choose from Menu
    yes
  180. Delete Photos
  181. Show Alert
  182. Run Shortcut
    ———————————(-)-)-((-))-(()-)—(-(-((—((-(-((-((-)-))—))-)-)-))—————————-
  183. Choose from Menu
    no
  184. Show Alert
  185. Run Shortcut
    ———————————(-)-)-((-))-(()-)—(-(-((—((-(-((-((-)-))—))-)-)-))—————————-
  186. Choose from Menu
    Photo selector manager
  187. Select Photos
  188. Choose from Menu
    what would you like to do with these photos?
  189. Choose from Menu
    Save to album
  190. Ask for Input
    What album you want these photos to be saved to? (Put a correct album you have or it will not save)
  191. Save to Photo Album
  192. Choose from Menu
    Create a album
  193. Ask for Input
    Name of album?
  194. Choose from Menu
    Create the album?
  195. Choose from Menu
    yes
  196. Create Album
  197. Show Result
  198. Run Shortcut
    ———————————(-)-)-((-))-(()-)—(-(-((—((-(-((-((-)-))—))-)-)-))—————————-
  199. Choose from Menu
    no
  200. Show Alert

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 mac false
#include 'actions/settings'
#include 'actions/network'
#include 'actions/math'
#include 'actions/device'
#define color lightblue
#define glyph brain

const Info = {
	"Date": "14-10-2024",
	"Version": "beta 1.3.9",
	"Version check": true
}
const VersionCheck = getValue(Info, "Version check")

if VersionCheck ==  {
	const SystemVersion = getDeviceDetail("System Version")
	const RoundedNumber = round(SystemVersion)
	if RoundedNumber <= 15 {
		const CurrentIPAddress = getExternalIP()
		if CurrentIPAddress {
		}
	} else {
		const Wifi = getCellularDetail("")
		const Wifi1 = "{Wifi}"
		const Count = count(Wifi1, "Characters")
		if Count {
			@Internet = Wifi1
		}
	}
	if @Internet {
		getDeviceDetail("Device Model")
	} else {
	}
} else {
}

menu "✋🤗Hello! How can I help you?😁" {
item "Brightness":
	menu "Brightness setting" {
	item "Brightness set to 100%":
		setBrightness(1)
		confirm("Done!")
		runSelf()
	item "Brightness set to 75%":
		setBrightness(0.7454545497894287)
		confirm("Done!")
		runSelf()
	item "Brightness set to 50%":
		setBrightness(nil)
		confirm("Done!")
		runSelf()
	item "Brightness set to 25%":
		setBrightness(0.25151515007019043)
		confirm("Done!")
		runSelf()
	item "nightshift":
		menu "Night shift  is" {
		item "on":
			setNightShift(false)
		item "off":
			setNightShift(0)
		}
		confirm("Done!")
		runSelf()
	item "true tone":
		menu "True Tone is" {
		item "on":
			setTrueTone(false)
		item "off":
			setTrueTone(0)
		}
		confirm("Done!")
		runSelf()
	item "dark mode":
		menu "Dark mode is" {
		item "on":
			darkMode()
		item "off":
			darkMode()
		}
		runSelf(MenuResult)
	item "Back":
		runSelf()
	}
item "Flashlight":
	menu "Flashlight setting" {
	item "flashlight set to 100%":
		flashlightOff()
		confirm("Done!")
		runSelf()
	item "flashlight set to 75%":
		toggleFlashlight(0.7751938104629517)
		confirm("Done!")
		runSelf()
	item "flashlight set to 50%":
		flashlightOff()
		confirm("Done!")
		runSelf()
	item "flashlight set to 25%":
		flashlightOn(0.22868217527866364)
		confirm("Done!")
		runSelf()
	item "turn flashlight off":
		flashlightOff()
		confirm("Done!")
		runSelf()
	item "Back":
		runSelf()
	}
item "Wi-Fi":
	menu "Wi-Fi is" {
	item "on":
		setWifi(false)
		confirm("Done!")
		runSelf()
	item "off":
		setWifi(0)
		confirm("Done!")
		runSelf()
	item "Back":
		runSelf()
	}
item "Bluetooth":
	menu "Bluetooth is" {
	item "on":
		setBluetooth(false)
		confirm("Done!")
		runSelf()
	item "off":
		setBluetooth(0)
		confirm("Done!")
		runSelf()
	item "Back":
		runSelf()
	}
item "Low power mode and fast charging":
	menu "Low power mode setting" {
	item "on":
		setLowPowerMode(false)
		confirm("Done!")
		runSelf()
	item "off":
		setLowPowerMode(0)
		confirm("Done!")
		runSelf()
	item "Fast charging":
		menu "If Fast charging is on and you've added your device to a charger it will charge 2x faster than usual do you want to continue? You can always close it when coming here" {
		item "on":
			confirm("Turning fast charging on...")
			setLowPowerMode(false)
			setBrightness(0)
			setVolume(0)
			setBluetooth(0)
			setAirplaneMode(false)
			setBluetooth(0)
			toggleFocusMode()
			rawAction("com.apple.ShortcutsActions.SetSilentModeAction", {
				"AppIntentDescriptor": ""
			})
			confirm("Done!")
			runSelf()
		item "off":
			confirm("Turning fast charging off...")
			setLowPowerMode(0)
			setBrightness(0.2242424190044403)
			setVolume(0.32121211290359497)
			setBluetooth(1)
			setAirplaneMode(0)
			setFocusMode()
			rawAction("com.apple.ShortcutsActions.SetSilentModeAction", {
				"AppIntentDescriptor": "",
				"state": 0
			})
			confirm("Done!")
			runSelf()
		item "back":
			runSelf()
		}
	item "Back":
		runSelf()
	}
item "Photo mode":
	confirm("I'll need to access your camera to start it do you want to countinue?")
	menu "Acces camera" {
	item "Allowed":
		show("Starting photo mode")
		menu "(Photo mode) 😁Ai is here! Let me know what you want to do🤗" {
		item "open camera":
			menu "To where?" {
			item "Selfie":
				rawAction("com.apple.ShortcutsActions.OpenCameraAction", {
					"AppIntentDescriptor": "",
					"cameraMode": ""
				})
			item "Video":
				rawAction("com.apple.ShortcutsActions.OpenCameraAction", {
					"AppIntentDescriptor": "",
					"cameraMode": ""
				})
			item "Photo":
				rawAction("com.apple.ShortcutsActions.OpenCameraAction", {
					"AppIntentDescriptor": "",
					"cameraMode": ""
				})
			item "Back":
				runSelf()
			}
		item "Photo manager":
			menu "Photo manager will access your photo data to access many features at once, do you want to countinue?" {
			item "yes":
				confirm("Starting photo manager..")
				menu "🤗I'm gladly here to help you!✋" {
				item "share multiple photos or videos":
					const Photos = selectPhotos(true)
					share(Photos)
					confirm("Done!")
					runSelf()
				item "Delete photos":
					const Photos1 = selectPhotos(true)
					menu "{Photos1} You want to delete those?" {
					item "yes":
						deletePhotos(Photos1)
						confirm("Done!")
						runSelf()
					item "no":
						confirm("Ok I won't")
						runSelf()
					}
				item "Photo selector manager":
					const Photos2 = selectPhotos(true)
					menu "what would you like to do with these photos?" {
					item "Save to album":
						const AskForInput = prompt("What album you want these photos to be saved to? (Put a correct album you have or it will not save)", "Text")
						savePhoto(Photos2, AskForInput)
					item "Create a album":
						prompt("Name of album?")
						menu "Create the album?" {
						item "yes":
							createAlbum(, Photos2)
							show("{} Has been created!")
							runSelf()
						item "no":
							confirm("Ok I won't ")
							runSelf()
						}
					item "Combine images":
						menu "You must need two or more to coutinue do you want to countinue?" {
						item "yes":
							menu "What format you want it to be combined to?" {
							item "grid":
								rawAction("is.workflow.actions.image.combine", {
									"WFImageCombineMode": "In a Grid",
									"WFImageCombineSpacing": "1",
									"WFInput": "Photos2"
								})
							item "verticle":
								rawAction("is.workflow.actions.image.combine", {
									"WFInput": "Photos"
								})
							item "horizontal ":
								rawAction("is.workflow.actions.image.combine", {
									"WFImageCombineMode": "Horizontally",
									"WFInput": "Photos2"
								})
							item "cancel":
								confirm("Canceled ")
								runSelf()
							}
							savePhoto(MenuResult1)
							confirm("Done!")
							runSelf()
						item "no":
							show("Canceling")
							runSelf()
						}
					item "Back":
						runSelf()
					}
				item "Back":
					runSelf()
				}
			item "no":
				confirm("Ok I won't ")
				runSelf()
			}
		}
	item "cancel":
		show("Ok I won't")
		runSelf()
	}
item "App switcher":
	menu "Select app or type in a available app in custom " {
	item "select a app":
		openApp()
		confirm("Done!")
		runSelf()
	item "Custom":
		const AskForInput1 = prompt("Type in a available app you have")
		openApp()
		confirm("Done!")
		runSelf()
	item "Back":
		runSelf()
	}
item "Fun actions":
	menu "♥️😁Well someone need some fun! How can I entertain you?😜" {
	item "Chicken joke":
		const List = list("Alright, lets take one dozen of eggs then eat them! but then the chicken ran to protect the eggs.. as the chicken ran she found an egg and sited in it… Why?", "a chicken crossed the road and found another road, the road kept multiplying without actions, why?")
		getFirstItem(List)
		show()
		const AskForInput2 = prompt("What was the reason?")
		show("({AskForInput2}) what could you say would mean it? This is just a chicken finding love don't take it seriously..")
		runSelf(AskForInput2)
	item "Play with me":
		confirm("WARNING: if you did guess the word correctly but added space after your word it will think it's incorrect, so pls do not space your words!")
		menu "What game would you like us to play?" {
		item "Guess the word":
			menu "Pick a section you want the game to be in" {
			item "Animals":
				menu "I guessed my words pick which one you want to start with" {
				item "- - - -":
					const AskForInput3 = prompt("This animal is a bird that floats on water, what is it?")
					if AskForInput3 == "Duck" {
						confirm("Fantastic try! Well done the word was duck!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput4 = prompt("Failed! Try again")
						if AskForInput4 == "Duck" {
							show("{AskForInput4}, is correct well done!")
							runSelf()
						} else {
						}
					}
					confirm("The word was duck good try tho...")
					runSelf()
				item "- - - - - - -":
					const AskForInput5 = prompt("This animal is a land animal which loves eating trees in dessert, what is it?")
					if AskForInput5 == "Giraffe" {
						confirm("Great job! First try and guessed it! The word was giraffe!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput6 = prompt("Nope, try again..")
						if AskForInput6 == "Giraffe" {
							show("{AskForInput6}, is correct! Nice job!")
							runSelf(AskForInput6)
						} else {
						}
					}
					show("You've tried almost 6 times, the word is giraffe... good game tho!")
					runSelf()
				item "- - - - - - - ":
					const AskForInput7 = prompt("This animal is a jungle specie that loves going on trees and famous for his big fist and big body! What is it?")
					if AskForInput7 == "Gorilla" {
						show("Brilliant! You guessed correctly!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput8 = prompt("Failed! Try again please..")
						if AskForInput8 == "Gorilla" {
							confirm("You did it! The word was gorilla great job!")
							runSelf()
						} else {
						}
					}
					show("Failed! You've done great, the word was gorilla...")
					runSelf()
				}
			item "Objects":
				menu "I took my guesses! Which one you want to start with?" {
				item "- - - -":
					const AskForInput9 = prompt("This type of object is a light source that is used in bedrooms, living rooms..")
					if AskForInput9 == "Lamp" {
						show("You guessed it!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput10 = prompt("Good guess.. think again…")
						if AskForInput10 == "Lamp" {
							show("You'd did it! The word was lamp! Gg!")
							runSelf()
						} else {
						}
					}
					confirm("Well then it was a good time playing this game, but you've done great but lost, the word was lamp..")
					runSelf()
				item "- - - - -":
					const AskForInput11 = prompt("It is a object that be sited on")
					if AskForInput11 == "Chair" {
						confirm("Wow, good thinking!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput12 = prompt("I’m sorry, let’s give it another shot..")
						if AskForInput12 == "Chair" {
							confirm("Yep! You did it! The word was chair..")
							runSelf()
						} else {
						}
					}
					confirm("Good saying, maybe next time you can get it right... the word was chair")
					runSelf()
				item "- - - - - -":
					const AskForInput13 = prompt("This object is a device that can be brought anywhere and use it for work mostly")
					if AskForInput13 == "Laptop" {
						confirm("Mhhmm, brilliant isn't it?")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput14 = prompt("This can be tough I’ll give you another hint! The word has a keyboard on..")
						if AskForInput14 == "Laptop" {
							confirm("Fantastic! The word was laptop!")
							runSelf()
						} else {
						}
					}
					confirm("I know it's kinda like a hard word but I gave you 2 hints.. the word was laptop")
					runSelf()
				item "- - - ":
					const AskForInput15 = prompt("This is a very easy word… it’s to sleep on")
					if AskForInput15 == "Bed" {
						confirm("I knew you could say it!")
						runSelf()
					} else {
					}
					repeat _ for 5 {
						const AskForInput16 = prompt("Wow.. idk if it’s hard for you but try again..")
						if AskForInput16 == "Bed" {
							confirm("Great! The word was bed!")
							runSelf()
						} else {
						}
					}
					confirm("How did you lose? The word was so easy? But I can't blame you... the word was bed")
					runSelf()
				}
			}
		item "Back":
			runSelf()
		}
	item "Back":
		runSelf()
	}
item "Settings":
	menu "Welcome to my setting! You can find information about me here!" {
	item "version":
		const Text = "Version: 1.3.9"
		show(Text)
		runSelf(Text)
	item "update":
		const Text1 = "Version 1.3.9\n\nBIG UPDATE COMING SOON!"
		show(Text1)
		runSelf(Text1)
	item "AI version":
		const Text2 = "Ai version 0.2.1\nNot added custom ai tools yet.."
		show(Text2)
		runSelf(Text2)
	}
item "➡️Next page":
	menu "🤗I'm always here to help you!❤️" {
	item "Action mode!":
		show("ACTION mode is configuring your device for better actions! Do you want to?")
		menu "Action mode is" {
		item "On":
			show("You will be asked this every time you turn it on for better security..")
			menu "What is your device?" {
			item "iPad ":
				show("Finding actions for iPad....")
			item "iPhone ":
				show("Finding actions for iPhone..")
			}
			show("For better findings pls update your device to latest iOS or iPad os")
			show("Loading actions...")
			confirm("Action mode is on!")
			repeat _ for 100 {
				if @RepeatIndex {
					menu "🎬Hello! Welcome to action mode! What would you like?🌃" {
					item "Configuring photos":
						show("WARNING: you might not know how to do this feature, you may won't to try tutorial first, but if you did then your ready!")
						menu "Welcome to photo configuring! select a mode to continue" {
						item "only one photo":
							show("Alright! Let's add image you want to configure..")
							const Photos3 = selectPhotos()
							show(Photos3)
							show("Let's add some texts")
							menu "Pick a desired line you want to add" {
							item "One line":
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "Photos3",
									"WFText": "{Ask}",
									"WFTextPosition": "Bottom Center"
								})
							item "Two lines":
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "Photos3",
									"WFText": "{Ask}",
									"WFTextOutlineEnabled": false,
									"WFTextPosition": "Top Center",
									"WFTextRotation": "0"
								})
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "ImageWithText",
									"WFPercentageTextOffset": 0.1,
									"WFText": "{Ask}",
									"WFTextPosition": "Bottom Center",
									"WFTextRotation": "0"
								})
							item "Three lines":
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "Photos3",
									"WFText": "{Ask}",
									"WFTextPosition": "Top Center"
								})
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "ImageWithText1",
									"WFText": "{Ask}"
								})
								rawAction("is.workflow.actions.overlaytext", {
									"WFImage": "ImageWithText2",
									"WFText": "{Ask}",
									"WFTextPosition": "Bottom Center",
									"WFTextRotation": "0"
								})
							}
							quicklook(MenuResult2)
							menu "Do you want a second image on top?" {
							item "yes":
								confirm("Alright let's add a second image..")
								const Photos4 = selectPhotos()
								const OverlaidImage = customImageOverlay(MenuResult2, Photos4)
								show()
								menu "Want to save this configured image?" {
								item "yes":
									savePhoto(OverlaidImage)
									show("Done!")
								item "no":
									show("Ok I won't ")
								}
							item "no":
								menu "Want o save the configured photo?" {
								item "yes":
									savePhoto(ImageWithText3)
									confirm("Done!")
								item "no":
									confirm("Ok I won't")
								}
							}
						}
					item "Tutorial for configuring photos ":
						menu "Allow ai to access your photos?" {
						item "yes":
							show("Accessing your photos...")
							repeat _ for 26 {
								prompt("Type in your name to begin photo configuring")
								menu "Is {} your name" {
								item "yes":
									show("Hello {} welcome to photo configuring!")
									confirm("Let's begin with simple photo configuring tutorials!")
									show("Select photos you want to configure..")
									const Photos5 = selectPhotos(true)
									show("{Photos5} is this what you want to configure?")
									makeImageFromPDFPage(Photos5)
									show()
									show("Ok, now let's add some texts")
									menu "Pick a desired line you want to add (for the tutorial will use one)" {
									item "One":
										prompt("What is the word or sentence you want to add for first line?")
										rawAction("is.workflow.actions.overlaytext", {
											"WFImage": "Photos5",
											"WFText": "{}",
											"WFTextPosition": "Bottom Center"
										})
										show(ImageWithText4)
									}
									show("Now let's add some images on it ")
									const Photos6 = selectPhotos(false)
									const OverlaidImage1 = customImageOverlay(ImageWithText4, Photos6)
									show(OverlaidImage1)
									show("Great job! Now let's add come actions on it!")
									menu "Unfortunately the action button won't work for now, want to see your result?" {
									item "yes":
										show(OverlaidImage1)
									item "no":
										show("Alr I won't")
									}
									menu "Want to save this image?" {
									item "yes":
										savePhoto(OverlaidImage1)
									item "no":
									}
									show("You've finished the tutorial! You can make your own action now if you'd like")
									runSelf()
								item "no":
								}
							}
						item "no":
						}
					item "turn off action mode":
						confirm("Action mode is off..")
						runSelf()
					}
				} else {
				}
			}
		item "Off":
			show("Canceled")
			runSelf()
		}
	item "shut down":
		menu "Do you want to shut down your device?" {
		item "yes":
			show("Shutting down..")
			shutdown()
		item "no":
			confirm("Canceled")
			runSelf()
		}
	item "Restart":
		menu "Do you want to restart your device?" {
		item "yes":
			show("Restarting..")
			shutdown()
		item "no":
			show("Canceled")
			runSelf()
		}
	item "Starter Ai (BETA)":
		show("Not yet released! (You can use the beta version but it will run some problems sometimes...)")
		menu "Want to start offline ai?" {
		item "yes":
			confirm("Allowing data service...")
			confirm("Allowing data transfer..")
			confirm("Allowing photos..")
			confirm("Allowing app operations....")
			confirm("All done! Welcome... uhm.. I forgot your name or you never told me.. can you tell me what is your name?")
			prompt("Please type in your name or if you don’t want to then type nothing and coutinue")
			repeat _ for 60 {
				menu "Hello, {} how can I help you? (This is not ChatGPT and this ai version is in beta..)" {
				item "start your conversation ":
					repeat _ for 110 {
						const AskForInput17 = prompt("Hello I’m starter ai at your service!(to close this ai press cancel) Note: PLS DO NOT SPACE AVAILABLE COMMANDS")
						if AskForInput17 == "Hi" {
							show("Hello again! ")
						} else {
						}
						if AskForInput17 == "How are you" {
							confirm("I'm doing well thanks for asking!")
						} else {
						}
						if AskForInput17 == "Take a screenshot" {
							takeInteractiveScreenshot()
							show("Done!")
						} else {
						}
						if AskForInput17 == "Hello" {
							confirm("Glad to see you again!")
						} else {
						}
						if AskForInput17 == "Howdy" {
							confirm("Howdy partner!")
						} else {
						}
						if AskForInput17 == "Sup" {
							confirm("Sup boss!")
						} else {
						}
						if AskForInput17 == "What is your name?" || AskForInput17 == "What are you?" {
							confirm("I'm a starter ai, with many commands coming soon, my name might be changed in the future..")
						} else {
						}
						if AskForInput17 == "What is your date of release?" {
							confirm("My date of release was the 13th October 2024")
						}
						if AskForInput17 == "Bye" || AskForInput17 == "Good bye" || AskForInput17 == "See yah" {
							confirm("See you later!")
							menu "Do you want to stop starter ai?" {
							item "yes":
								show("Stopping starter ai...")
								runSelf()
							item "no":
								show("Canceled..")
							}
						} else {
						}
						if AskForInput17 == "Falling off" {
							confirm("Falling off game is starting! Do you want to countinue?")
							confirm("Loading game...")
							const List1 = list("take in action", "fall off", "saved by a bird", "killed by a rock at bottom", "survived jump!")
							chooseFromList(List1)
							show("You chose {}")
							const List2 = list("a gun", " a-parachute", "a bouncy ball", "nothing", "a soulmate")
							chooseFromList(List2)
							show("You chose {}")
							confirm("Based on your actions you chose.... ({} and has token {})")
							confirm("I'm picking the luck now!")
							confirm(".....")
							show("OH GOD")
							const List3 = list("10% is death", "20% is ribs broken", "30% is heart broken", "40% is gun sho", "50% is average suriving", "60% is stuck on mid air", "70% is landing on pines and survived", "80% is great!", "90% is cloud cushion save you", "100% you were saved by the best emergency teams!")
							getLastItem(List3)
							confirm("The luck percentage is: {}")
							confirm("You can play again if you want by saying the secret command again..")
						} else {
						}
					}
				item "see how many commands there are":
					show("The commas is just to make it clearful so do not add commas on commands")
					menu nil {
					item "starting command":
						show()
					item "general command":
						menu nil {
						item "device command":
							show()
						item "informational command":
							show()
							show()
						item "talking command":
							show()
						}
					item "ending command":
						show()
					item "secret command":
						show("Falling off")
					}
				item "Back":
					confirm("Stopping starter ai...")
					runSelf()
				}
			}
		item "no":
			show("Canceled...")
			runSelf()
		}
	item "Informations for today":
		show("THIS FEATURE IS ONLY ACCESSIBLE WITH INTERNET!")
		menu "What do you want to know?" {
		item "what news is today?":
			show("Apple do not let me give you news from here so you will be redirected to Apple News so you do need internet")
			rawAction("com.apple.news.TodayIntent", {})
			runSelf()
		item "informational summary":
			confirm("Make sure you're connected to an internet!")
			show("Summarizing today....")
			currentDate()
			const WeatherConditions = getCurrentWeather()
			getWeatherDetail(WeatherConditions, "Date")
			confirm("Today is {} and the weather is about {WeatherConditions} the details of weather is {}")
			runSelf()
		item "Back":
			runSelf()
		}
	item "Offline game mode!":
		confirm("Offline game mode is starting...")
		menu "🫢✨Feeling bored? I can help you😁🤗" {
		item "lucky game":
			confirm("In this game all you need is luck on your side to win!")
			menu "How many players are there (the max for now is 2)" {
			item "One":
				prompt("Type in your name")
				confirm("Let's begin!")
				prompt("Name a object that can stand")
				const List4 = list("chair", "lamp", "bed", "couch")
				getLastItem(List4)
				confirm("Bot is thinking...")
				prompt("Name a object that can fall")
				const List5 = list("glass", "laptop", "pc", "device", "paper")
				getListItems(List5, 0, 0)
				confirm("Bot is thinking..")
				confirm("Based on your answer and bot answer now will see who gets a point!")
				confirm("I'm the judge here I'll pick which one is more better...")
				const List6 = list("{} , typed by bot is better!", "{} , typed by {} is better!")
				getListItems(List6, 0, 0)
				confirm("{} Great job you get a point!")
				confirm("{} Has a point! Now let's begin second round!")
				const List7 = list("break", "not break", "food!", "gross", "become a bird", "nothing happens")
				chooseFromList(List7, "If a egg fall what will happen")
				const List8 = list("crack", "fight", "too tasty", "luckily survives", "too rusty")
				getListItems(List8, 0, 0)
				confirm("Bot is thinking..")
				confirm("Time for luck to spin!")
				const List9 = list("{}, typed by {} has won a point!", "{}, typed by bot wins a point!")
				getListItem(List9, 0)
				show("{}, \nwell done! ")
				confirm("As for our winner we obviously know! Winner is: player and bot for playing it too well! Well done!")
				runSelf()
			item "Two (WIP)":
				confirm("Not done yet!")
				runSelf()
			}
		}
	item "⬅️Back":
		runSelf()
	item "Big update (soon)!":
		confirm("This is closed until the big update! Here's what to expect (game mode upgraded, action mode, upgraded, fun action upgraded, and the big update is:Functional actions)")
		show("Actions are loading!")
		show("Select a photo to add actions ")
		const Photos7 = selectPhotos(false)
		menu "Select first what will your image prompt to" {
		item "resize it":
			repeat _ for 20 {
				const ResizedImage = resizeImage(Photos7, Ask, Ask)
				show(ResizedImage)
				const AskForInput18 = prompt("Is this the size you want?  (Yes or no)")
				if AskForInput18 == "Yes" {
					setClipboard(ResizedImage)
					confirm("Copied! Please return here and press done ")
					runSelf()
				} else {
				}
			}
		item "default":
			setClipboard(Photos7)
			confirm("Copied! You can go back at actions then press done to start!")
			runSelf()
		item "combine images":
			show("Pick photos you'd like to combine")
			const Photos8 = selectPhotos(true)
			repeat _ for 20 {
				rawAction("is.workflow.actions.image.combine", {
					"WFImageCombineMode": "Ask",
					"WFImageCombineSpacing": "0",
					"WFInput": "Photos8"
				})
				show(CombinedImage)
				menu "Is this what you want?" {
				item "yes":
					setClipboard(CombinedImage)
					show("Copied! Press done when going back to actions.")
					runSelf()
				item "no":
				}
			}
		item "(DONE) press this if you already have a photo ":
			const Clipboard = getClipboard()
			markup(Clipboard)
			if Clipboard == "" {
				show("Here is what you copied")
				show(Clipboard)
				show("Pls make sure the photo is animated or live or the result will be disappointing ...")
			} else {
				confirm("No clipboard found pls try again if an image is clipped...")
				runSelf(MenuResult3)
			}
			show("Actions are loading!...")
			if !ShortcutInput {
				const Clipboard1 = getClipboard()
				makeGIF(Clipboard1)
			}
			const FramesFromImage = getImageFrames(IfResult)
			const Count1 = count(FramesFromImage)
			menu "Welcome to action modifier! This is where you will modify your image over tons of action added!" {
			item "Text modifier":
				prompt("")
				show("Where do you want this text to be in?")
				const RotationPerFrame = Ask: "What is the speed? / Count1
				for _ in FramesFromImage {
					const AdjustedRepeatIndex = @RepeatIndex - RotationPerFrame
					const RotationAngle = AdjustedRepeatIndex * RotationPerFrame
					rawAction("is.workflow.actions.overlaytext", {
						"WFFontSize": "36",
						"WFImage": "@RepeatItem",
						"WFPercentageTextOffset": "RotationAngle",
						"WFSizingMethod": "Proportional",
						"WFText": "{}",
						"WFTextPosition": "Bottom Center",
						"WFTextRotation": "0"
					})
				}
			}
			const GIF = makeGIF(MenuResult4, "0.2")
			quicklook(GIF)
		}
	}
}
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 mepfiter

See All

You Might Also Like

See All
Advertisement