Info Posted May 17, 2008 Share Posted May 17, 2008 ObjCreate("SAPI.SpVoice") isn't in the HelpFile so I guess there are more others... ..? Link to comment Share on other sites More sharing options...
mmavipc Posted May 17, 2008 Share Posted May 17, 2008 ObjCreate only has 1 feature. Creating com objects [size="10"]Pure Au3 crypt funcs(I'm currently also working on making a dll from this)[/size][Y] Be more active in the community[Y] Get 200 posts[N] Get 300 posts[N] Make a Topic in the example scripts forum with at least 50 replies.People who currently hate me:ValikSmOke_N Link to comment Share on other sites More sharing options...
Info Posted May 17, 2008 Author Share Posted May 17, 2008 So what are the COM objects? Link to comment Share on other sites More sharing options...
Zedna Posted May 17, 2008 Share Posted May 17, 2008 (edited) So what are the COM objects?It's nicely described in AutoIt helpfile: Function reference --> Obj/COM reference http://www.autoitscript.com/autoit3/docs/intro/ComRef.htm Edited May 17, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
zackrspv Posted May 17, 2008 Share Posted May 17, 2008 ObjCreate("SAPI.SpVoice") isn't in the HelpFile so I guess there are more others... ..? This may help: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <GuiListView.au3> $COM = GUICreate("COM Objects", 400, 900) $list = GUICtrlCreateListView("COM Objects", 0, 0, 399, 899, $LVS_SORTASCENDING) _GUICtrlListView_SetColumnWidth(-1, 0, 377) GUISetState() $c = 0 While 1 $c += 1 $text = RegEnumKey("HKLM\Software\Classes\CLSID", $c) If @error = -1 Then ExitLoop $data = RegRead("HKLM\Software\Classes\CLSID\"&$text&"\VersionIndependentProgID", "") If $data = "" Then Else GUICtrlCreateListViewItem($data, $list) EndIf WEnd While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd -_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë. Link to comment Share on other sites More sharing options...
Info Posted May 17, 2008 Author Share Posted May 17, 2008 (edited) but what commands would them have? Like, in oIE the commands would be like $oIE.navigate $oIE.refresh $oIE.stop And thanks... Edited May 17, 2008 by Info Link to comment Share on other sites More sharing options...
DaleHohm Posted May 17, 2008 Share Posted May 17, 2008 Please look at the helpfile in the Obj/COM reference section for information on an object browser. MSDN is the best source for Microsoft objects (like IE -- see my sig). You typically need to rely on vendor documentation for this information. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
zackrspv Posted May 17, 2008 Share Posted May 17, 2008 but what commands would them have? Like, in oIE the commands would be like $oIE.navigate $oIE.refresh $oIE.stop And thanks... Like dale said, MSDN really is the best resource for methods, etc. While we can enum all the useable com objects, the exact methods are stored in type libraries, and i'm not sure that I know, yet, how to manipulate/view those type libraries to display methods using just autoit. -_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë. Link to comment Share on other sites More sharing options...
DaleHohm Posted May 17, 2008 Share Posted May 17, 2008 And again, the best you can get by probing the system is the names of objects, methods, properties and events. This tells you nothing about what they mean, how they are to be used etc. You really need vendor documentation. MSDN will only tell you about the Microsoft libraries. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble 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