Difference between revisions of "MoveMouseBox"
From SCAR Divi Manual
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | procedure | + | procedure MoveMouseBox(const Box: TBox); |
</source> | </source> | ||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Moves the cursor to a random coordinate within the given [[TBox]] '''Box''', relative to the active client window's input area. | + | Moves the cursor to a random coordinate within the given [[TBox]] '''Box''', relative to the active client window's input area. An extended function with additional functionality is available as [[MoveMouseBoxEx]]. |
==Example== | ==Example== | ||
<source lang="scar"> | <source lang="scar"> | ||
begin | begin | ||
− | + | MoveMouseBox(Box(100, 100, 500, 500)); | |
end. | end. | ||
</source> | </source> | ||
==See Also== | ==See Also== | ||
− | *[[ | + | *[[MoveMouseBoxEx]] |
− | *[[ | + | *[[MoveMouse]] |
*[[SetMousePos]] | *[[SetMousePos]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Mouse Functions]] | [[Category:Mouse Functions]] |
Latest revision as of 19:06, 8 September 2012
Definition
procedure MoveMouseBox(const Box: TBox);
Availability
SCAR Divi 3.35 > Current
Description
Moves the cursor to a random coordinate within the given TBox Box, relative to the active client window's input area. An extended function with additional functionality is available as MoveMouseBoxEx.
Example
begin MoveMouseBox(Box(100, 100, 500, 500)); end.