rakudave Posted March 8, 2006 Share Posted March 8, 2006 (edited) i know there is a way to embed IE into a gui is it possible to do the same thing with firefox, and if , how? thx Edited March 8, 2006 by rakudave Pangaea Ruler new, UDF: _GUICtrlCreateContainer(), Pangaea Desktops, Pangaea Notepad, SuDoku, UDF: Table Link to comment Share on other sites More sharing options...
cdkid Posted March 8, 2006 Share Posted March 8, 2006 Yes, there is... there's a thing you can download... lemme look & see if i can find it AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
cdkid Posted March 8, 2006 Share Posted March 8, 2006 Found it:http://www.autoitscript.com/forum/index.ph...71entry141271hope that helps~cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
rakudave Posted March 8, 2006 Author Share Posted March 8, 2006 thanks! Pangaea Ruler new, UDF: _GUICtrlCreateContainer(), Pangaea Desktops, Pangaea Notepad, SuDoku, UDF: Table Link to comment Share on other sites More sharing options...
Stumpii Posted March 8, 2006 Share Posted March 8, 2006 What you really want to look at is this post: http://www.autoitscript.com/forum/index.ph...topic=20450&hl= Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
Lupo73 Posted October 16, 2008 Share Posted October 16, 2008 What you really want to look at is this post: http://www.autoitscript.com/forum/index.ph...c=20450&hl=I tried this and other solutions, but seem to have some problems (old code and a bit confused). Can someone help me to use firefox embedded in a script? thanks! SFTPEx, AutoCompleteInput, _DateTimeStandard(), _ImageWriteResize(), _GUIGraduallyHide(): some AutoIt functions. Lupo PenSuite: all-in-one and completely free selection of portable programs and games. DropIt: a personal assistant to automatically manage your files. ArcThemALL!: application to multi-archive your files and folders. Link to comment Share on other sites More sharing options...
nairb Posted October 19, 2008 Share Posted October 19, 2008 I tried this and other solutions, but seem to have some problems (old code and a bit confused). Can someone help me to use firefox embedded in a script? thanks!check out the mozilla developer help here about embedded gecko which is the layout engine used by firefox.most likely you would not need to embed all of firefox. just the engine, and some interface options you pick your self. If you find that you need more, you can look into the embedded mozilla project herehope this helps EmptySpace 1 Link to comment Share on other sites More sharing options...
Lupo73 Posted October 19, 2008 Share Posted October 19, 2008 check out the mozilla developer help here about embedded gecko which is the layout engine used by firefox.most likely you would not need to embed all of firefox. just the engine, and some interface options you pick your self. If you find that you need more, you can look into the embedded mozilla project herehope this helpsThank you, very useful links.. and if instead I would like to embed only a webpage in a GUI, but using firefox and not IE? SFTPEx, AutoCompleteInput, _DateTimeStandard(), _ImageWriteResize(), _GUIGraduallyHide(): some AutoIt functions. Lupo PenSuite: all-in-one and completely free selection of portable programs and games. DropIt: a personal assistant to automatically manage your files. ArcThemALL!: application to multi-archive your files and folders. Link to comment Share on other sites More sharing options...
FaT3oYCG Posted October 22, 2008 Share Posted October 22, 2008 try $Main = GUICreate("Your Gui Name", 800, 600, -1, -1) GUISetState(@SW_SHOW) to create a gui to display it on ShellExecute("app_name.exe") WinWaitActive("Window Title") to run it and wait for it to show ;$Window_Handle = WinGetHandle("Window Title") ;WinSetState($Window_Handle, "", @SW_HIDE) ;_WinAPI_SetWindowLong($Window_Handle , $GWL_STYLE, $WS_POPUP) ;WinSetState($Window_Handle, "", @SW_SHOW) so that you only get the web page displayed While 1 $nMsg = GUIGetMsg() $gui_pos = WinGetPos("Your Gui Name") WinMove("Window Title", "", $gui_pos[0] + 5, $gui_pos[1] + 30, 600, 400) If WinActive("Your Gui Name") = False Then WinSetOnTop("Window Title", "", 0) Else WinSetOnTop("Window Title", "", 1) EndIf Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd for the loop to set the browser on top if the gui is selected to make it look embeded and move it to the right pos i think you need to add some more stuff aswell to make it move with it and look right but that should cover a basic functionality of embedding any program into a gui Interpreters have great power!Although they live in the shadow of compiled programming languages an interpreter can do anything that a compiled language can do, you just have to code it right. 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