Guest sydullasyed Posted July 5, 2006 Share Posted July 5, 2006 I need an object that reads a file in xml format. Autoit won't provide directly xml file object to load an xml file .Can anybody help me in the way how to create that object. send me solution to my id Link to comment Share on other sites More sharing options...
kjactive Posted July 5, 2006 Share Posted July 5, 2006 (edited) I need an object that reads a file in xml format. Autoit won't provide directly xml file object to load an xml file .Can anybody help me in the way how to create that object. send me solution to my id As I recall about extensible markup Language it's a part of MS office packed and both ms words and frontpage can both convert end edit this file format and if so you can use an embedded componet to do the trick... A simple msoffice embedded example expandcollapse popup; Author: Kåre Johansson ; AutoIt Version: 3.1.1.56 ; Description: Very Simple example: Embedding MSOffice object ; Date: 7 jul 2005 #include <GUIConstants.au3> #include <Word.au3> Dim $w = 670, $h = 205 GUICreate ("Embed msoffice spreadsheet control", $w, $h, -1, -1,BitOr($WS_OVERLAPPEDWINDOW,$WS_VISIBLE,$WS_CLIPSIBLINGS)) $TagsPageC = GuiCtrlCreateLabel('Visit Tags Page', 5, $h - 20, 100, 15, $SS_CENTER) GuiCtrlSetFont($TagsPageC,9,400,4) GuiCtrlSetColor($TagsPageC,0x0000ff) GuiCtrlSetCursor($TagsPageC,0) $1C = GUICtrlCreateButton('Play',105,$h - 23,70,20) $2C = GUICtrlCreateButton('Pause',175,$h - 23,70,20) $3C = GUICtrlCreateButton('Showmenu',245,$h - 23,70,20) $oRP = ObjCreate("OWC.Spreadsheet.9") $GUIActiveX = GUICtrlCreateObj( $oRP, 10, 10 , $w - 20 , $h -40 ) $Dummy = ObjEvent($oRP,"Event_","Dummy"); this is a dummy event handle With $oRP; Object tag pool EndWith GUISetState ();Show GUI While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $TagsPageC Run(@ComSpec & ' /c start http://www.myplugins.info/guids/typeinfo/typeinfo.php?clsid={4C599241-6926-101B-9992-00000B65C6F9}','', @SW_HIDE) Case $msg = $1C $oRP.Play Case $msg = $2C $oRP.Pause Case $msg = $3C $oRP.ShowMenu(2) EndSelect WEnd $oRP = 0 GUIDelete () Exit You can search this forum for other examples like use msword... kjactive Edited July 5, 2006 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 5, 2006 Share Posted July 5, 2006 Why can't you parse the file yourself using text functions? Link to comment Share on other sites More sharing options...
GaryFrost Posted July 5, 2006 Share Posted July 5, 2006 another option http://www.autoitscript.com/forum/index.ph...=19848&st=0 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...
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