ShareShortcuts

Battery Health Tracker

Help you to save your battery health

ammrmuhmmed
Fazer fork de “Battery Health Tracker”

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 ammrmuhmmed 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
42K
Salvo
0
Ações
27
Categoria
Utilities
Versão
1.0
Idioma
EN

Help you to save your battery health.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 6 de mai de 2022

First release

O que ele faz

27 ações
  1. Show Alert
  2. Wait
  3. Choose from Menu
  4. Choose from Menu
    Start track battery.
  5. Ask for Input
    Enter the number you would like to notify about the battery.
  6. Number
  7. Repeat
  8. Get Battery Level
  9. If
  10. Vibrate Device
  11. Show Notification
    Battery charged up to …
  12. If
  13. Wait
  14. Choose from Menu
    Shortcut Menu.
  15. Choose from Menu
  16. Choose from Menu
    Send Feedback
  17. Choose from Menu
    Share Shortcut
  18. URL
    https://www.icloud.com/shortcuts/3c4f1ce54b0c483b81625709d4380b3a
  19. Share
  20. Send Email
  21. Choose from Menu
    Credits.
  22. Show Alert
  23. Choose from Menu
  24. Choose from Menu
    𝑰𝑵𝑺𝑻𝑨𝑮𝑹𝑨𝑴
  25. Open URLs
  26. Choose from Menu
    𝑹𝑶𝑼𝑻𝑰𝑵𝑬𝑯𝑼𝑩
  27. Open URLs

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/sharing'
#define mac false
#include 'actions/device'
#define color green
#define glyph battery

confirm("Before You Run This Shortcut Please Plug Your Iphone In The Charger Then Run The Shortcut Again !!")
wait(2)

menu nil {
item "Start track battery.":
	const 2 = prompt("Enter the number you would like to notify about the battery.", "Number")
	const  = 1000
	repeat _ for  {
		const 1 = getBatteryLevel()
		if 1 == 2 {
			vibrate()
			showNotification("Battery charged up to {1}", "Battery: {1}")
		} else {
			wait(10)
		}
	}
item "Shortcut Menu.":
	menu nil {
	item "Send Feedback":
	item "Share Shortcut":
		const URL = url("https://www.icloud.com/shortcuts/3c4f1ce54b0c483b81625709d4380b3a")
		share(URL)
		sendEmail(, "", "Feedback", "")
	}
item "Credits.":
	confirm("❗️This Shortcut Was Made By Ammrmuhmmed❗️")
	menu nil {
	item "𝑰𝑵𝑺𝑻𝑨𝑮𝑹𝑨𝑴":
		openURL("instagram.com/ammrmuhmmed")
	item "𝑹𝑶𝑼𝑻𝑰𝑵𝑬𝑯𝑼𝑩":
		openURL("https://routinehub.co/user/Ammrmuhmmed")
	}
}
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 ammrmuhmmed

Ver tudo

Você também pode gostar

Ver tudo
Publicidade