ShareShortcuts

Home Base

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

clappycan
„Home Base“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit clappycan die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
33K
Gesichert
0
Aktionen
70
Kategorie
Messaging
Version
1.7
Sprache
EN

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

Neue Funktionen

Version 1.7

Previously stated bug fixed

Versionsverlauf
1.7 25. Mai 2023

Previously stated bug fixed

1.6 25. Mai 2023

Updater version fix

1.6 25. Mai 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. Mai 2023

Minor code changes

1.4 29. Apr 2023

Fixed bug with self-made updater not working.

1.3 29. Apr 2023

Updater is improved.

1.2 23. Apr 2023

This is the version that begins implementing an update system.

1.1 23. Apr 2023

Actual name change

1.1 23. Apr 2023

Name change

1.0 23. Apr 2023

First release

Was er macht

70 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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)
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Werbung

Mehr von clappycan

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung