oleg Posted March 13, 2006 Share Posted March 13, 2006 Hi Im trying to hide a process that i run with @sw_hide flag but have no sucess Tis process have two threads is this could be related ? I dont want to hide windows that this process creates one by one because they still become visible Any There is a hex ( 31303030303030 ) reasons i love AutoIt ! Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 13, 2006 Share Posted March 13, 2006 Hi Im trying to hide a process that i run with @sw_hide flag but have no sucess Tis process have two threads is this could be related ? I dont want to hide windows that this process creates one by one because they still become visible Any I see two good options: A) Two step process: 1. Listen to some SONY BMG CDs 2. Name everything you do $SYS$... B) Simpler one step process: Unplug the monitor. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
oleg Posted March 13, 2006 Author Share Posted March 13, 2006 I see two good options: A) Two step process: 1. Listen to some SONY BMG CDs 2. Name everything you do $SYS$... B) Simpler one step process: Unplug the monitor. Wont do There is a hex ( 31303030303030 ) reasons i love AutoIt ! Link to comment Share on other sites More sharing options...
Nuffilein805 Posted March 13, 2006 Share Posted March 13, 2006 is the title of the windows that keep poping up always the same or do they change? maybe you should just processclose ("the process") my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
oleg Posted March 13, 2006 Author Share Posted March 13, 2006 is the title of the windows that keep poping up always the same or do they change?maybe you should just processclose ("the process")Almost the same i dont want to close the process untill it finishes . Anyway i will hide window by window for now There is a hex ( 31303030303030 ) reasons i love AutoIt ! Link to comment Share on other sites More sharing options...
ChrisL Posted March 13, 2006 Share Posted March 13, 2006 Call your exe svchost.exe then you won't realise it's there! [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
MHz Posted March 13, 2006 Share Posted March 13, 2006 Almost the same i dont want to close the process untill it finishes . Anyway i will hide window by window for now You can use WinSetState() to hide a window.If this is like an installer that goes through a series of windows, then WinSetTrans() may set further windows to hidden with 1 use.You can also use WinMove() to move the 1 window of screen, and the following windows may remain off screen also. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 13, 2006 Moderators Share Posted March 13, 2006 Almost the same i dont want to close the process untill it finishes . Anyway i will hide window by window for now While 1 If ProcessExists('NameOf.exe') Then _HideProcessWindows(ProcessExists('NameOf.exe')) Sleep(10) WEnd Func _HideProcessWindows($a_PID) $ChildOpt = Opt('WinSearchChildren', 1) Local $w_WinList = WinList() For $i = 1 To $w_WinList[0][0] If $a_PID == WinGetProcess($w_WinList[$i][0]) And BitAND($w_WinList[$i][1], 2) Then WinSetState($w_WinList[$i][0], '', @SW_HIDE) Next Opt('WinSearchChildren', $ChildOpt) EndFuncI don't know if this works! 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...
oleg Posted March 13, 2006 Author Share Posted March 13, 2006 Thanks guys all this valuable i wil check it out There is a hex ( 31303030303030 ) reasons i love AutoIt ! 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