Expermicid Posted July 8, 2012 Share Posted July 8, 2012 (edited) [lenguaje=autoit]#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.8.1 Author..........: Pink Script Function...: Alternative shellExecute. Uso..............: Shellrun($file) #ce ---------------------------------------------------------------------------- local $file="C:\Users\Usuario\Desktop\A.exe" Shellrun($file) Func Shellrun($file) Const $Operation="Open" const $mode="SW_SHOWMAXIMIZED" $shell=dllcall("shell32.dll","int","ShellExecute","hwnd",0,"str",$Operation,"str",$file,"str",0,"str",0,"str",$mode) EndFunc[/lenguaje] Edited February 16, 2014 by Expermicid Link to comment Share on other sites More sharing options...
Recommended Posts