• 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: Scripting Widgets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Widgets


  • Subject: Re: Scripting Widgets
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 17 Oct 2005 17:33:05 -0400
  • Thread-topic: Scripting Widgets

on 2005-10-17 12:21 PM, Robert Poland at email@hidden wrote:

> Has anyone found a way to activate the Dashboard  (Widgets). I would
> like to be able to trigger "iCal Events" on a daily basis.

In Tiger:

activate application "Dock"
tell application "System Events"
    tell process "Dock"
        click UI element "Dashboard" of list 1
    end tell
end tell

Courtesy of PreFab UI Browser <http://www.prefab.com/uibrowser/>.

This is more verbose than 'keystroke <whatever>', but it has the advantage
of showing how to activate other Dock buttons, too.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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: Scripting Widgets
      • From: Daniel Jalkut <email@hidden>
References: 
 >Scripting Widgets (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Problem with dot_underscore files
  • Next by Date: Re: Make New File in System Events
  • Previous by thread: Re: Scripting Widgets
  • Next by thread: Re: Scripting Widgets
  • Index(es):
    • Date
    • Thread