Re: GUI Script
Re: GUI Script
- Subject: Re: GUI Script
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 06 Sep 2003 17:21:54 -0400
I don't know why it doesn't work.
But I do wonder why you wrapped the whole thing in a 'tell application
"Finder"' block. The script doesn't tell the Finder to do anything, so you
don't need this. And it could cause problems, perhaps if the Finder thinks
the 'tell window 1' line is addressed to it instead of to the System
Preferences process.
on 03-09-06 11:53 AM, Robert Poland at email@hidden wrote:
>
In my continuing effort to enhance (mess with) the morning operation
>
of my computing i tried to add the following GUI script.
>
>
tell application "Finder"
>
try
>
tell application "System Preferences" to activate
>
tell application "System Events"
>
tell process "System Preferences"
>
click menu item "AutoAPOD" of menu
>
"View" of menu bar 1
>
delay 3
>
tell window 1
>
click the radio button "Fetch Now"
>
delay 3
>
click the radio button "Set As Desktop"
>
delay 3
>
end tell
>
end tell
>
end tell
>
end try
>
end tell
>
>
beep 2 -- script completed
>
>
The "AutoAPOD" window opens immediately but as far as I can tell
>
nothing else happens. I have tried numbers for the button names.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >GUI Script (From: Robert Poland <email@hidden>) |