I don't know how It should be written in a autoit script,
in a .vbs I only need this:
Set WshShell = CreateObject(“Wscript.Shell”) WshShell.Run “Rundll32.exe advapi32.dll,ProcessIdleTasks”
and execute as myVBS.vbs $iniread[$j][1]
but in autoit syntax I got the error
what I wrote:
the error:
sorry if something like this was already answeredThe requested action with this object has failed.:
Run($WshShell.run & " " & '"Rundll32.exe advapi32.dll,ProcessIdleTasks"' & " " & $iniread[$j][1])
Run($WshShell.run ^ ERROR
EDIT: I set the $WshShell like this: $WshShell = ObjCreate("Wscript.Shell")
Edited by DiOgO, 14 May 2012 - 05:29 PM.






