Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var itunes = Application("iTunes");
- //console.log(itunes.currentTrack.file());
- var track = itunes.currentTrack;
- var vlc = Application("VLC");
- vlc.open(track.location());
- track.playedCount = track.playedCount() + 1;
- //track.unplayed = false;
- //Application("Finder").delete(track.location());
- //itunes.delete(track);
- itunes.stop();
- //itunes.updatePodcast;
Add Comment
Please, Sign In to add comment