Mit dem iPhone scannen, um zu installieren
A simple remote for media player on your iOS device. You dont have to open spotify if you dont want to, but there is an option for it anyways.
Neue Funktionen
Version 1.0
First release
Was er macht
27 Aktionen-
Choose from MenuMusic Remote
-
Choose from MenuPLAY/PAUSE
-
Play/Pause
-
Choose from MenuSKIP FORWARD
-
Skip Forward
-
Choose from MenuSKIP BACK TO BEGINNING
-
Skip Back
-
Choose from MenuSKIP BACK TO PREVIOUS SONG
-
Skip Back
-
Choose from MenuVOLUME + 15%
-
Get Device Details
-
Calculate
-
Set Volume
-
Choose from MenuVOLUME - 15%
-
Get Device Details
-
Calculate
-
Set Volume
-
Choose from MenuVOLUME + 25%
-
Get Device Details
-
Calculate
-
Set Volume
-
Choose from MenuVOLUME - 25%
-
Get Device Details
-
Calculate
-
Set Volume
-
Choose from MenuOPEN SPOTIFY
-
Open App
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/music'
#define color green
#define glyph livePlay
menu "Music Remote" {
item "PLAY/PAUSE":
play()
item "SKIP FORWARD":
skipFwd()
item "SKIP BACK TO BEGINNING":
skipBack()
item "SKIP BACK TO PREVIOUS SONG":
skipBack()
item "VOLUME + 15%":
const CurrentVolume = getDeviceDetail("Current Volume")
const CalculationResult = CurrentVolume + 0.15
setVolume(CalculationResult)
item "VOLUME - 15%":
const CurrentVolume1 = getDeviceDetail("Current Volume")
const CalculationResult1 = CurrentVolume1 - 0.15
setVolume(CalculationResult1)
item "VOLUME + 25%":
const CurrentVolume2 = getDeviceDetail("Current Volume")
const CalculationResult2 = CurrentVolume2 + 0.25
setVolume(CalculationResult2)
item "VOLUME - 25%":
const CurrentVolume3 = getDeviceDetail("Current Volume")
const CalculationResult3 = CurrentVolume3 - 0.25
setVolume(CalculationResult3)
item "OPEN SPOTIFY":
openApp("com.spotify.client")
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von diana2459096183
Das gefällt dir vielleicht auch
Werbung