jsbach
1st July 2005 11:53 UTC
banner not show when scheduled task
i've a routine that shows a banner (modified dialog 111 in modern.exe UI) as usual (banner:show...).
The dialog is shown if i run the script manually but it doesn't if the script is run as scheduled task.
The banner is called insided .OnInit: is this the problem ?
I remember i saw some similar post: not sure; anycase i've urgent need to fix this so i have to post the issue in advance.
appreciates any help. thanks.
kichik
1st July 2005 12:46 UTC
Did you flag the task as interactive? Non-interactive tasks can not interact with the user desktop.
jsbach
1st July 2005 14:33 UTC
interactive option in w2k ?
interesting: only now i realize there's no way at first sight to set interactive flag in w2k as it was in the past in WNT. looking for how-to do it.
jsbach
1st July 2005 23:40 UTC
not that flag in gui ?
it seems on w2k the /interactive flag can't be set anywhere if using the gui interface. it is possible to use the AT command but it's old and anyway you can't set with it some parameters like duration and frequency.
uhm... this can be done with jt.exe that comes with resource kit but i would prefer not.
maybe it's time to review brainsucker's sample : it's quite old and incomplete as it doesn't check existence of task and you get error if trying to recreate the same but it's a perfect starting point.
thanks.