I can get iTunes to give me the player state, it will give me a string like <constant ****kPS#>, where # is "p" for paused, "P" for playing, and "S" for stopped.
This should be cake:
Now I discover AS is more or less case-blind/insensitive. Is there a way I can do this?
This should be cake:
Code:
set thechar to character 18 of (player state)
if thechar is equal to "p" then set ispaused to true
Now I discover AS is more or less case-blind/insensitive. Is there a way I can do this?