Can you get it to work in VBScript?
I know JavaScript,
I'll try it with JavaScript ?
Can you get it to work in VBScript?
Have you tried:
tTxtO := ComObjCreate("Txt[color=red]S[/color]DKLib.TxtSDK")
Do you mean it's a ByRef param?the value ID is a return value from the method getID
Are you sure it's blank, or is it just not a visible string? What are the results of:I got ID=""
MsgBox, % IsObject(ID) ", " !!ID
Do you mean it's a ByRef param?the value ID is a return value from the method getID
There is ComObjValue(), but you only answered 1 of my questions.
If it's not blank, what is the value of the variable? (use ListVars)Are you sure it's blank, or is it just not a visible string? What are the results of:
MsgBox, % IsObject(ID) ", " !!ID
If it's not blank, what is the value of the variable? (use ListVars)Are you sure it's blank, or is it just not a visible string? What are the results of:
MsgBox, % IsObject(ID) ", " !!ID
Then it's quite apparent you aren't listening :?and in msgBox I get null (or ="")
I followed your instructions with :Then it's quite apparent you aren't listening :?and in msgBox I get null (or ="")
for this Com Object (API Reference), and a working VBScript or JScript example. Good luck.
#SingleInstance force w = 530 h = 336 Gui, 1: +LastFound -Caption +AlwaysOnTop -SysMenu Gui, 1: Show, w%w% h%h% Center, Flash Gui, 1: Margin, 0 ,0 Gui, 1: Add, ActiveX, w%w% h%h% vpwb, D27CDB6E-AE6D-11cf-96B8-444553540000 getSwfFromDisk = %A_ScriptDir%/HyperFPLaunch/hiScores_0.swf pwb.Navigate("file:///" . getSwfFromDisk) Return GuiClose: Esc:: Gui, 1:Destroy ExitApp Return
COM_Invoke(psf, "Scale=", "exactfit")
COM_Invoke(psf, "bgcolor=", "#261800")
Gui Add, ActiveX, w%w% h%h% vpwb, Shell.Explorer
COM_Invoke(psf, "Scale=", "exactfit")
psf.Scale := "exactfit"