Тема: Newbie Guide
Показать сообщение отдельно
Re: Newbie Guide
Старый 22.02.2010, 00:47   #8
Avalon
Newbie
 
Аватар для Avalon
 
Регистрация: 22.08.2009
Возраст: 35
Сообщений: 62
Репутация: 2 [+/-]
имеет нулевую репутацию
Avalon имеет нулевую репутацию
Чар: Avalon
По умолчанию Re: Newbie Guide

Msg [text]
the message window with [text] displays and script will be paused untill it's closed. The message window goes on top.

Flash
Flashes in taskbar. If you want UO window linked to UOpliot to flash use command Flash + smth else
e.g
flash smth_else

Exec <command> [parameters]
Execs applications with given parameters. If you want to use vars as parameters point them with #
e.g.
exec c:\test.exe #name #lastmsg

Terminate <window name>
Closes pointed application. Use with CARE!

macro_load <file name>
Loads written macro. If the path isn't given the macro will be searched in UO folder.

macro_play [number]
Execs the macro [number] times, and waits its end. If [number]=0 - execs endlessly once by default. One can start/stop macros by using hotkeys.

Mouse operate
All commands with mouse demand cordinates. There are 2 types of cordinates relative (from left top point to right bottom piont or UO window) and absolute (from left top point to right bottom piont or screen). You can set cordinates in following way:
1. Make the UOPilot window active (on top) in a way not to hide UO window.
2. Aim the mouse cursor on the point in UO screen you want (DO NOT CLICK!!!)
3. Push ctrl+A buttons -> you got cordinates.

If you want to place coordinates automatically check the check-box near coordinates.
If you wanna use absolute cordinates (can't be used with command drag) plase 'abs' after them.
e.g.
double_left 218, 242 abs
During executing mouse commands mouse is busy.

Move <coord>
Moves the cursor on <coord>. Attention it's strongly recommended to use this command before following commands.

Left <coord>
Clicks left mouse button on <coord>.

Right <coord>
Clicks right mouse button on <coord>.

Double_left <coord>
Doubel clicks left mouse button on <coord>.

Double_right <coord>
Doubel clicks right mouse button on <coord>.

left_down <coord>
Holds left mouse button on <coord>

right_down <coord>
Holds right mouse button on <coord>

Left_up
Sets left mouse button free on <coord>

Right_up
Sets right mouse button free on <coord>

Others commands
Send <button [pause]> | <text>
Push the <button> and wait [pause] mseconds. If <button> isn't recognized as a control button it sends like a text (as say command) with Enter in the end.
e.g.
send a // a is macros in UO that casts the heal spell last target

Sendex
*Doesn't work, no need to describe*

Drag <from> <to> [amount]
Moves from point with coordinates <from> to <to> an [amount] of items. Coordinates can be only relative. If [amont] isn't pointed only 1 iten will be moved, if [amount]= all - all item will be moved.
e.g.
Drag 220, 400 500, 780 12

Say [text]
Send text message and pushes enter
e.g.
say my x: coordx y: coordy and armor: ar
Avalon вне форума   Ответить с цитированием