motionman95 Posted June 28, 2009 Share Posted June 28, 2009 Is it possible to render certain HTML tags in an AutoIt text feild? I only would need to render links (a tags) and maybe images (img tag). Thanks in advance! Link to comment Share on other sites More sharing options...
motionman95 Posted June 28, 2009 Author Share Posted June 28, 2009 Bump! Link to comment Share on other sites More sharing options...
ProgAndy Posted June 28, 2009 Share Posted June 28, 2009 (edited) You can write some code to include HTMLLayout http://terrainformatica.com/htmlayout/main.whtmor use IE Edited June 28, 2009 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
James Posted June 28, 2009 Share Posted June 28, 2009 Bumping is frowned upon within the first 24 hours.A normal text field wont do it but labels can, GuiCtrlCreateTFLabelUDF. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
motionman95 Posted June 28, 2009 Author Share Posted June 28, 2009 Wow, Mr.CreatoR's work is amazing! I'll take a look! Link to comment Share on other sites More sharing options...
spudw2k Posted June 30, 2009 Share Posted June 30, 2009 Here's another, crude example. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 454, 193, 115) $Obj1 = ObjCreate("Shell.Explorer.2") $Obj1_ctrl = GUICtrlCreateObj($Obj1, 64, 40, 498, 140) $Input1 = GUICtrlCreateInput("Input1", 176, 240, 265, 21) $Button1 = GUICtrlCreateButton("Button1", 256, 288, 105, 17, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $Obj1.navigate("about:<h1><center>" & GUICtrlRead($Input1) & "</h1></center>") EndSwitch WEnd Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
motionman95 Posted July 3, 2009 Author Share Posted July 3, 2009 Spudw2k, does you example log history, cookies, etc. in IE? Link to comment Share on other sites More sharing options...
spudw2k Posted July 7, 2009 Share Posted July 7, 2009 (edited) Spudw2k, does you example log history, cookies, etc. in IE?I guess that depends on what you use it for. If you're going to be browsing the web with the object I'm sure it will cache it normally. Turns out you can do some kinda nifty stuff, including some javascript. Here's an updated example. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 454, 193, 115) $Obj1 = ObjCreate("Shell.Explorer.2") $Obj1_ctrl = GUICtrlCreateObj($Obj1, 64, 40, 498, 140) $Input1 = GUICtrlCreateInput("Input1", 176, 240, 265, 51, 0x1044) GUICtrlSetData(-1,'<a href="javascript:document.write(' & "'Heres some text <br>'" & ')">Click Me</a>') $Button1 = GUICtrlCreateButton("Button1", 256, 298, 105, 17, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $Obj1.navigate("about:<HTML>" & GUICtrlRead($Input1) & "</HTML>") EndSwitch WEnd Edited August 26, 2009 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
GMib Posted January 16, 2010 Share Posted January 16, 2010 You can write some code to include HTMLLayout http://terrainformatica.com/htmlayout/main.whtmor use IEhi, can you give me an example who use HTMLLayout for embed html ?i wan't use html for display movie info in a gui, i don't understand how use this dll.Sorry for my bad english. Link to comment Share on other sites More sharing options...
ProgAndy Posted January 17, 2010 Share Posted January 17, 2010 hi, can you give me an example who use HTMLLayout for embed html ?i wan't use html for display movie info in a gui, i don't understand how use this dll.Sorry for my bad english.Sorry, I have currently no time, but you can look at the PowerBasic-Wrappers. I think, you should be able to convert them to AutoIt *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes 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