ShareShortcuts
Fazer fork de “Boardi”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que videogamerlol receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
24K
Salvo
0
Ações
181
Categoria
API
Versão
1.0
Idioma
EN

skull

Novidades

Versão 1.0

First release

Histórico de versões
1.0 1 de mai de 2024

First release

O que ele faz

181 ações
  1. Comment
    Boardi v1.42 - Shortcut by videogamerlol & TheXploler
  2. Text
  3. Repeat
  4. Get Clipboard
  5. Set Variable
    CurrentClipboard
  6. Date
  7. Format Date
  8. Match Text
  9. Get Numbers from Input
  10. Set Variable
    CurrentTime
  11. If
  12. Text
  13. Set Variable
    WelcomeEmoji
  14. If
  15. If
  16. Text
  17. Set Variable
    WelcomeEmoji
  18. If
  19. If
  20. Text
  21. Set Variable
    WelcomeEmoji
  22. If
  23. Text
  24. Set Variable
    WelcomeEmoji
  25. Comment
    Sets a custom emoji based on the time of day
  26. Random Number
  27. If
  28. Text
  29. Set Variable
    WelcomeMsg
  30. If
  31. If
  32. Text
  33. Set Variable
    WelcomeMsg
  34. If
  35. If
  36. Text
  37. Set Variable
    WelcomeMsg
  38. If
  39. If
  40. Text
  41. Set Variable
    WelcomeMsg
  42. If
  43. Text
  44. Set Variable
    WelcomeMsg
  45. Comment
    Sets custom welcome messages, one is chosen at random to be displayed on the main menu, along with the custom emoji
  46. Speak Text
  47. Choose from Menu
    … …
  48. Choose from Menu
    📋 Show Current Clipboard
  49. Comment
    Main menu prompt ^
  50. Text
  51. Speak Text
  52. Show Alert
    Current Clipboard Contents
  53. Comment
    Displays what is copied to the device’s clipboard
  54. Choose from Menu
    💾 Save Current Clipboard
  55. Text
  56. Speak Text
  57. Ask for Input
    Please enter a slot number (1-5)
  58. If
  59. Text
  60. Speak Text
  61. Show Alert
  62. If
  63. If
  64. Text
  65. Speak Text
  66. Show Alert
  67. Comment
    Asks user which file to save the device’s clipboard to, only allowing 1-5 as input
  68. If
  69. Set Variable
    SelectedSlot
  70. Text
  71. Speak Text
  72. Show Alert
  73. Comment
    Asks user to confirm their chosen file
  74. Save File
  75. Text
  76. Speak Text
  77. Show Alert
  78. Comment
    Saves device’s clipboard to user-selected file
  79. Choose from Menu
    🗂️ Show All Saved Clipboard
  80. Get File
  81. Set Variable
    Slot1
  82. Get File
  83. Set Variable
    Slot2
  84. Get File
  85. Set Variable
    Slot3
  86. Get File
  87. Set Variable
    Slot4
  88. Get File
  89. Set Variable
    Slot5
  90. Text
  91. Speak Text
  92. Show Alert
  93. Comment
    Shows user the contents of all clipboard files in 1 page
  94. Choose from Menu
    ✏️ Edit Saved Clipboard
  95. Text
  96. Speak Text
  97. Ask for Input
    Please input a slot number (1-5)
  98. If
  99. Text
  100. Speak Text
  101. Show Alert
  102. If
  103. If
  104. Text
  105. Speak Text
  106. Show Alert
  107. Comment
    Asks user which file to edit, only allowing 1-5 as input
  108. If
  109. Set Variable
    SelectedSlot
  110. Get File
  111. Ask for Input
    Editing Slot … Contents
  112. Comment
    Opens user-selected file to be edited
  113. Save File
  114. Text
  115. Speak Text
  116. Show Alert
  117. Comment
    Saves user edits to file
  118. Choose from Menu
    📥 Load Saved Clipboard
  119. Ask for Input
    Please input a slot number (1-5)
  120. If
  121. Text
  122. Speak Text
  123. Show Alert
  124. If
  125. If
  126. Text
  127. Speak Text
  128. Show Alert
  129. Comment
    Asks which file to copy, only allowing 1-5 as input
  130. If
  131. Set Variable
    SelectedSlot
  132. Get File
  133. Text
  134. Speak Text
  135. Ask for Input
    Would you like to copy Slot … contents to the current clipboard?
  136. Comment
    Displays contents of user-selected file, allows user to edit, asks user to confirm copy
  137. Copy to Clipboard
  138. Text
  139. Speak Text
  140. Show Alert
  141. Comment
    Copies user-selected file, including new edits, to device’s clipboard
  142. Choose from Menu
    ⚙️ More Options
  143. Text
  144. Speak Text
  145. Choose from Menu
    More Options
  146. Choose from Menu
    🚀 First Time Setup
  147. Comment
    More options prompt ^
  148. Text
  149. Speak Text
  150. Show Alert
    First Time Setup
  151. Text
  152. Speak Text
  153. Show Alert
  154. Comment
    Warns user of erasing all clipboard files by continuing
  155. Text
  156. Save File
  157. Save File
  158. Save File
  159. Save File
  160. Save File
  161. Text
  162. Speak Text
  163. Show Alert
  164. Comment
    Creates/resets 5 clipboard files to be used by Boardi, welcomes new user
  165. Choose from Menu
    ❌ Clear All Saved Clipboards
  166. Save File
  167. Save File
  168. Save File
  169. Save File
  170. Text
  171. Speak Text
  172. Show Alert
  173. Comment
    Erases content of all clipboard files, notifies user
  174. Choose from Menu
    🔙 Go Back
  175. Choose from Menu
    👋 Exit Boardi
  176. Text
  177. Speak Text
  178. Stop This Shortcut
  179. Choose from Menu
  180. Comment
    Closes Boardi
  181. Comment
    Thats all for now!

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#include 'actions/text'
#include 'actions/sharing'
#define color violet
#define glyph walletPass

