Title: Re: Setting the index of a window via Applescript
on 26/6/02 20:22, Michael W. Wellman wrote:
> The brute force method is, of course, to iteratively select all the other
> windows. ;-)
Excellent, thanks.
I haven't tried that before...
Now I can answer my own question, how to stop the Progress window from popping up when checking mail.
tell application "Microsoft Entourage"
set myWindow to window 1
set theScheduleList to the name of every schedule whose enabled is true and name is not "Send & Receive All"
repeat with i from 1 to (count theScheduleList)
set theSchedule to item i of theScheduleList
execute schedule theSchedule
end repeat
select myWindow
end tell
I use this in conjunction with Paul SMTP Location X which enables/disables my schedules depending on the location.
The snippet above runs all enabled schedules except Send and Receive All in order to avoid a loop...
cheers
michael
- Re: Setting the index of a window via Applescript Michael Scheurer
- Re: Setting the index of a window via Applescript Michael W. Wellman
- Re: Setting the index of a window via Applescr... Michael Scheurer
- Re: Setting the index of a window via Appl... Michael W. Wellman
- Re: Setting the index of a window via ... Michael Scheurer
- Re: Setting the index of a window via Applescript Dan Frakes
- Re: Setting the index of a window via Applescr... Michael Scheurer
- Re: Setting the index of a window via Applescr... George Clark
- Re: Setting the index of a window via Appl... Allen Watson
- Re: Setting the index of a window via Appl... Michael Scheurer
- Re: Setting the index of a window via ... Paul Berkowitz
- Re: Setting the index of a window... Michael Scheurer
- Re: Setting the index of a wi... Paul Berkowitz
