Scanne avec ton iPhone pour installer
OpenPilot search
- Voice search for locations, places or addresses, and choose from a visual + voice menu of results. Pick one and OpenPilot + iPhone navigation will start
- Uses "Navigate with OpenPilot" shortcut
- Four ways to use:
- Say "(Hey) Siri, OpenPilot search" , or
- (becuase "OpenPilot search" is the name of the Shortcut, and every shortcut is callable by name automatically)
- Save the shortcut to a home/lock screen widget 🔗, or
- Save the shortcut as a home screen icon 🔗, or
- Tap the Shortcut in the Shortcuts app.
- Wait for the prompt "what text?"
- ("what text?" was not my idea; you can't change the prompt; smh)
- Say the (mostly) complete address or location name without any long pauses
- You'll be presented with a list of results, and Siri will begin to read them. You can respond verbally or tap one of the results (even with CarPlay 🚗). Select one of the results or tap/say cancel to cancel.
- The default map app you specified during setup will open with directions to the destination, and you'll see a notification that navigation was set on your Comma device.
Nouveautés
Version 1.0
First release
Ce qu’il fait
37 actions-
CommentOpenPilot search By Tim Wilson, November 2023 https://github.com/twilsonco/OpenPilotSiriShortcuts • Voice search for locations, places or addresses, and choose from a visual + voice menu of results. Pick one and OpenPilot + iPhone navigation will st…
-
CommentCheck for shortcut updates
-
Nothing
-
Comment【Auto-Update Routine】 Checks For Latest Shortcut Version ↳ https://routinehub.co/shortcut/16590/
-
Dictionary
-
Get Dictionary Value
-
If
-
Get IP Address
-
If
-
Get Contents of URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
If
-
Split Text
-
Repeat with Each
-
Calculate Expression
-
Set VariableLatest Version
-
Split Text
-
Repeat with Each
-
Calculate Expression
-
Set VariableCurrent Version
-
If
-
Choose from MenuNew Version: … Release: … Whats New: "…"
-
Choose from MenuUpdate → Result (Version)
-
Expand URL
-
Replace Text
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuSkip (Info (Version))
-
Comment【Auto-Update Routine Ends Here】 Support → https://www.reddit.com/r/shortcuts/comments/18j4f9p/ 【⚙️】 Convert Semantic Number to Decimals ↳ https://routinehub.co/shortcut/16589/
-
Nothing
-
Dictate Text
-
Search Local Businesses
-
Count
-
If
-
Choose from List
-
If
-
Get Item from List
-
Run ShortcutNavigate with OpenPilot
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#include 'actions/network'
#define color darkblue
#define glyph binoculars
/*
OpenPilot search
By Tim Wilson, November 2023
https://github.com/twilsonco/OpenPilotSiriShortcuts
• Voice search for locations, places or addresses, and choose from a visual + voice menu of results. Pick one and OpenPilot + iPhone navigation will start
1. Four ways to use:
1a. Say "(Hey) Siri, OpenPilot search" , or (becuase "OpenPilot search" is the name of the Shortcut, and every shortcut is callable by name automatically)
1b. Save the shortcut to a home/lock screen widget, or
1c. Save the shortcut as a home screen icon, or
1d. Tap the Shortcut in the Shortcuts app.
2. Wait for the prompt "what text?"
("what text?" was not my idea; you can't change the prompt; smh)
3. Say the (mostly) complete address or location name without any long pauses
4. You'll be presented with a list of results, and Siri will begin to read them. You can respond verbally or tap one of the results (even with CarPlay 🚗). Select one of the results or tap/say cancel to cancel.
5. The default map app you specified during setup will open with directions to the destination, and you'll see a notification that navigation was set on your Comma device.
*/
// Check for shortcut updates
nothing()
/*
【Auto-Update Routine】
Checks For Latest Shortcut Version
↳ https://routinehub.co/shortcut/16590/
*/
const Info = {
"Author": "twilsonco",
"RoutineHub ID": 17678,
"Version": "1.0.1",
"Version Check": true
}
const True = getValue(Info, "Version Check")
if True == "Yes" {
const CurrentIPAddress = getExternalIP("IPv4")
if CurrentIPAddress {
const Result = downloadURL("https://routinehub.co/api/v1/shortcuts/{Info['RoutineHub ID']}/versions/latest")
if Result contains "success" {
const SplitText = splitText(Result['Version'], ".")
for _ in SplitText {
@LatestVersion = ((1/1000)^@RepeatIndex)*@RepeatItem+@LatestVersion
}
const SplitText1 = splitText(Info['Version'], ".")
for _ in SplitText1 {
@CurrentVersion = ((1/1000)^@RepeatIndex)*@RepeatItem+@CurrentVersion
}
if @LatestVersion > @CurrentVersion {
menu "New Version: {Result['Version']}\nRelease: {Result['Release']}\nWhats New: \"{Result['Notes']}\"" {
item "Update → {Result['Version']}":
expandURL(Result['URL'])
const UpdatedText = replaceText("https://www.icloud.com/", "shortcuts://", false)
openURL(UpdatedText)
stop()
item "Skip ({Info['Version']})":
}
}
}
}
}
/*
【Auto-Update Routine Ends Here】
Support → https://www.reddit.com/r/shortcuts/comments/18j4f9p/
【⚙️】
Convert Semantic Number to Decimals
↳ https://routinehub.co/shortcut/16589/
*/
nothing()
listen()
rawAction("is.workflow.actions.searchlocalbusinesses", {
"WFSearchQuery": "{}"
})
const Count = count(LocalBusinesses)
if Count > 1 {
chooseFromList(LocalBusinesses)
} else {
getListItems(LocalBusinesses, 0, 0)
}
run("Navigate with OpenPilot", IfResult)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de twilsonco
Ça pourrait aussi te plaire
Publicité