Re: Scripting Widgets
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