Table of Contents

Run (1.2)

Plugin Information

Information
Developer: Aikar
Download: Run
Download Count: 1424
Support: Click Here
Release Date: January 27th, 2008
Changelog: Click Here

What is Run

Run (1.2) will let you open other applications and files from within FFXI through commands. The idea behind this plugin is to open 3rd party programs all at once, and can be done in your init.txt so you can open all your applications every time FFXI opens.

Run (1.2) supports the use of command line arguments to the applications you start and the ability to specify a starting directory, along with the option to start minimized, start hidden, or just plain kill the process instead of opening it (and the ability to kill it before opening it).

Usage

Run (1.2) can be loaded by opening your Windower console and typing load run. Run (1.2) is autoload friendly, one can add the load run command to their init.txt file in the scripts folder where Windower resides. See the Commands section for further usage details.

Commands

run command file

-hide

This will hide the apps window, if you do not need to see it. You will need to use the -killonly parameter or your task manager to close it if it does not give you a system tray menu.

-min

also: -minimize or -minimized

All three do the same thing, makes the application open in a minimized state, however FFXI's focus will still be lost.

-kill

Kills the process before opening it. This is to help insure you do not accidentally open 2 applications if it is still open already. This option checks by full path. So if you have an app named test.exe opened from C:\MySecrets\test.exe, and you issue -kill on D:\windower\apps\test.exe, it will not kill your MySecrets version. It will only kill apps if its the same exact path as the one you are trying to open

-killonly

Same as above, except it does not open a new program, only kills it. This is the exact same thing as the windows 'pskill' program and unix's 'kill' command, except it still relies on pathname.

-dir

Will override the automatic directory finding code. This sets the working directory for the application launch.

This option should rarely ever need to be used. Example situation would be your exe is in a seperate path than the working directory needs to be in such as spawning a php script through php.exe but keeping working directory to where your php script is located.

Example:

.run -dir "D:\\Web\Scripts\" "D:\\Web\PHP\php.exe" -q D:\Web\Scripts\MyFile.php

Without -dir, the plugin would of set working directory to D:\\Web\PHP since thats the application being spawned, with passing the command line arguments ”-q D:\Web\Scripts\MyFile.php” to PHP.exe

Unless you are in a situation like this, you should not be using -dir.

-runonce

Will not run the application if it is already currently running.

Usage Rules