• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing a unique reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing a unique reference


  • Subject: Re: Forcing a unique reference
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 28 Jul 2006 11:15:14 -0400

Hmm! I seem to be making some progress using "a reference to" language in my fetches... that keeps it abstract enough that System Events can do the proper evaluation later, I guess.

Daniel

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:
40red-sweater.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
References: 
 >Forcing a unique reference (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Forcing a unique reference
  • Next by Date: Re: Forcing a unique reference
  • Previous by thread: Forcing a unique reference
  • Next by thread: Re: Forcing a unique reference
  • Index(es):
    • Date
    • Thread