Re: Forcing a unique reference
Re: Forcing a unique reference
- Subject: Re: Forcing a unique reference
- From: Andrei Tchijov <email@hidden>
- Date: Fri, 28 Jul 2006 11:18:10 -0400
I am not an expert in AppleScript, but ... once you have list of
processes, can't you iterate through this list, find the one you are
looking for and than use this object (process) in to do what ever you
do to make widget to show up?
Sorry, if I am completely off the mark.
On Jul 28, 2006, at 11:06 AM, Daniel Jalkut wrote:
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.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40tchijov.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden