hello everybody I'm on a project and I wanted to know how to make a process RealTime see the picture below
do not pay attention to my english lol
thank you has you
Professional Software Development Tools
hello everybody I'm on a project and I wanted to know how to make a process RealTime see the picture below
do not pay attention to my english lol
thank you has you
You can make an app that will monitor processes in real time. I would recommend searching the forum for examples and check the help file for System.EnumerateProcesses. There are numerous examples on the forum here that will help get you started. Start a project and post back as you need help.
There are 10 types of people in the world: those who understand binary, and those who don't.
I await your help please
This example should show you how to set the priority to High.
Use this as a reference for what to change Process and Thread (look at the script in the "Set to high" label.) to.
Thanks to Jassing for the SW_HIDE technique for File.Run.Code:Process Thread ------- ------ RealTime : 256 15 High : 128 2 AboveNormal: 32768 1 Normal : 32 0 BelowNormal: 16384 -1 Idle : 64 -2 Lowest : N/A -15
This might work.
Code:local PID = 0; for K, V in pairs(System.EnumerateProcesses()) do if (String.SplitPath(V).Filename..String.SplitPath(V).Extension == "myproject.exe") then PID = K; end end -- Process: 128, Thread: 2 = High Priority. local Process = "128"; local Thread = "2"; File.Run("AutoPlay\\Docs\\SetPriority.exe", "-p"..Process.." -t"..Thread.." "..PID, _SourceFolder, -1, false)