bustd Posted June 16, 2008 Share Posted June 16, 2008 hey there, like the topic say's, i wanna resize a non autoit window... so far so good.. if i have a classname its an easy thing. but in this case the only thing i can get is a classname like that#32770i tryed to handle it with: WinMove("[CLASS:#32770]", "", 0, 0, 800, 600)but that didnt work -.-stuff likeWinMove("[CLASS:VideoRenderer]", "", 0, 0, 800, 600)works perfect...btw: the autoit windowfinder tool cant get a classname.. i've used "WinGags" to catch the class..maybe someone knows a solution.thx Bustd Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 16, 2008 Moderators Share Posted June 16, 2008 Try to find something unique about the window... title/text/class and you can use a combination of all/any of those to achieve what you want. If all else fails, write something that makes sure the window is attached to a specific process before you resize it. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
bustd Posted June 16, 2008 Author Share Posted June 16, 2008 Try to find something unique about the window... title/text/class and you can use a combination of all/any of those to achieve what you want. If all else fails, write something that makes sure the window is attached to a specific process before you resize it.yes you are right, but the problem is.. that THIS is the only thing i can capture about the window... and iam sorry i've forgott to say that this win is a Child.. but over the parent window i cant get any infos too.maybe anyone know a dll to access win's over a #xxxx defined class.. or other solutions? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 16, 2008 Moderators Share Posted June 16, 2008 yes you are right, but the problem is.. that THIS is the only thing i can capture about the window... and iam sorry i've forgott to say that this win is a Child.. but over the parent window i cant get any infos too. maybe anyone know a dll to access win's over a #xxxx defined class.. or other solutions?You can try to get all the Classe's with WinList("[Class:etc]") then loop through using GetParent API call. It'd be easier to get a straight forward example knowing what application you are using so myself or others can replicate the issue (Unless it's one of those hush hush projects which I'm assuming by the lack of information thus far). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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