Forhåndsvisning
a simple yet very useful shortcut that allows you to direct audio output to any connected airplay or Bluetooth device in two taps. Just modify the code to reflect your own devices but leave the first one - local - as is.
Nyheder
Version 1.0
First release
Hvad den gør
14 handlinger-
Choose from Menu
-
Choose from MenuLocal
-
Setplaybackdestination
-
Choose from MenuAirPods
-
Setplaybackdestination
-
Choose from MenuDenon
-
Setplaybackdestination
-
Choose from MenuiHome BT
-
Setplaybackdestination
-
Choose from MenuiHome AirPlay
-
Setplaybackdestination
-
Choose from MenuZik Phones
-
Setplaybackdestination
-
Stop This Shortcut
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#define color darkorange
const IHome = menu nil {
item "Local":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
item "AirPods":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
item "Denon":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
item "iHome BT":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
item "iHome AirPlay":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
item "Zik Phones":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": ""
})
}
stop()
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra gramps
Du vil måske også kunne lide
Annonce