Fix code in vbs script

heres my code:

Set objShell = WScript.CreateObject("WScript.Shell")
Set objShellApp = CreateObject("Shell.Application")
Set objIE = objShellApp.Windows.Item(0)

function movemouse(x,y)
objShell.Run "cmd /c nircmd.exe movecursor [" + x + "] [" + y + "]", 0, True
end function

Call movemouse(5,10)

You need to capitalise.

2 Likes