alawoona Posted February 28, 2004 Share Posted February 28, 2004 I have an AU3GUI window open and my script asks for the OpenFileDialog window. It does, but open file dialog window is always behind my AU3GUI window - is there any way I can have my script bring it to the foreground? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2004 Developers Share Posted February 28, 2004 you could do a WinSetState ("au3gui title","",@SW_HIDE ) before you do the FileOpenDialog and then do a WinSetState ("au3gui title","",@SW_SHOW). SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valik Posted February 28, 2004 Share Posted February 28, 2004 (edited) This will cause AutoIt 3's window to flicker for a moment, but this should guarantee your FileOpenDialog to be on top. Opt("WinWaitDelay", 1); We need speed! WinActivate(AutoItWinGetTitle()) WinSetState(AutoItWinGetTitle(), "", @SW_HIDE) FileOpenDialog("Blah", "Blah", "All (*.*)") Opt("WinWaitDelay", 250); Back to default Edited February 28, 2004 by Valik Link to comment Share on other sites More sharing options...
alawoona Posted February 28, 2004 Author Share Posted February 28, 2004 thanx - works 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