Project

General

Profile

Run » History » Version 12

Per Amundsen, 02/16/2023 03:08 PM

1 1 Per Amundsen
_Added in 1.5_
2
3 11 Per Amundsen
*/run [-ahnp] <filename|url> [arguments]*
4 1 Per Amundsen
5
Runs the specified program.
6
If a URL is entered, default browser will be used.
7
8 9 Per Amundsen
_Filenames using spaces must be enclosed in [[$qt|quotes]] unless the filetype is .exe or .bat when passing arguments._
9 2 Per Amundsen
10 1 Per Amundsen
*Switches*
11
12 12 Per Amundsen
table(ktable).
13
|*Switch*|*Description*|
14
| -a | Ask to run the application as a administrator. |
15
| -h | Hide the application in context. |
16
| -n | Minimizes the window of the program. |
17
| -p | Sets the working path to the path of the program. |
18 1 Per Amundsen
19
*Parameters*
20
21 12 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| &lt;filename<notextile>|</notextile>url&gt; | File or url to run. |
24
| [arguments] | Arguments list to be passed to the program. |
25 1 Per Amundsen
26
*Example*
27
28
<pre>
29 10 Per Amundsen
; Open www.adiirc.com.
30 1 Per Amundsen
/run www.adiirc.com
31
32 10 Per Amundsen
; Open notepad.
33 1 Per Amundsen
/run notepad.exe
34 10 Per Amundsen
35
; Open firefox to the url 'www.adiirc.com'.
36
/run C:\Program Files\firefox.exe www.adiirc.com
37 1 Per Amundsen
</pre>