//-Begin----------------------------------------------------------------
//-With InputAssistant------------------------------------------------
//-Flags------------------------------------------------------------
//-ShowWindow-----------------------------------------------------
Set V[SW_HIDE] "0"
Set V[SW_SHOWNORMAL] "1"
Set V[SW_NORMAL] "1"
Set V[SW_SHOWMINIMIZED] "2"
Set V[SW_SHOWMAXIMIZED] "3"
Set V[SW_MAXIMIZE] "3"
Set V[SW_SHOWNOACTIVATE] "4"
Set V[SW_SHOW] "5"
Set V[SW_MINIMIZE] "6"
Set V[SW_SHOWMINNOACTIVE] "7"
Set V[SW_SHOWNA] "8"
Set V[SW_RESTORE] "9"
Set V[SW_SHOWDEFAULT] "10"
Set V[SW_FORCEMINIMIZE] "11"
Set V[SW_MAX] "11"
//-ShellExecute-----------------------------------------------------
Set V[hWnd] "0"
Set V[Operation] "open"
Set V[File] "Test.vbs"
Set V[Parameters] ""
Set V[Directory] "C:\Dummy"
Set V[ShowCmd] V[SW_SHOWNORMAL]
Call "ShellExecuteA" dll="shell32.dll" In="&V[hWnd]" In="&V[Operation]" In="&V[File]" In="&V[Parameters]" In="&V[Directory]" In="&V[ShowCmd]" Out="rc"
//-Without InputAssistant---------------------------------------------
//-ShellExecute-----------------------------------------------------
Call "ShellExecuteA" dll="shell32.dll" In="0" In="open" In="Test.vbs" In="" In="C:\Dummy" In="1" Out="rc"
//-End------------------------------------------------------------------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
37 | |
10 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |