Buffo Posted April 6, 2006 Share Posted April 6, 2006 Hi folks If I use something like Run("Notepad.exe", "", @SW_HIDE) the window is hidden. But if I run for example Run("rundll32.exe shell32.dll,Options_RunDLL 1", "", @SW_HIDE) the windows is not hidden. I believe the @SW_HIDE command is only for the rundll32.exe and not for the following windows. Even If I set "WinWaitDelay" to 1 the window will popup for a short time. I want to avoid this behaviour because nothing should be seen. Is it possible to hide all following windows or is it planned in future releases of Autoit? For example: Run("rundll32.exe shell32.dll,Options_RunDLL 1", "", @SW_HIDE_ALL) Often it happens that I need this hidden feature but it is not possible to implement. What's your opinion? I am looking forward to get some feedback Thanks in advance. Link to comment Share on other sites More sharing options...
nfwu Posted April 6, 2006 Share Posted April 6, 2006 I don't think it is possible to implment because it is the program which you have run (rundll32.exe) which then runs other programs, whose windows are showing (or something like that). One simple solution is to use WinSetState() on the other windows. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Buffo Posted April 6, 2006 Author Share Posted April 6, 2006 Yes of course I hide the appearing other windows with WinSetState(...). But the that's the problem: Even though WinWaitDelay is set to 1 the window will flicker up for a short time. It's only an aesthetic aspect but important for me I don't know about the Autoit and windows and internals but when it is possible to call hidden windows it has to be possible to call the other windows hidden, too, or am I wrong? I don't know Thx for your response Regards Link to comment Share on other sites More sharing options...
nfwu Posted April 6, 2006 Share Posted April 6, 2006 I don't think it is possible to implment because it is the program which you have run (rundll32.exe) which then runs other programs, whose windows are showing (or something like that).^^Explaination (I think so)...#) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Buffo Posted April 6, 2006 Author Share Posted April 6, 2006 I see... I didn't read correct. Yes, you are right. But perhaps there are any other ideas Regards 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