On 3/20/03 8:16 AM, Jim Baskins [EMAIL PROTECTED] wrote:

> Also, after running the script to disable my enabled schedules, the �else�
> logic never kicks in to re-enable the schedule because, although the checkbox
> to indicate the enabled status of the schedule is indeed empty, the AE to
> indicate such is not true (or whatever process is used by Applescript and
> E�rage to indicate status) because the script continues to present the
> �Schedules DISABLED� message through repeated runs, until I manually change
> the status of the schedules. Weird.
> 
> OSX 10.2.4, E�rage 10.1.1 (2418)
> 
> Jim
 
Further to my last,

("whatever" is a schedule set to fire every five minutes and perform some
action on a folder of messages, and has been enabled manually)

In Script Editor:

enabled of schedule "whatever"
-- true

set enabled of schedule "whatever" to false
enabled of schedule "whatever"
-- false

Open Tools-->Run Schedule-->Edit Schedules

Observe that the enabled checkbox for schedule "whatever" is empty (no
check) however, the next instance for the schedule to fire (indicated by the
Next Run column) is there. The schedule *does* fire this one more time, and
after it fires the visible and script status of the schedule is, indeed,
disabled (the Next Run column reverts to a dash and spaces as with other
disabled schedules).

Then, in Script Editor again (tell blocks deleted for brevity):

enabled of schedule "whatever"
-- false

Ok, fine, seems that toggling the schedule via script to a disabled state
only takes after the next occurrence of the schedule has completed, however:

set enabled of schedule "whatever" to true
enabled of schedule "whatever"
-- true

Go to Tools-->Run Schedule-->Edit Schedules

The checkbox for schedule "whatever" is now checked and blue in color, but
the Next Run column remains empty (dash and spaces) and the schedule *never*
fires again (ok, never is a totalitarian word, however I waited 40 minutes
through 8 potential firings of the schedule and nothing happened). Manually
unchecking and checking the enabled checkbox restores the schedule to fire,
well, on schedule.

Just me or can anyone else confirm?

Jim 





--
To unsubscribe:                     <mailto:[EMAIL PROTECTED]>
archives:       <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to