mary Posted September 22, 2007 Share Posted September 22, 2007 As you know autoit, is not a console application. It had a hidden main window (conatining a form and an Edit control +MIE). My question is: how we can get the main window ? I mean is there a variable like @autoitWinHandle ? here is the hidden autoit main window Link to comment Share on other sites More sharing options...
Nahuel Posted September 22, 2007 Share Posted September 22, 2007 Damn, I got that by accident once! I'll see if I can get it again Link to comment Share on other sites More sharing options...
NELyon Posted September 22, 2007 Share Posted September 22, 2007 AutoitWinGetTitle() Link to comment Share on other sites More sharing options...
Nahuel Posted September 22, 2007 Share Posted September 22, 2007 Here WinSetState("AutoIt v3","",@SW_SHOW) While 1 Sleep(100) WEnd Easier than I thought. Link to comment Share on other sites More sharing options...
mary Posted September 22, 2007 Author Share Posted September 22, 2007 Here WinSetState("AutoIt v3","",@SW_SHOW) While 1 Sleep(100) WEnd Easier than I thought. and what if you have more than one script runing ? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 22, 2007 Moderators Share Posted September 22, 2007 and what if you have more than one script runing ?#include <array.au3> Opt("WinTitleMatchMode", 4) Global $aAutoItWins = WinList('classname=AutoIt v3') _ArrayDisplay($aAutoItWins) 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...
Nahuel Posted September 22, 2007 Share Posted September 22, 2007 And what's this window for, exactly? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 22, 2007 Moderators Share Posted September 22, 2007 And what's this window for, exactly?From the stub exe that is used to interpret your script. 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