ShareShortcuts

I’m Traveling

Use Siri to get a route overview and view it in Maps

blackhatteam
Fazer fork de “I’m Traveling”

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 blackhatteam 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
32K
Salvo
0
Ações
28
Categoria
Travel and Maps
Versão
1.0
Idioma
EN

Use Siri to get a route overview and view it in Maps.

The shortcut will get an overview of the route from the Bing search website and use the ChatGPT app to generate the result.

Activate the shortcut with "Hey Siri: I'm Traveling"

  • provide the city and state you are traveling to.
  • you can also provide a specific place, like Yellowstone National Park.

You will get an overview of options (if more than one) and are then asked if you want to choose a route. If you say Yes, the shortcut will open the Maps app.

*The ChatGPT app is required for this shortcut.

*Make sure "While Using the App" is selected in Settings - Location Services - Safari Websites. You can also go to bing.com to enable location permissions.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 20 de jun de 2023

First release

O que ele faz

28 ações
  1. Get File
  2. If
  3. Create Folder
  4. Show Alert
  5. Open URLs
  6. Wait
  7. Text
  8. Close Tab
    com.apple.mobilesafari
  9. Go to Home Screen
  10. Show Alert
  11. Text
  12. Speak Text
  13. Dictate Text
  14. Text
  15. URL
    https://www.bing.com/search?q=…
  16. Get Contents of Web Page
  17. Ask ChatGPT
  18. Text
  19. Speak Text
  20. Wait
  21. Text
  22. Speak Text
  23. Dictate Text
  24. If
  25. Show Directions
  26. If
  27. If
  28. 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.

#define mac false
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph car

const File = getFileFromFolder(, "Travel", false)

if !File {
	createFolder("Travel")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/travel.html")
	wait(6)
	const Text = "Travel"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	returnToHomescreen()
	confirm("Setup Complete! Run Shortcut?")
}
speak()
const DictatedText1 = listen()
url("https://www.bing.com/search?q={}")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Provide an answer using this page: \\\"{}\\\""
})
speak()
wait(1)
speak()
const DictatedText = listen()

if DictatedText == "Yes" {
	rawAction("is.workflow.actions.getdirections", {
		"WFDestination": "DictatedText1",
		"WFGetDirectionsActionApp": "Maps"
	})
} else {
	if DictatedText == "No" {
		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 blackhatteam

Ver tudo

Você também pode gostar

Ver tudo
Publicidade