That's a pretty big bunch of ifs that you need to manually perform. And then you need to create the Applescript to run and attach it to a song file in that playlist. You have to manually create the playlist as well as the stay-open application script as well as setting it in your login items list. Note there is no way (that I know of) to send anything to the scripts from your iPhone (other than simply executing them). You can then use the Remote app from your iOS device to connect to the shared music library on your Mac and select the track in the Scripts playlist. Then type your script into TextEdit and copy it into the comments of your sound file in iTunes. To add a script, modify the name of the sound file in Finder (so iTunes will add it a second time) and drag it into iTunes. Now make a short (~8 seconds no shorter then 5) sound file, using GarageBand, Audacity, or your favorite sound editing application. Be sure to share that playlist in iTunes. On idle tell application "iTunes" try copy comment of current track to tehscript copy name of current playlist to tehlist if tehlist = "scripts" then if player state is playing then pause do shell script "osascript -e '" & tehscript & "'" end if end if end try end tell return 5end idleThen create a new playlist in iTunes called Scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |