Guest DCreature Posted September 28, 2005 Share Posted September 28, 2005 Hello guys I am new to AutoIt and trying to achieve this: 1) Open Windows Task Manager on W2K3 computer (done) 2) Make sure that Task Manager is active (not done) 3) If no, set focus to task manager (not done) 4) Scroll left a few times which will get me to Applications tab (done) And here is where my problem begins: 5) Click the "Task" button on top of list to arrange the application items in the list by name (not done) 6) Select an item in that list, eg: "The App instance 1" (not done) 7) Perform right click on that selected item and click on Bring to Front (not done) 8) Give focus back to Task Manager (how?) 8) Perform step 6 and 7 again for other application, eg: "The App instance 2", and so on. Please shed some light :-) Thank you! Link to comment Share on other sites More sharing options...
Valuater Posted September 28, 2005 Share Posted September 28, 2005 Hello guys I am new to AutoIt and trying to achieve this:1) Open Windows Task Manager on W2K3 computer (done)2) Make sure that Task Manager is active (not done)3) If no, set focus to task manager (not done)4) Scroll left a few times which will get me to Applications tab (done)And here is where my problem begins:5) Click the "Task" button on top of list to arrange the application items in the list by name (not done)6) Select an item in that list, eg: "The App instance 1" (not done)7) Perform right click on that selected item and click on Bring to Front (not done)8) Give focus back to Task Manager (how?)8) Perform step 6 and 7 again for other application, eg: "The App instance 2", and so on.Please shed some light :-) Thank you!1ok2i have win xp... mine isRun(@SystemDir & "\Taskmgr.exe")3covered above4ok5see controlclick in help6see controlcommand in help7see controlclick again8WinActivate("?title of window?")8 again???hope that helps8) Link to comment Share on other sites More sharing options...
Guest DCreature Posted September 28, 2005 Share Posted September 28, 2005 I can't do it right from step 5 onwards, as ControlClick would need ControlID, but since I used AU3Info.exe to findout the control ID and it doesn't give a reliable value... I want to be able to select an item under Applications tab based on names, because applications would be launched in different orders, etc. I won't explain about how our applications work, I just need to know how to select an item based on name and perform the rest of the steps on it. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now