For this script to work I use cliclick<http://www.bluem.net/en/mac/cliclick/> 
and 
TotalSpaces <http://totalspaces.binaryage.com/> (with no transitions when 
switching spaces set).
Cliclick is donationware, TotalSpaces is commercial. If you don't have the 
latter just change the delay as stated in the comment.

*tell* *application* "System Events"

 *set* FrontAppName *to* name *of* *first* *process* *where* frontmost *is* 
true

 *activate* *application* "iTunes"

 *keystroke* "u" using {command down, option down}

 *delay* 0.05 -- use 0.5 without TotalSpaces

 *tell* *process* "iTunes" *to* *tell* *window* 1 *to* *tell* *scroll area*1

*tell* (*every* *button* *whose* value *of* *attribute* "AXDescription" *is*"up 
next") 
*to* *set* {{m, n}} *to* position

*do shell script* "cliclick -r c:" & (m + 160) & "," & (n + 55) -- Clear

*end* *tell*

 *end* *tell*


*activate* *application* FrontAppName

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to