ShareShortcuts

KOYU MOD AUTO

Hem otomatik hemde manuel olarak çalışır

majorata
Fazer fork de “KOYU MOD AUTO”

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 majorata 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
35K
Salvo
0
Ações
59
Categoria
Utilities
Versão
2.2
Idioma
EN

Hem otomatik hemde manuel olarak çalışır

Novidades

Versão 2.2

Gün dönümüne göre otomatik çalışır

Histórico de versões
2.2 20 de jan de 2023

Gün dönümüne göre otomatik çalışır

2.1 20 de jan de 2023

Kendini güncelleme eklendi.. otomatik ve manuel çalışır

1.0 20 de jan de 2023

First release

O que ele faz

59 ações
  1. Dictionary
  2. Text
  3. Set Name
  4. Get Contacts from Input
  5. Choose from List
  6. If
  7. Get Current Weather
  8. Get Details of Weather
  9. Get Details of Weather
  10. Date
  11. If
  12. Set Appearance
  13. If
  14. Set Appearance
  15. Run Shortcut
    ExLow Power Mode
  16. If
  17. Set Appearance
  18. Run Shortcut
    ExLow Power Mode
  19. If
  20. Text
  21. Set Name
  22. Get Contacts from Input
  23. Choose from List
  24. If
  25. Repeat
  26. Dictionary
  27. Set Variable
    LocalData
  28. Get IP Address
  29. Count
  30. If
  31. Show Alert
  32. If
  33. URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  34. Get Contents of URL
    …
  35. If
  36. Dictionary
  37. Text
  38. URL
    data:text/html,…
  39. Get Contents of Web Page
  40. If
  41. Show Alert
    ExLow Power Mode is up to date
  42. If
  43. If
  44. Text
  45. If
  46. Text
  47. Choose from Menu
    … … Güncellemeler devam edecektir, takipte kalın 👀
  48. Choose from Menu
    İndir result (Version)
  49. URL
    https://routinehub.co/download/…
  50. Open URLs
  51. Stop and Output
  52. Choose from Menu
    Geç
  53. If
  54. Show Alert
  55. If
  56. URL
    https://shareshortcuts.com/u/majorata/
  57. Open URLs
  58. If
  59. Run Shortcut
    ExLow Power Mode

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/settings'
#include 'actions/location'
#include 'actions/contacts'
#define color darkorange
#define glyph lightbulb

const Text = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Otomatik;;;;\nORG:Gün dönümüne göre çalışır;\nPHOTO;ENCODING=b: {['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Manuel Aç/Kapat;;;;\nORG:İsteğe göre aç kapat yapılır;\nPHOTO;ENCODING=b: {['Icons.off']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Güncellemeler;;;;\nORG:Güncelleme ve kestirmeler;\nPHOTO;ENCODING=b: {['Icons.settings']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Çıkış;;;;\nORG:Kestirmeden çık;\nPHOTO;ENCODING=b: {['Icons.']}\nEND:VCARD"
const RenamedItem = setName(Text, "Menu.vcf")
const Contacts = getContacts(RenamedItem)
const ChosenItem = chooseFromList(Contacts)

if ChosenItem == "Otomatik" {
	const HavaDurumu = getCurrentWeather()
	const GnDoumuSaati = getWeatherDetail(HavaDurumu, "Sunrise Time")
	const GnBatmSaati = getWeatherDetail(HavaDurumu, "Sunset Time")
	const Date = currentDate()
	if Date <> 22 {
		darkMode()
	} else {
		darkMode()
	}
	runSelf(IfResult)
}

if ChosenItem == "Manuel Aç/Kapat" {
	darkMode()
	runSelf(IfResult)
}

if ChosenItem == "Güncellemeler" {
	const Text1 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Güncelle;;;;\nORG:güncellemeleri kontrol et;\nPHOTO;ENCODING=b: {['Icons.update']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Kestirmelerim;;;;\nORG:Diğer kestirmeler için ziyaret edin;\nPHOTO;ENCODING=b: {['Icons.feedback']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Geri git;;;;\nORG:Ana menüye geri dön;\nPHOTO;ENCODING=b: {['Icons.back']}\nEND:VCARD"
	const RenamedItem1 = setName(Text1, "Settings.vcf")
	const Contacts1 = getContacts(RenamedItem1)
	const ChosenItem1 = chooseFromList(Contacts1)
	if ChosenItem1 == "Güncelle" {
		repeat _ for nil {
			@LocalData = {
				"ID": "13983",
				"Version": "1.0"
			}
			const CurrentIPAddress = getExternalIP()
			const Count = count(CurrentIPAddress)
			if Count == 0 {
				confirm("Could not check for updates, there is no internet connection.")
			} else {
				url("https://routinehub.co/api/v1/shortcuts/{@LocalData['ID']}/versions/latest")
				const result = downloadURL()
				if result contains "success" {
					const CompareVersionsData = {
						"current": "{@LocalData['Version']}",
						"new": "{result['Version']}"
					}
					const CompareVersionsHTML = "<html><head></head><body><script>\n// Embed-a-Engine 1.0\nfunction cmp (a, b) {\nlet pa = a.split('.');\nlet pb = b.split('.');\nfor (let i = 0; i < Math.max(pa.length, pb.length); i++) {\nlet na = Number(pa[i]);\nlet nb = Number(pb[i]);\nif (isNaN(na)) na = 0;\nif (isNaN(nb)) nb = 0;\nif (na > nb) return \\"RollbackAvailable\\";\nif (nb > na) return \\"UpdateAvailable\\";\n}\nreturn \\"NoChanges\\";\n};\nlet data = {CompareVersionsData};\ndocument.write(cmp(data.current, data.new));\n</script></body></html>"
					url("data:text/html,{CompareVersionsHTML}")
					const ContentsOfWebPage = getWebpageContents()
					if ContentsOfWebPage == "NoChanges" {
						alert("", "ExLow Power Mode is up to date")
					} else {
						if ContentsOfWebPage == "RollbackAvailable" {
						} else {
						}
						menu "{}\n\n{result['Notes']}\n\nGüncellemeler devam edecektir, takipte kalın 👀 " {
						item "İndir {result['Version']}":
							const URL = url("https://routinehub.co/download/{result['id']}")
							openURL(URL)
							output(URL)
						item :
						}
					}
				} else {
					alert("Could not check for updates because of a RoutineHub error:\n\n{result['message']}", "")
				}
			}
		}
	}
	if ChosenItem1 == "Kestirmelerim" {
		const URL1 = url("https://shareshortcuts.com/u/majorata/")
		openURL(URL1)
	}
	if ChosenItem1 == "Geri git" {
		runSelf(IfResult)
	}
}
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 majorata

Ver tudo

Você também pode gostar

Ver tudo
Publicidade