SlowlyDead Posted June 13, 2008 Share Posted June 13, 2008 Hi! I would like to integrate the GUI of an existing non-autoit program in my GUI. E.g. I would like to have the windows-cmd in an autoitgui. Is there any way ??? Greetings SlowlyDead Link to comment Share on other sites More sharing options...
martin Posted June 13, 2008 Share Posted June 13, 2008 (edited) Hi! I would like to integrate the GUI of an existing non-autoit program in my GUI. E.g. I would like to have the windows-cmd in an autoitgui. Is there any way ??? Greetings SlowlyDeadWelcome to the AutoIt forums SlowlyDead (A lot of you about tonight) Here is an example of a way #include <guiconstants.au3> #include <constants.au3> $hGui1 = GUICreate('Parent',800,600,100,100, BitOr($WS_POPUP,$WS_SIZEBOX,$GUI_SS_DEFAULT_GUI,$WS_CLIPCHILDREN)) $iBtn1 = GUICtrlCreateButton("fit",560,10,100,21,$WS_CLIPSIBLINGS) $hLV1 = GUICtrlCreateListView("lvexample",410,50,300,300,$WS_CLIPSIBLINGS) GUISetState() ;Run("cmd.exe") Run("notepad.exe") Sleep(4000) WinMove("Untitled","",0,0,395,600) Sleep(300) DllCall("user32.dll", "int", "SetParent", "hwnd", WinGetHandle("Untitled"), "hwnd", WinGetHandle('Parent')) Sleep(200) While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit If $msg = $iBtn1 Then WinMove("Untitled","",0,0,295,470) WEnd Edited June 13, 2008 by martin 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...
SlowlyDead Posted June 13, 2008 Author Share Posted June 13, 2008 Thats not what I meant at all. I wanted to integrad the cmd like an Editbox in an Autoit-Gui. Greetings SlowlyDead Link to comment Share on other sites More sharing options...
martin Posted June 13, 2008 Share Posted June 13, 2008 Thats not what I meant at all.I wanted to integrad the cmd like an Editbox in an Autoit-Gui.GreetingsSlowlyDeadI don't understand. You said in your first postI would like to integrate the GUI of an existing non-autoit program in my GUI.So that is what I showed.Do you mean you simply want to have an Edit in a gui?(I think I'm lost at the moment.) 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...
SlowlyDead Posted June 21, 2008 Author Share Posted June 21, 2008 My english is hard to understand :-( I want to add an gui of a programm, like the cmd-windows, in the gui of my autoit program in that way i add an e.g. an editbox in my gui. Greets SlowlyDead Link to comment Share on other sites More sharing options...
Anonymouse Posted June 21, 2008 Share Posted June 21, 2008 My english is hard to understand :-( I want to add an gui of a programm, like the cmd-windows, in the gui of my autoit program in that way i add an e.g. an editbox in my gui.GreetsSlowlyDeadYou want to make command prompt an object that is within your GUI?Or you just want an edit box inside of your GUI? children may smile; the wise ponder- Dr. Holmes of Hardvard Medical School on an Ether BingeLove Makes The World Go Round?So does five shots of tequila. What's your point?[quote name='Valik' date='Jun 5 2008, 05:13 PM']wraithdu, 24 hours. Said I have a bad attitude, just driving the point home with a ban.[/quote]This is classic. :) Link to comment Share on other sites More sharing options...
realkiller Posted June 30, 2008 Share Posted June 30, 2008 i think he is meaning i wanna make a gui that looks like a cmd windows, is that it? Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 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