Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2008
    Posts
    30

    question about windows task manager please



    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

  2. #2
    Join Date
    Oct 2009
    Location
    127.0.0.1
    Posts
    279
    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.

  3. #3
    Join Date
    Nov 2008
    Posts
    30
    Quote Originally Posted by Scriptonite View Post
    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.
    thank you for the answer I searched the forum but I did not find much. I want to click a button on my processes set proprity realtime please can you help me

  4. #4
    Join Date
    Nov 2008
    Posts
    30
    I await your help please

  5. #5
    Join Date
    Oct 2009
    Location
    Merton, United Kingdom
    Posts
    684
    Quote Originally Posted by maliko2bxl View Post
    thank you for the answer I searched the forum but I did not find much. I want to click a button on my processes set proprity realtime please can you help me
    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.

    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
    Thanks to Jassing for the SW_HIDE technique for File.Run.
    Attached Files

  6. #6
    Join Date
    Nov 2008
    Posts
    30
    Quote Originally Posted by Sakuya View Post
    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.

    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
    Thanks to Jassing for the SW_HIDE technique for File.Run.

    It's really cool it's really helped me thank you very much
    in my project the process will myproject.exe is what I can do with this case or if you have a ready expemle you can post and a really big thank you

  7. #7
    Join Date
    Oct 2009
    Location
    Merton, United Kingdom
    Posts
    684
    Quote Originally Posted by maliko2bxl View Post
    It's really cool it's really helped me thank you very much
    in my project the process will myproject.exe is what I can do with this case or if you have a ready expemle you can post and a really big thank you
    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)

  8. #8
    Join Date
    Nov 2008
    Posts
    30
    Quote Originally Posted by Sakuya View Post
    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)

    je sais pas comment je vous remercier vraiment beaucoup

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts