On Thursday, May 9, 2013 2:55:05 PM UTC+2, 1.61803 wrote:

> It seems random. Now it's working.
>

I'm still having this intermittent problem in b4003, iTunes Plugin 2.4.0, 
iTunes 11.0.5, OS X 10.8.4. If I switch to iTunes and use an applescript 
trigger with scope iTunes it doesn't work, except after quickly activating 
and dismissing the main interface. If I switch back and forth to another 
application this happens again. The trigger works just fine with global 
scope set and from AppleScript Editor. The problem appears with Cube and 
Bezel interfaces, and in desktop and fullscreen spaces. I don't know what 
else to try to figure this out. Here's an example of trigger I bound to ⌘9, 
to try it just change "MyPhone" to your iPhone's name.

*tell* *application* "iTunes"

*if* (*some* *source* *whose* name *is* "MyPhone") *exists* *then*

*tell* *application* "System Events" *to* *tell* *process* "iTunes" *to* *
tell* *window* 1

*if* (*every* *menu button* *whose* name *contains* "Library") *exists* *
then* *click* (*every* *menu button* *whose* name *contains* "Library")

 *if* (*every* *pop up button* *whose* name *contains* "iPhone") *exists* *
then*

*click* (*every* *pop up button* *whose* name *contains* "iPhone")

 *else* *if* (*every* *pop up button* *whose* name *contains* "Devices") *
exists* *then*

*click* (*every* *pop up button* *whose* name *contains* "Devices")

*tell* (*every* *pop up button* *whose* name *contains* "Devices") *to* *
tell* *pop over* 1 *to* *tell* *scroll area* 1 *to* *tell* *outline* 1 *to* 
*tell* *row* 1 *to* *click* *UI element* 1

 *end* *if*

*end* *tell*

*end* *if*

*end* *tell*

-- 
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