---- Jaime Teng <[EMAIL PROTECTED]> wrote: > In WinXP, we can open Task Manager and specify application's priority. > > >From within a perl script, is there a way for my script to force window > to assign a higher/lower priority? > > If so, how? >
bring up task manager and right click on process you want to increase the pripority and select the pripority you want from the context menu. > I like to make my script AboveNormal priority during Night, Normal during > Morning and Afternoon, and BelowNormal during work hours. > > thanks. > Has you tried to used Win32API function SetThreadPriority? -- Cheers, WWang +-Wenjie Wang ---------------------------------------------------+ | WANG Infonology Systems - Your Partner for the Future | | Phone : (02) 9871 2018 | [EMAIL PROTECTED] | | Mobile: 0412 688 380 |http://www.wiseagent.com.au/ | +-------------------------+--------------------------------------+ _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs