XStarter
-Scripts-
Scripts
You can also use scripts with XStarter.
To use a script, simply write this command in the command line o 17417t1922r f an application:
\script name.ext
The script file must be inside the Scripts directory, in the main directory of XStarter.
A script file must look like this:
Command line parameters
Name of window
Type of window
Commands
Where: - Command line parameters: if the program requires some command line parameters, write them here, on one line. If it does not require command line parameters then simply write NULL
- Name of window: the name of the window on which to operate
- Type of window: takes one of these: JAVA or WIN, where JAVA specifies a Java-type window and WIN a normal window.
- Commands: - if the window is a JAVA one:
- TYPE:what_to_type
- TAB
- ENT
- if the window is a WIN one:
- EDIT:what_to_type_in_first_edit_box
- EDIT:what_to_type_in_second_edit_box_a_s_o
- CLICK:name_of_button
Where the name of the button must contain the underlined letter, as well. To specify which letter is underlined use &, as in: &Login, E&xecute
Example, for Yahoo! Messenger, when the user isn't automatically logged in:
NULL
Login
WIN
EDIT:username
EDIT:password
CLICK:&Login
|