surfer Posted February 15, 2006 Share Posted February 15, 2006 (edited) Hello, how is it possible to unhide processes or set in foreground like these at the clock at the right side in the task slat (Ghost, Volume or Zonealarm)?? Thaks a lot surfer Edited February 15, 2006 by surfer Link to comment Share on other sites More sharing options...
GaryFrost Posted February 15, 2006 Share Posted February 15, 2006 (edited) Hello,how is it possible to unhide processes or set in foreground like these at the clock at the right side in the task slat (Ghost, Volume or Zonealarm)??Thaks a lotsurfer Most of those are not hidden, just process that start another process for example the one for sound runssndvol32.exe /tor justsndvol32.exedepending on the click or option chosen Edited February 15, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
surfer Posted February 16, 2006 Author Share Posted February 16, 2006 Hello, thanks but if I look for some switches for the exe, there aren't some. Is there no possibility to unhide the program with some Windows switches like the hidden windows in the task bar? Greetings surfer Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 16, 2006 Moderators Share Posted February 16, 2006 I guess I'm a bit confused... What do you mean 'unhide'? Where would it end up? What's the price of rice in China ? 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...
surfer Posted February 16, 2006 Author Share Posted February 16, 2006 5kg 100 Yen I would like to show the window of that program to configure it with Autoit. Thats the reason. Thanks surfer Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 16, 2006 Moderators Share Posted February 16, 2006 I'm still confused! Is the Process Hidden or is the Window Hidden or Are they both hidden? If they are both "Hidden", how do you even know it's running? 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...
surfer Posted February 16, 2006 Author Share Posted February 16, 2006 (edited) For instance: If Zonealarm is installed, the window is hidden respectively moved as smal icon at the left side of your windows clock at the task bar. I would like to open such "hidden" but running windows to configure it. Has somebody an hint? surfer Edited February 16, 2006 by surfer Link to comment Share on other sites More sharing options...
PsypheR Posted February 16, 2006 Share Posted February 16, 2006 Point Autoit to the program.exe and run it. Eg Run("C:\Program Files\Zone Labs\ZoneAlarm\zonealarm.exe") Link to comment Share on other sites More sharing options...
surfer Posted February 16, 2006 Author Share Posted February 16, 2006 Hello, ok that works with Zonealarm but if the programm is still and only visible as icon at the clock?? I would like to open any program that is hidden like that. Double clicking isn't the solution cause of the moving icons at different systems. Thanks surfer Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 16, 2006 Moderators Share Posted February 16, 2006 (edited) If the program is already open, why do you want to open it again? Anyway, this is fairly self explanitory, just put the .exe name you want to find windows for, it will list them all show them all, and you can figure out how to use winsetstate() from there since you'll have the specific window names now for what you want. Local $FindExeWin = 'Outlook.exe' Local $ExeWindows = FindWindow(ProcessExists($FindExeWin)) Local $Clip = '' For $x = 1 To UBound($ExeWindows) - 1 ControlShow($ExeWindows[$x], '', '') If MsgBox(4, 'Save', 'Would you like to save to your clipboard so you can set the state for this window?' & @CRLF & $ExeWindows[$x]) = 6 Then $Clip = $Clip & $ExeWindows[$x] & @CRLF EndIf ControlHide($ExeWindows[$x], '', '') Next ClipPut($Clip) Func FindWindow($az_PID) Local $HiddenWindowArray = '' Local $az_WindowPID Local $gt_GotWinList = WinList() For $i = 1 To $gt_GotWinList[0][0] $az_WindowPID = WinGetProcess($gt_GotWinList[$i][0]) If $az_WindowPID = $az_PID And $gt_GotWinList[$i][0] <> '' Then $HiddenWindowArray = $HiddenWindowArray & $gt_GotWinList[$i][0] & Chr(01) Next Return StringSplit(StringTrimRight($HiddenWindowArray, 1), Chr(01)) EndFunc Edited February 16, 2006 by SmOke_N 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...
PsypheR Posted February 16, 2006 Share Posted February 16, 2006 Do you mean un-hidding inactive icons and then running that program? If so running that exe should kick it into life. Perhaps you could give an example of a program you're trying to run/make active. Link to comment Share on other sites More sharing options...
surfer Posted February 16, 2006 Author Share Posted February 16, 2006 The source of the idea is to show the freessh server window to start any configuration. The server is running and shows only the icon left of the clock. I don't mean the shortcuts at my task bar. !!!! But to show that window of the freessh server doesn't work!!! Thanks surfer 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