// Boardi v1.42 - Shortcut by videogamerlol & TheXploler


repeat _ for 69 {
	getClipboard()
	@CurrentClipboard
	currentDate()
	formatTimestamp(, "None", "Short")
	const Matches = containsText(, "^.{0,2}")
	getNumbers(Matches)
	@CurrentTime
	if @CurrentTime <> 5 {
		@WelcomeEmoji = "🌅"
	} else {
		if @CurrentTime <> 10 {
			@WelcomeEmoji = "☀️ "
		} else {
			if @CurrentTime <> 16 {
				@WelcomeEmoji = "🌇"
			} else {
				@WelcomeEmoji = "🌃"
				// Sets a custom emoji based on the time of day

			}
		}
	}
	const RandomNumber = randomNumber(1, 5)
	if RandomNumber == 1 {
		@WelcomeMsg = "Greetings! Hope all is well. What can I do for you?"
	} else {
		if RandomNumber == 2 {
			@WelcomeMsg = "Hi there! I hope you’re having a great day. How can I help you?"
		} else {
			if RandomNumber == 3 {
				@WelcomeMsg = "Welcome to Boardi! What can I help you with today?"
			} else {
				if RandomNumber == 4 {
					@WelcomeMsg = "Hello! I’m here to help. What can I get done for you?"
				} else {
					@WelcomeMsg = "Good day! Glad to see you. How may I help with your clipboard endeavors?"
					// Sets custom welcome messages, one is chosen at random to be displayed on the main menu, along with the custom emoji

				}
			}
		}
	}
	speak(@WelcomeMsg, false)
	menu "{@WelcomeMsg} {@WelcomeEmoji}" {
	item "📋 Show Current Clipboard":
		// Main menu prompt ^

		speak(, false)
		alert(@CurrentClipboard, "Current Clipboard Contents")
		// Displays what is copied to the device’s clipboard

	item "💾 Save Current Clipboard":
		speak(, false)
		const ProvidedInput = prompt("Please enter a slot number (1-5)", "Number")
		if ProvidedInput > 5 {
			speak(, false)
			confirm("Number is too high, Please pick from 1-5")
		} else {
			if ProvidedInput < 1 {
				speak(, false)
				confirm("Number is too low, Please pick from 1-5")
				// Asks user which file to save the device’s clipboard to, only allowing 1-5 as input

			} else {
				@SelectedSlot = ProvidedInput
				speak(, false)
				confirm("Save clipboard to Slot {@SelectedSlot}? (This will overwrite the slot contents)")
				// Asks user to confirm their chosen file

				saveFile("Slot{@SelectedSlot}.txt", @CurrentClipboard, true)
				speak(, false)
				confirm("Clipboard saved to Slot {@SelectedSlot} ✅")
				// Saves device’s clipboard to user-selected file

			}
		}
	item "🗂️ Show All Saved Clipboard":
		getFile("Slot1.txt", false)
		@Slot1
		getFile("Slot2.txt", false)
		@Slot2
		getFile("Slot3.txt", false)
		@Slot3
		getFile("Slot4.txt", false)
		@Slot4
		getFile("Slot5.txt", false)
		@Slot5
		speak(, false)
		confirm("Slot 1:\n{@Slot1}\nSlot 2:\n{@Slot2}\nSlot 3:\n{@Slot3}\nSlot 4:\n{@Slot4}\nSlot 5:\n{@Slot5}")
		// Shows user the contents of all clipboard files in 1 page

	item "✏️ Edit Saved Clipboard":
		speak(, false)
		const ProvidedInput1 = prompt("Please input a slot number (1-5)", "Number")
		if ProvidedInput1 > 5 {
			speak(, false)
			confirm("Number is too high, Please pick from 1-5")
		} else {
			if ProvidedInput1 < 1 {
				speak(, false)
				confirm("Number is too low, Please pick from 1-5")
				// Asks user which file to edit, only allowing 1-5 as input

			} else {
				@SelectedSlot = ProvidedInput1
				getFile("Slot{@SelectedSlot}.txt", false)
				const ProvidedInput2 = prompt("Editing Slot {@SelectedSlot} Contents")
				// Opens user-selected file to be edited

				saveFile("Slot{@SelectedSlot}.txt", ProvidedInput2, true)
				speak(, false)
				confirm("Slot {@SelectedSlot} Edited Successfully! 🎉")
				// Saves user edits to file

			}
		}
	item "📥 Load Saved Clipboard":
		const ProvidedInput3 = prompt("Please input a slot number (1-5)", "Number")
		if ProvidedInput3 > 5 {
			speak(, false)
			confirm("Number is too high, Please pick from 1-5")
		} else {
			if ProvidedInput3 < 1 {
				speak(, false)
				confirm("Number is too low, Please pick from 1-5")
				// Asks which file to copy, only allowing 1-5 as input

			} else {
				@SelectedSlot = ProvidedInput3
				getFile("Slot{@SelectedSlot}.txt", false)
				speak(, false)
				const ProvidedInput4 = prompt("Would you like to copy Slot {@SelectedSlot} contents to the current clipboard?")
				// Displays contents of user-selected file, allows user to edit, asks user to confirm copy

				setClipboard(ProvidedInput4)
				speak(, false)
				confirm("Slot {@SelectedSlot} has been copied to the current clipboard successfully! 🎉")
				// Copies user-selected file, including new edits, to device’s clipboard

			}
		}
	item "⚙️ More Options":
		speak(, false)
		menu "More Options" {
		item "🚀 First Time Setup":
			// More options prompt ^

			speak(, false)
			alert("⚠️ Warning! Only run this if this is the first time you're running this shortcut! Continue?", "First Time Setup")
			speak(, false)
			confirm("⚠️ This action will erase all saved clipboard in this shortcut! Continue?")
			// Warns user of erasing all clipboard files by continuing

			const Text = "Empty"
			saveFile("Slot1.txt", Text, true)
			saveFile("Slot2.txt", Text, true)
			saveFile("Slot3.txt", Text, true)
			saveFile("Slot4.txt", Text, true)
			saveFile("Slot5.txt", Text, true)
			speak(, false)
			confirm("📋 Welcome to Boardi! The utimate clipboard manager for iPhone!")
			// Creates/resets 5 clipboard files to be used by Boardi, welcomes new user

		item "❌ Clear All Saved Clipboards":
			saveFile("Slot2.txt", Text1, true)
			saveFile("Slot3.txt", Text1, true)
			saveFile("Slot4.txt", Text1, true)
			saveFile("Slot5.txt", Text1, true)
			speak(, false)
			confirm("Saved Clipboards Cleared Successfully! ✅")
			// Erases content of all clipboard files, notifies user

		item "🔙 Go Back":
		}
	item "👋 Exit Boardi":
		speak(, false)
		stop()
	item "":
	}
	// Closes Boardi

}
// Thats all for now!
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade