Applescript access to last.fm app via application icon in menu bar
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2009-09-23T11:42:53Z
Indexed on
2010/04/04
15:53 UTC
Read the original article
Hit count: 455
applescript
|menubar
Hi,
I want to create an Applescript to drive the last.fm player app. I'm trying to do this via last.fm application icon in the menu bar rather than using the main application menus, as this approach (I think) won't cause last.fm to switch to the foreground. The overall plan is to bind my script to a quicksilver trigger so I can stop|start|skip|love|ban|tag tracks from the keyboard.
My problem is I can't find what UI element to bind the applescript to. I've used UI Browser to scan through the UI object model but it draws a blank with the last.fm icon in the menu bar. Any thoughts appreciated.
© Stack Overflow or respective owner