Jump to content

How to get the content of mshmtl.dll COM?


Recommended Posts

I have a application use mshtml.dll. Maybe It use ScriptBridge.ScriptBridge.1 ActiveX. But I don't know how to use ObjGet to get that COM.

Even if I use ObjCreate() to make the COM, next I use ObjGet() to get COM but it return 0.

So how can I get the code?

The application looks like Microsoft® HTML Help Executable but it doesn't allow user copy the content.

Link to comment
Share on other sites

If you use ObjCreate, there should be no reason to use ObjGet

$oSB = ObjCreate("ScriptBridge.ScriptBridge")

Then use $oSB.whatever to start using it.

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

I use ObjCreate to create an object. And I use ObjGet to check if ObjGet works correctly.

I have the application looks like Microsoft® HTML Help Executable. It use InternetExplorer Object to display the content. And I don't know how to get the complete content from this application. I can't use GetText()!

The application also disables the right click content menu. So I can't use Ctrl A and Ctrl V to get the content.

Because it looks like Microsoft® HTML Help Executable so if you can get text from Microsoft® HTML Help Executable so you can get text from it.

Please tell me how.

:whistle:

Link to comment
Share on other sites

In details, the application use Microsoft Web Browser ActiveX to display.

I think that it's similar to Autoit with "ObjCreate("shell.explorer.2")

So I write some code in AUtoX like that ObjGet("","shell.explorer.2") but the function return null.

DaleHohm, cau you tell me how to get the Microsoft Web Browser of the other application.

Link to comment
Share on other sites

In details, the application use Microsoft Web Browser ActiveX to display.

I think that it's similar to Autoit with "ObjCreate("shell.explorer.2")

So I write some code in AUtoX like that ObjGet("","shell.explorer.2") but the function return null.

DaleHohm, cau you tell me how to get the Microsoft Web Browser of the other application.

$oIE = _IEAttach()

Check the help file for the various matching techniques available to match the right instance.

:whistle:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...