Kidney Posted January 21, 2014 Share Posted January 21, 2014 Started looking at the Obj functions and i want to start playing around with them but im trying to figure out how to find the functions associated with the Obj that is created. For example, in an iTunes UDF it has things like: $Library_Tracks = $iTunesApp.LibraryPlaylist.Tracks How do i find out what properties that each obj has?? like the ".LibraryPlaylist.Tracks" Im guessing there is some tool that can assist in finding these out? or doi need to go searching for these somewhere?? Thx! Link to comment Share on other sites More sharing options...
water Posted January 21, 2014 Share Posted January 21, 2014 Either search the docu of the manufacturer or use an Object Browser. IIRC there are some threads about Object Browsers on the forum. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Solution trancexx Posted January 21, 2014 Solution Share Posted January 21, 2014 There are different tools for that, some of which are written in AutoIt. My favorite is TYPELIB Viewer written by this girl drinking hot chocolate right now, ...uhm go figure. So, what you would have to do is run something like this:$oObj = ObjCreate("iTunes.Application") ; or whatever $sFile = ObjName($oObj, 4) ; file with interfaces definitions ConsoleWrite($sFile & @CRLF) MsgBox(4096, "", $sFile)Then find script called TLBViewer.au3 in examples forum, run it and load it with the file that you got (you can just drop the file onto the window or use "open" button). Then the script will extract all the available info about the object of your interest and display it. You can then copy text, or whatever, and save it to some file for further inspection. Danyfirex 1 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Kidney Posted January 21, 2014 Author Share Posted January 21, 2014 Thank you very much trancexx im not really sure what that code you posted was supposed to do but it just showed the path to the .exe of iTunes. once i used your TLBViewer.au3 i now have alot of exploring to do tyty! 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