I've come up with a pretty cool trick for accomplishing something
I've always wanted: keyboard toggling of just a single Dashboard
Widget, outside the context of the Dashboard.
Problem is, it only works on the first widget Dashboard knows about?
Why? Because all dashboard application instances are of this
reference form:
application process "DashboardClient" of application "System Events"
So even though I can get a list of all processes 'whose name is
"DashboardClient"', as soon as I try to communicate to that
application process through System Events, I end up talking to the
first one it knows about.
Is there any way to force a more explicit reference to the items
being returned by System Events?
I know this is a longshot but I thought somebody might have a clever
idea.