Search the Community
Showing results for tags 'ScriptControl'.
Hello I'm not so familiar with the scriptcontrol, can you help me with this little problem? Why is this script not working correctly? Global $oVbs = ObjCreate('MSScriptControl.ScriptControl') With $ovbs .Language = "VBScript" .AllowUI = True .AddCode('Class Test:Public Function X:X = 123:End Function:Set C = New Test') .AddCode('MsgBox IsObject(C)'); should be true, no? EndWith MsgBox(0,'',$oVbs.Eval('C').X)Also: how do I add code to the global module? Thanks, TheAutomator
I looked at ScriptControl. I wonder if using this, can I do IPC solution in AutoIt. I also wonder whether some extent, ScirptControl can be compared to the use of LUA. Below is what I have read so far. http://msdn.microsoft.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx http://support.microsoft.com/kb/184739/EN-US http://msdn.microsoft.com/en-us/library/aa227413(v=vs.60).aspx http://www.microsoft.com/en-us/download/details.aspx?id=1949 '?do=embed' frameborder='0' data-embedContent>> '?do=embed' frameborder='0' data-embedContent>> '?do=embed' frameborder='0' d