ShareShortcuts
Fazer fork de “ArriveHome”

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 weplaydr 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
12K
Salvo
0
Ações
15
Categoria
Routines
Versão
1.0
Idioma
EN

Upon arriving home, Automatically cause the phone to announce itself after 3minutes in case it is forgotten in a jacket pocket or snow suit.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 12 de ago de 2025

First release

O que ele faz

15 ações
  1. Comment
    Note: This Automation Shortcut is run whenever my phone connects to a bluetooth hotspot in my house. Alternatively, it can be automated to run everytime your iPhone connects to your home WiFi. But, be aware it might trigger/run multiple times when y…
  2. Comment
    During the winter, my phone is located in my snowsuit or jacket pocket rather than my oants pocket. Due to the possibity of misplacing my phone, I set a three minute timer! So my phone will announce itself !
  3. Comment
    This Shortcut initially deletes any pending alarm named HomeModeFindPhone then creates a new alarm labeled HomeModeFindPhone
  4. Number
  5. Repeat
  6. Comment
    Delete HomeModeFindPhone alarm twice, but create only if RepeatIndex=1
  7. Get Alarms
    com.apple.mobiletimer-framework.MobileTimerIntents
  8. If
  9. Delete Alarm
    com.apple.mobiletimer
  10. If
  11. Adjust Date
  12. M T Create Alarm
    com.apple.mobiletimer-framework.MobileTimerIntents
  13. Show Alert
  14. Comment
    Shortcut execution reaches this comment only if a person presses Continue button, from above Action.
  15. Stop This Shortcut

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/calendar'
#define color green

/*
Note: This Automation Shortcut is run whenever my phone connects to a bluetooth hotspot in my house. 
Alternatively, it can be automated to run everytime your iPhone connects to your home WiFi. But, be aware it might trigger/run multiple times when you don’t expect it. 

This Shortcut can be refined to run only if a lockfile does not exist. Then a separate script must delete the lockfile whenever home WiFi goes out of range: complexities!

Nevertheless, I am able to find my phone whenever I forget to remove it from my snowsuit pocket! 🙂 
*/
// During the winter, my phone is located in my snowsuit or jacket pocket rather than my oants pocket. Due to the possibity of misplacing my phone, I set a three minute timer!  So my phone will announce itself !

// This Shortcut initially deletes any pending alarm named HomeModeFindPhone then creates a new alarm labeled HomeModeFindPhone

const minsDelay = 3

repeat _ for 2 {
	// Delete HomeModeFindPhone alarm twice, but create only if RepeatIndex=1

	const Alarms = getAlarms()
	if Alarms['label'] {
		rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
			"AppIntentDescriptor": "",
			"entities": "Alarms"
		})
	}
	if @RepeatIndex == 1 {
		adjustDate(CurrentDate, "")
		createAlarm("HomeModeFindPhone")
		confirm("Have you found this phone?")
		// Shortcut execution reaches this comment only if a person presses Continue button, from above Action. 

	}
}
stop()
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 weplaydr

Ver tudo

Você também pode gostar

Ver tudo
Publicidade