Jump to content

All ObjCreate() Features..?


Recommended Posts

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...