hxhjx Posted November 28, 2009 Share Posted November 28, 2009 (edited) hi, anybody already found out that @SW_SHOW doesnt work on windows 7 ? Edited November 28, 2009 by hxhjx Link to comment Share on other sites More sharing options...
Marlo Posted November 28, 2009 Share Posted November 28, 2009 no, care to give a bit more information? Click here for the best AutoIt help possible.Currently Working on: Autoit RAT Link to comment Share on other sites More sharing options...
hxhjx Posted November 28, 2009 Author Share Posted November 28, 2009 well i have a programm window and i try to set its state to @SW_SHOW... and this doesnt work. it event doesnt show up. instead i use this as a little kind of workaround: WinSetOnTop ($windowHandle[1], "", 1) WinSetOnTop ($windowHandle[1], "", 0) but then the windows isnt aktive, just on top regards hxhjx Link to comment Share on other sites More sharing options...
martin Posted November 28, 2009 Share Posted November 28, 2009 well i have a programm window and i try to set its state to @SW_SHOW... and this doesnt work. it event doesnt show up. instead i use this as a little kind of workaround: WinSetOnTop ($windowHandle[1], "", 1) WinSetOnTop ($windowHandle[1], "", 0) but then the windows isnt aktive, just on top regards hxhjx Then you didn't want @SW_SHOW. What you wanted was to bring the window to the top not change it from hidden. If the window was hidden then winsetontop will not show it. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
hxhjx Posted November 28, 2009 Author Share Posted November 28, 2009 i just want the window to be aktive, so keyboard does work for example. or shortcuts like F1 - F12. Link to comment Share on other sites More sharing options...
EndFunc Posted November 28, 2009 Share Posted November 28, 2009 i just want the window to be aktive, so keyboard does work for example. or shortcuts like F1 - F12.Try WinActivate() EndFuncAutoIt is the shiznit. I love it. Link to comment Share on other sites More sharing options...
hxhjx Posted November 28, 2009 Author Share Posted November 28, 2009 (edited) so simply . thank you very much. nevery worked with the window functions Edited November 28, 2009 by hxhjx 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