ShareShortcuts

Home Base

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

clappycan
Fazer fork de “Home Base”

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 clappycan 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
33K
Salvo
0
Ações
70
Categoria
Messaging
Versão
1.7
Idioma
EN

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

Novidades

Versão 1.7

Previously stated bug fixed

Histórico de versões
1.7 25 de mai de 2023

Previously stated bug fixed

1.6 25 de mai de 2023

Updater version fix

1.6 25 de mai 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 mai 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

O que ele faz

70 ações
  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 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/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 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

Mais de clappycan

Ver tudo

Você também pode gostar

Ver tudo
Publicidade