• 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
Forcing a unique reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing a unique reference


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


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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Forcing a unique reference
      • From: Andrei Tchijov <email@hidden>
    • Re: Forcing a unique reference
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Getting a count of dropped items before processing
  • Next by Date: Re: Forcing a unique reference
  • Previous by thread: Re: Getting a count of dropped items before processing
  • Next by thread: Re: Forcing a unique reference
  • Index(es):
    • Date
    • Thread