Commands & Syntax > Commands > Run/Execute >

www.perfectkeyboard.com

 

APPLICATION - < execappex >() ... [Free]

 

Run APPLICATION
<execappex>("File path","Parameters","Folder path",Window state,Time to wait)
Available in: Free edition

Starts an application or opens a file or web page.

 

#

Parameter name

Parameter description

1

File path

(Full) path to the application's file (e.g., "c:\program files\app\app.exe").

2

Parameters

List of parameters the application should be started with (e.g., "/n /g").

3

Folder path

Start up directory. The directory is made current before the application is started.

4

Window state

The state of the window:
0 - Normal
1 - Maximized
2 - Minimized
3 - Hidden

5

Time to wait

Must be 0.

 

Example (Macro Steps):

 

1

<#> <#> This command starts Notepad maximized.

2

Macro execution: ONLY COMMANDS

3

Run APPLICATION "notepad.exe" (other parameters: Parameters = , Folder path = , Window state = Maximize). Macro execution waits for application to finish up to "0" seconds.

Example (Plain Text):

 

<#> This command starts Notepad maximized.

<#>

<cmds>

<execappex>("notepad.exe","","",1,0)