Posts Tagged ‘programming’
So, a lot of my work involves clicking back and forth, and it’s a pain to reach for the Remote or keyboard when I want to skip a track in iTunes. … Sadly, that’s not an option in the Logitech software, but launching an application is; so I put together a quick little app to do nothing but play the next track. … If you want to build your own, open Applescript Editor and paste the following in, then save it as an application. tell application “iTunes” next track end tell Or you can simply download my version, here .
– web: scottmcdaniel.org tell application “iTunes” set rating of current track to 100 end tell tell application “System Events” – Get the frontmost process set active_proc to name of the first process whose frontmost is true – Open Last.fm window activate application “Dock” tell process “Dock” click UI element “Last.fm” of list 1 end tell delay 0.5 – Click on the relevant menu item and close the window tell process “Last.fm” click menu item “Love” of menu 1 of menu bar item “Tools” of menu bar 1 end tell – Restore frontmost process set frontmost of process active_proc to true end tell tell application “System Events” set isRunning to (count of (every process whose bundle identifier is “com…. GrowlHelperApp”)) > 0 end tell if isRunning then tell application id “com…. GrowlHelperApp” set the allNotificationsList to ¬ {“iRate”} set the enabledNotificationsList to ¬ {“iRate”} register as application ¬ “iRate” all notifications allNotificationsList ¬ default notifications enabledNotificationsList ¬ icon of application “iTunes” notify with name ¬ “iRate” title ¬ “iRate” description ¬ “This track has been iRated as 5 star & sent to Twitter!”
BUT – if you use QuickSilver or some other quick launch type app, even Spotlight (and again, you *should* be if you are at all productivity oriented), then here’s an easy little solution for you. Basically I’ve created 5 small applications that you can use to rate the currently playing track with minimal keystrokes: Open your launcher (cmd-space – for example) type ‘i5′ to rate the current track as 5 star.
…GrowlHelperApp” set the allNotificationsList to ¬ {“iRate”} set the enabledNotificationsList to ¬ {“iRate”} register as application ¬ “iRate” all notifications allNotificationsList ¬ default notifications enabledNotificationsList ¬ icon of application “iTunes” notify with name ¬ “iRate” title ¬ “iRate” description ¬ “This track has been iRated as 5 star” application name “iRate” end tell end if
Tired of always keeping iCal open, hitting cmd-k and choosing a Reminder calendar to add an event to? No? Oh, then go away. But, if you *are*, then check out the following mini-tutorial that will allow you to create a tiny little app you can keep in your dock/desktop/wherever, that will allow you to simply [...]
This is so cool. The original source code for the guidance systems of the Apollo missions has been released and in the video below, compiled into a Palm Centro handheld. Check out the story here http://www.ibiblio.org/apollo/ .


