d4rkdz Posted May 27, 2012 Share Posted May 27, 2012 hello there there , i am newto autoit and i wondering ifthere is a way to hide internet explorer process under the my script or to include them in the script process itself , i know that you can do that when writing a gui program and internet explorer is embedded into gui , but is that possible in program that dosn't have graphical user interface ?? Link to comment Share on other sites More sharing options...
Venix Posted May 27, 2012 Share Posted May 27, 2012 Do you mean something like this? #include <IE.au3> ;Opens a visible or invisible internet explorer window. _IECreate("Google.com", 0, 0) ; Change the last 0 to 1 to make the window visible. Link to comment Share on other sites More sharing options...
d4rkdz Posted May 27, 2012 Author Share Posted May 27, 2012 Do you mean something like this? #include <IE.au3> ;Opens a visible or invisible internet explorer window. _IECreate("Google.com", 0, 0) ; Change the last 0 to 1 to make the window visible. that would ceat an invisible window but the process will still be separated from the script , what i need is to make in the same process tree as the script or included in the script process Link to comment Share on other sites More sharing options...
Venix Posted May 27, 2012 Share Posted May 27, 2012 (edited) I am not sure why you would want the process linked to the script other than to close it when the program closes but I believe you can code something to do that anyway, I wouldn't be sure how to link the process tree's sorry. Edit: Example, this would close I.E when the GUI closes, not entirely sure without a GUI would depend under what circumstances the program closes. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> $Form1 = GUICreate("Form1", 615, 438, 192, 124) GUISetState(@SW_SHOW) ; Opens a visible or invisible internet explorer window. _IECreate("Google.com", 0, 1) ; Change the last 0 to 1 to make the window visible. While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE ProcessClose("iexplore.exe") ; On Exit, Close Internet Explorer. Exit EndSwitch WEnd Edited May 28, 2012 by Venix Link to comment Share on other sites More sharing options...
JohnOne Posted May 28, 2012 Share Posted May 28, 2012 From what, do you want to hide a process? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted May 28, 2012 Share Posted May 28, 2012 _IECreateEmbedded - Create a Webbrowser object suitable for embedding in an AutoIt GUI with GuiCtrlCreateObj(). - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
JohnOne Posted May 28, 2012 Share Posted May 28, 2012 I would have thought that even if IE was embedded, it would still spawn and show a process. All I see this question boiling down to is "How to hide a process". AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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