Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Viewing an object

$
0
0
Hey AutoIT! This is my second project in and I've modified a VBS Microsoft Update script and have it fully functional (bar Win8) but I was wondering how I can view the methods and properties of an object in AutoIT

Heres a few snippets of the code


$updSession = ObjCreate("Microsoft.Update.Session")
$updSearcher = $updSession.CreateUpdateSearcher()

These are fine, and I can view the methods for them online

$updSearchResult = $updSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")

This will pass back the results from the Searcher object into a new object which can contain anywhere from 0 to well..however many updates MS have put out..
My issue is, further down the script we use

$updSearchResult.Updates.Count-1

I can't find a single entry online as to what other properties might be available in the returned object, and without it being pre-written in VB how would I have known to use ".Updates.Count" is there any way I can view the object in AutoIT?

Cheers in advance,
Martin

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>