ShareShortcuts

KOYU MOD AUTO

Hem otomatik hemde manuel olarak çalışır

majorata
Bifurcar “KOYU MOD AUTO”

¿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 majorata 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
35K
Guardado
0
Acciones
59
Categoría
Utilities
Versión
2.2
Idioma
EN

Hem otomatik hemde manuel olarak çalışır

Novedades

Versión 2.2

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

Historial de versiones
2.2 20 de ene. de 2023

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

2.1 20 de ene. de 2023

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

1.0 20 de ene. de 2023

First release

Qué hace

59 acciones
  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 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/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 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 majorata

Ver todo

También te puede gustar

Ver todo
Publicidad