cramaboule Posted July 25, 2010 Share Posted July 25, 2010 Hello,I've downloaded this program: xstandardIn the OLE/COM Object Viewer I see 'properties'[id(0x00000002) ] BSTR CSS;I would like to know how to use it in AutoIt. I am a beginner in COM/OLE object (I've tested a while ago the same with Adobe, and went well... but there I am lost!)Thanks for your helphere is my code at the moment:expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Func _Creatextandard( $XSTDL, $XSTDT, $XSTDW, $XSTDH) $XSTDObj = ObjCreate("XStandard.XHTMLEditor") $PDFActiveX = GUICtrlCreateObj( $XSTDObj, $XSTDL, $XSTDT, $XSTDW, $XSTDH) With $XSTDObj .css("C:\Program Files\XStandard\format.css") EndWith Return $XSTDObj EndFunc GUICreate("Embedded PDF", 660, 500,Default,Default, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $XSTD = _Creatextandard(10,10,640,480) ;GUICtrlSetStyle ( $PDFObj, $WS_VISIBLE ) GUICtrlSetResizing ($XSTD,$GUI_DOCKAUTO) ; Auto Resize Object GUISetState() ;Show GUI ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE _exit() EndSelect WEnd Func _exit() Exit EndFunc My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website 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