Hello, I needed to recreate the VBScript constant Nothing in AutoIt and found this posting on the forums I use the code excactly as written $oVBS = ObjCreate("ScriptControl")
$oVBS.language = "VBScript"
Global Const $Nothing = $oVBS.eval("Nothing")
$oVBS = $Nothing However, I get an error "Variable must be of type object" on this line: $oVBS.language = "VBScript" Anyone know what the issue is and how to fix it? I'm on version 3.3.6.1 Thanks, Joe