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
import urllib2 | |
import urllib | |
import json | |
import webbrowser | |
import sys | |
origin = "78704" | |
destination = urllib.quote(sys.argv[1],'') |
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 "iTunes" to activate | |
try | |
menu_click({"iTunes", "View", "Show Up Next"}) | |
on error | |
menu_click({"iTunes", "View", "Hide Up Next"}) | |
end try | |
-- `menu_click`, by Jacob Rus, September 2006 | |
-- | |
-- Accepts a list of form: `{"Finder", "View", "Arrange By", "Date"}` | |
-- Execute the specified menu item. In this case, assuming the Finder |
NewerOlder