namauto Posted August 26, 2008 Share Posted August 26, 2008 (edited) So I am trying to navigate and do various things through a specific program. However, the issue I'm hitting is that I can't rely on click positioning, and when I check out the app with the Window Info tool, the only information it gives me is the Title of the Window, and the Class. Nothing else in any of the tabs is listed. Is there still a way that I can navigate through the various buttons and menus I want to access? I really hope there is. Edited August 26, 2008 by namauto Link to comment Share on other sites More sharing options...
Szhlopp Posted August 26, 2008 Share Posted August 26, 2008 So I am trying to navigate and do various things through a specific program. However, the issue I'm hitting is that I can't rely on click positioning, and when I check out the app with the Window Info tool, the only information it gives me is the Title of the Window, and the Class. Nothing else in any of the tabs is listed.Is there still a way that I can navigate through the various buttons and menus I want to access? I really hope there is."is that I can't rely on click positioning"You're using 'MouseClick()'?Check out the help file on all the 'control' commands. That enables you to move the window anywhere and always have something to click on.Each button has a class name/instance/PID. So grab one of those and use them in 'ControlClick' RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
namauto Posted August 26, 2008 Author Share Posted August 26, 2008 Each button has a class name/instance/PID. So grab one of those and use them in 'ControlClick' I would have done that, but the problem is, nothing is labeled or identified in this program. So when I look at each button, it doesn't show a class name/instance/PID. Link to comment Share on other sites More sharing options...
zorphnog Posted August 26, 2008 Share Posted August 26, 2008 I believe he was referring to an application with non-Win32 widgets. For instance, ControlClick does not work on widgets in a Java application. I'm not sure there is much you can do other than position clicking. Link to comment Share on other sites More sharing options...
Szhlopp Posted August 26, 2008 Share Posted August 26, 2008 (edited) I would have done that, but the problem is, nothing is labeled or identified in this program. So when I look at each button, it doesn't show a class name/instance/PID.Interesting. Is this a game? Normally you can't directly access stuff from games like SWG/WoW/BF/CoH. Edited August 26, 2008 by Szhlopp RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
namauto Posted August 26, 2008 Author Share Posted August 26, 2008 (edited) Interesting. Is this game? Normally you can't directly access stuff from games like SWG/WoW/BF/CoH.Nah, it's a proxy tool. Called Charles Proxy. If you do web stuffs it's pretty neat.The issue is I'm going to be using this script on multiple computers, and I can't guarantee that the tool will load identically each time when I run it. Page dimensions, spot on page, and then the different frames within the page, etc.And I'm sure the game developers do that just to make it challenging for you Edited August 26, 2008 by namauto Link to comment Share on other sites More sharing options...
herewasplato Posted August 26, 2008 Share Posted August 26, 2008 WinMove can handle the screen position and size issue. I downloaded the app and I see what you mean about the frames. I could not find where the app stores that frame size info - if you find it, maybe you can change it to some fixed/known layout before starting the app. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
namauto Posted August 26, 2008 Author Share Posted August 26, 2008 WinMove can handle the screen position and size issue.What's not working here? $o_Charles = Run("...\Charles.exe") WinMove("Charles 3.2.1 - Session 1 *", "", 5, 5, 500, 500, "") Link to comment Share on other sites More sharing options...
namauto Posted August 26, 2008 Author Share Posted August 26, 2008 WinMove can handle the screen position and size issue.What's not working here? $o_Charles = Run("...\Charles.exe") WinMove("Charles 3.2.1 - Session 1 *", "", 5, 5, 500, 500, "") Link to comment Share on other sites More sharing options...
herewasplato Posted August 26, 2008 Share Posted August 26, 2008 try$o_Charles = Run("...\Charles.exe") WinWait("Charles 3.2.1 - Session 1 *") WinMove("Charles 3.2.1 - Session 1 *", "", 5, 5, 500, 500, "") [size="1"][font="Arial"].[u].[/u][/font][/size] 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