Old 1st July 2005, 10:53   #1
jsbach
Junior Member
 
Join Date: Feb 2005
Location: Italy
Posts: 42
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.
jsbach is offline   Reply With Quote
Old 1st July 2005, 11:46   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Did you flag the task as interactive? Non-interactive tasks can not interact with the user desktop.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 1st July 2005, 13:33   #3
jsbach
Junior Member
 
Join Date: Feb 2005
Location: Italy
Posts: 42
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 is offline   Reply With Quote
Old 1st July 2005, 22:40   #4
jsbach
Junior Member
 
Join Date: Feb 2005
Location: Italy
Posts: 42
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.
jsbach is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump