Hi Jamie,
Jaime Teng 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?
have a look at Win32::Process module. This provides you access to a
process its priority using
$ProcessObj->GetPriorityClass($class);
and
$ProcessObj->SetPriorityClass($class);
perldoc Win32::Process will tell you more...
I like to make my script AboveNormal priority during Night, Normal during
Morning and Afternoon, and BelowNormal during work hours.
thanks.
Jaime
Hth
Alex
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs