![]() |
To write macros, click the macros icon. |
| In the MCP, you can add, edit, and delete macros. iBox uses macros, that can be key-maped by the Profile-Macros. |
|
The iBox Macro Syntax
| <Macro> | The macro tag to start and end a macro. Sample code:
|
| <SendKey> or <SendKeys> | The tag to send keys to a profile. Special keys like Ctrl, Alt, Shift, F1, etc, has to be written as [Ctrl], [Alt], [Shift], [F1], etc. Sample code: This will send the key strokes: "a-down" and "a-up".
Sample code: This will send the {combined} keystrokes: "Ctrl-down" + "F1-down" + "F1-up" + "Ctrl-up"
Sample code: If the {} were left out, the keystrokes would be send as: "Ctrl-down" + "Ctrl+up" + "F1-down" + "F1-up"
|
| <Mouse button="" x="" y=""/> | The tag to send mouse commands. Sample code: This will press the mouse's left button down, wait 100 MSecs, then release the left button at position 100,200
If the button parameter is left out, a mousemove will be performed. The button options are: LeftButtonDown, LeftButtonUp, RightButtonDown, RightButtonUp, MiddleButtonDown and MiddleButtonUp. |
| <Loop value=""> | The loop tag, value is the number of times to run through the loop. Sample code: This code will send the text "This is a Test !" 5 times, with a delay of 100 MSecs eatch time.
|
| <Delay value=""/> | Tag to instert a delay in the macro, value is in MSecs. Sample code: see above code samples. |
| <Window> | Display an in-Game window. This tag was developed for games like EverQuest, to act as an "Audio-Trigger" for the hearing impaired. And designed to be used with the ECP. Sample code: This will display an In-Game window with the text: "! Bravely Run Away, Away !"
The Window tag has the following parameters (if not defined, default values will be used): left The windows x position on the screen. If not defined, the x position will default to 0, unless flags incluses "autopos". top The windows y postions on the screen. If not defined, the y position will default to 0, unless flags incluses "autopos". width The windows width. If not defined, the width of the window will default to 0, unless flags incluses "autosize". height The windows height. If not defined, the height of the window will default to 0, unless flags incluses "autosize". flags Flags are used to auto position and auto size the window. If not defined, flags will default to "autosize,autopos". To Specify a size and a position set flags="". Options are: autosize and autopos. time The time, the window will be displayed on the screen, in sec(s). If not defined, the default value is 1 sec. color The background color of the window. If not defined, color will default to $FF0000 (Red). When setting the color value, always remember to use a '$' sign for hex values. alpha The windows alpha transparency. If not defined, alpha will default to 204 = 10% transparency. Values range from 0-255 (0 = no transparency, 255 = full transparency). frame Displays a frame around the window if set to True otherwise no frame is displayed (False). If not defined, frame will default to True. framecolor The windows frame color (if frame is set to True). If not defined, frame color will default to $FFFFFF (White). When setting the color value, always remember to use a '$' sign for hex values. fontname The font of the window text. If not defined, the font will default to Tahoma. fontsize The size of the window text's font. If not defined, the font size will default to 24. fontcolor The color of the window text. If not defined, the font color will default to $FFFFFF (White). When setting the color value, always remember to use a '$' sign for hex values. |


