ShareShortcuts

Home Base

It is essentially the home menu for my series of spam-bots

clappycan
Bifurcar “Home Base”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que clappycan reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
33K
Guardado
0
Acciones
70
Categoría
Messaging
Versión
1.7
Idioma
EN

It is essentially the home menu for my series of spam-bots.

Novedades

Versión 1.7

Previously stated bug fixed

Historial de versiones
1.7 25 de may. de 2023

Previously stated bug fixed

1.6 25 de may. de 2023

Updater version fix

1.6 25 de may. de 2023

Bug fix for checking if all shortcuts are installed. This fix is temporary, as if not all of the shortcuts are present the program will stop. New fix coming soon.

1.5 18 de may. de 2023

Minor code changes

1.4 29 de abr. de 2023

Fixed bug with self-made updater not working.

1.3 29 de abr. de 2023

Updater is improved.

1.2 23 de abr. de 2023

This is the version that begins implementing an update system.

1.1 23 de abr. de 2023

Actual name change

1.1 23 de abr. de 2023

Name change

1.0 23 de abr. de 2023

First release

Qué hace

70 acciones
  1. Comment
    For best results, got to the Settings App, scroll down a little and click Shortcuts > Advanced > Toggle Allow Sharing Large Amounts of Data
  2. Get My Shortcuts
  3. Split Text
  4. Set Variable
    Shortcuts
  5. Number
  6. Set Variable
    Check
  7. If
  8. Dictionary
  9. Run Shortcut
    Updater
  10. If
  11. Stop This Shortcut
  12. If
  13. Show Notification
    You do not have the updater installed
  14. Show Web Page
  15. Stop This Shortcut
  16. Repeat with Each
  17. Get Item from List
  18. If
  19. Calculate
  20. Set Variable
    Check
  21. If
  22. Calculate
  23. Set Variable
    Check
  24. If
  25. Calculate
  26. Set Variable
    Check
  27. If
  28. Calculate
  29. Set Variable
    Check
  30. If
  31. Set Variable
    Zeroes
  32. Format Number
  33. Count
  34. Calculate
  35. Repeat
  36. Combine Text
  37. Set Variable
    Zeroes
  38. Combine Text
  39. Set Variable
    Check
  40. Split Text
  41. Set Variable
    Check
  42. Get Item from List
  43. Get Item from List
  44. Get Item from List
  45. Get Item from List
  46. If
  47. Show Notification
    You do not have all of the necessary shortcuts installed.
  48. Show Web Page
  49. Stop This Shortcut
  50. If
  51. Show Notification
    You do not have all of the necessary shortcuts installed.
  52. Show Web Page
  53. Stop This Shortcut
  54. If
  55. Show Notification
    You do not have all of the necessary shortcuts installed.
  56. Show Web Page
  57. Stop This Shortcut
  58. If
  59. Show Notification
    You do not have all of the necessary shortcuts installed.
  60. Show Web Page
  61. Stop This Shortcut
  62. Choose from Menu
    Choose action
  63. Choose from Menu
    DS
  64. Run Shortcut
    Death Star
  65. Choose from Menu
    DS II
  66. Run Shortcut
    Death Star II
  67. Choose from Menu
    SK
  68. Run Shortcut
    Starkiller
  69. Choose from Menu
    SK II
  70. Run Shortcut
    Starkiller II

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#include 'actions/web'
#include 'actions/shortcuts'
#define color red
#define glyph network

// For best results, got to the Settings App, scroll down a little and click Shortcuts > Advanced > Toggle Allow Sharing Large Amounts of Data

const MyShortcuts = getShortcuts()
splitText(MyShortcuts)
@Shortcuts
@Check = 1111

if @Shortcuts contains "Updater" {
	const UpdateValues = {
		"Name": "Home Base",
		"Share Key": "2462",
		"Version": "1."
	}
	const ShortcutResult = run("Updater", UpdateValues)
	if ShortcutResult == "F" {
		stop()
	}
} else {
	showNotification("You do not have the updater installed")
	showWebpage("https://www.icloud.com/shortcuts/f93dcc6eda0e40788751cf8f7fe7d4cd")
	stop()
}

for _ in @Shortcuts {
	const ItemFromList = getListItem(@Shortcuts, @RepeatIndex)
	if ItemFromList == "Death Star" {
		@Check = @Check - 1000
	}
	if ItemFromList == "Death Star II" {
		@Check = @Check - 100
	}
	if ItemFromList == "Starkiller" {
		@Check = @Check - 10
	}
	if ItemFromList == "Starkiller II" {
		@Check = @Check - 1
	}
}

if @Check != 0 {
	@Zeroes = nil
	formatNumber(@Check, 0)
	const Count = count(@Check, "Characters")
	const CalculationResult = 4 - Count
	repeat _ for CalculationResult {
		joinText([map[Value:map[attachmentsByRange:map[{0, 1}:map[Type:Variable VariableName:Zeroes]] string:] WFSerializationType:WFTextTokenString] 0])
		@Zeroes
	}
	joinText([map[Value:map[attachmentsByRange:map[{0, 1}:map[Type:Variable VariableName:Zeroes]] string:] WFSerializationType:WFTextTokenString] map[Value:map[attachmentsByRange:map[{0, 1}:map[Type:Variable VariableName:Check]] string:] WFSerializationType:WFTextTokenString]], "Custom")
	@Check
	splitText(@Check, "")
	@Check
	const Item1 = getListItem(@Check, 1)
	const Item2 = getListItem(@Check, 2)
	const Item3 = getListItem(@Check, 3)
	const Item4 = getListItem(@Check, 4)
	if Item1 == "1" {
		showNotification("You do not have all of the necessary shortcuts installed.", V4)
		showWebpage("https://shareshortcuts.com/download/2505-death-star.html")
		stop()
	}
	if Item2 == 1 {
		showNotification("You do not have all of the necessary shortcuts installed.")
		showWebpage("https://shareshortcuts.com/download/2506-death-star-ii.html")
		stop()
	}
	if Item3 == 1 {
		showNotification("You do not have all of the necessary shortcuts installed.")
		showWebpage("https://shareshortcuts.com/download/2507-starkiller.html")
		stop()
	}
	if Item4 == 1 {
		showNotification("You do not have all of the necessary shortcuts installed.")
		showWebpage("https://shareshortcuts.com/download/2508-starkiller-ii.html")
		stop()
	}
}

menu "Choose action" {
item "DS":
	run("Death Star", nil)
item "DS II":
	run()
item "SK":
	run("Starkiller", nil)
item "SK II":
	run("Starkiller II", nil)
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de clappycan

Ver todo

También te puede gustar

Ver todo
Publicidad