I need help with the COM API
The following gets the resource ID of the active panel:
$Lg = ObjCreate("LogosBibleSoftware.Launcher")
$lg.LaunchApplication()
$lga = $lg.Application
$lgap = $lga.GetActivePanel()
$ResID = $lgap.Details().ResourceID ;displays resourceID of active panel
MsgBox(4096,"",$ResID)
How can I now get the reference for that panel (ie. lets say its a bible that is opened to John 3:16 - I need it to return this passage in a variable)
Can anyone help?