Página 1 de 1

[Autoit] shellexecute Alternativa

Publicado: 07 Jul 2012, 17:16
por Pink
Bueno les dejo esta alternativa por API. saludos

Código: Seleccionar todo

#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

Re: [Autoit] shellexecute Alternativa

Publicado: 07 Jul 2012, 18:54
por xxxPoseidonxxx
muy bueno pink te estas volviendo un coder1!!! asi me gusta tio!!dale caña