SRL Archive - SRL Bugs

MouseItem


wantonman

2012-01-05 21:11:37


MouseItem
~~~~~~~~~

.. code-block:: pascal

procedure MouseItem(i: Byte; Left: Boolean);

Moves Mouse to inv spot then clicks left or right.

.. note::

by WT-Fakawi/EvilChicken! edit by Naum

Example:

.. code-block:: pascal

MouseItem(1, true);

*)
procedure MouseItem(I: Integer; button: Integer);
begin
InvMouse(i, button);
end;


I doesnt work i dont think some one test it and prove me wrong… :spongebob::spongebob::spongebob:

PatDuffy

2012-01-05 21:23:12

I use MouseItem in my firemaking script, and it works with SRL5.

awesomem8

2012-01-16 00:04:38

doesnt right click for me

edit: never mind its "0" to right click.

Wizzup?

2012-01-16 05:54:21

From: awesomem8
doesnt right click for me

edit: never mind its "0" to right click.


No, it is:

mouse_Left
mouse_Right
mouse_Middle

http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html#types