Thomas Buck 6e7a552390 Fixed handling trailing white space in track name | 10 년 전 | |
---|---|---|
.gitignore | 10 년 전 | |
PlayPauseiTunesInstacastVLC.scpt | 10 년 전 | |
README.md | 10 년 전 | |
RunAnApp.scpt | 10 년 전 | |
SongArtist.scpt | 10 년 전 | |
SongLength.scpt | 10 년 전 | |
SongLengthRemaining.scpt | 10 년 전 | |
SongLyrics.scpt | 10 년 전 | |
SongName.scpt | 10 년 전 | |
trackchange.sh | 10 년 전 |
Most of these scripts usage is pretty self explanatory. For use with GeekTool.
I created an Automator System Service, bound to a global keyboard hotkey, which plays/pauses not only iTunes but also Instacast and VLC. Be aware that you have to create an Automator Workflow with a single “Run Shell Script” Block, which in turn opens the Script itself with osascript.
It you create an AppleScript Block in Automator, the Script will not work as expected (if one of the Apps isn’t running it will open).
This Shell script is run by SongName.scpt whenever the current playing song changes. It will update my Music Log.