Last active
December 13, 2015 19:08
-
-
Save rmehner/4959900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Spotify" | |
return player position | |
end tell | |
-- returns 13.37 | |
tell application "Spotify" | |
return "" & player position | |
end tell | |
-- returns "13,37" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out, the logic is "When presented as string, format with locale". Thanks @maxwinde and @tobiasgies for mentioning that. Guess I was not drunk enough to see that ;)