ShareShortcuts
Bifurcar “Music Player”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que celebrity reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
5K
Guardado
1
Acciones
22
Categoría
Music
Versión
2.0
Idioma
EN

The Music Player is a shortcut that can Play/Pause any running songs on “iPhone”, for the full effects of this shortcut assign it to “AssistiveTouch” by going into the “Settings” App and tapping “Accessibility”, then “Touch”, then “AssistiveTouch” and then scroll down to double touch and turn “AssistiveTouch” On.

Novedades

Versión 2.0

Just additional actions, also don’t forget to change the name of the focus in the “If name” statement

Historial de versiones
2.0 6 de jul. de 2026

Just additional actions, also don’t forget to change the name of the focus in the “If name” statement

1.0 21 de may. de 2026

First release

Qué hace

22 acciones
  1. Get Current Focus
  2. Get Name
  3. If
  4. Play/Pause
  5. If
  6. If
  7. Play/Pause
  8. Go to Home Screen
  9. Lock Screen
  10. Set Volume
  11. If
  12. Play/Pause
  13. If
  14. Text
  15. Set Variable
    MusicPlayer
  16. Get Value
    dk.simonbs.DataJar
  17. Calculate
  18. Set Value
    dk.simonbs.DataJar
  19. If
  20. Text
  21. Set Value
    dk.simonbs.DataJar
  22. Run Shortcut
    Minutes in a song

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#define mac false
#include 'actions/settings'
#define color red
#define glyph livePlay

const CurrentFocus = getFocusMode()
const Name = getName(CurrentFocus)

if Name == "Ultra Low Power Mode " {
	play()
} else {
	if Name == "Lockdown 🔒" {
		play()
		returnToHomescreen()
		lockScreen()
		setVolume(0)
	} else {
		togglePlayPause()
		if Name == "Airpods" {
			@MusicPlayer = "0"
			rawAction("dk.simonbs.DataJar.GetValueIntent", {
				"keyPath": "MusicPlayer"
			})
			const CalculationResult = Value + 1
			rawAction("dk.simonbs.DataJar.SetValueIntent", {
				"keyPath": "MusicPlayer",
				"values": "CalculationResult"
			})
			if CalculationResult >= 5 {
				const Text = "0"
				rawAction("dk.simonbs.DataJar.SetValueIntent", {
					"keyPath": "MusicPlayer",
					"values": "Text"
				})
				run("Minutes in a song", Text)
			}
		}
	}
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de celebrity

Ver todo

También te puede gustar

Ver todo
Publicidad