Hadley
2012-05-13 20:45:03
can someone explain how the 'mousebox' function in a script works or link me to an explanation? Would be appreciated!
2012-05-13 20:45:03
2012-05-13 20:55:44
2012-05-13 21:08:19
2012-05-13 21:13:34
From: Hadley
ah i see, i didnt realise the numbers represented x and y. Does simba have a tool that where i can get the x,y numbers? thanks warrior.
2012-05-13 21:29:40
2012-05-14 04:31:31
From: x[Warrior]x3500And mouse_Move.
clicktype= mouse_Right or mouse_Left
2015-03-21 20:31:28
2015-03-21 20:57:28
From: reyrey389
this is outdated as i can't see mousebox as a command anymore. how would I still use this function ?
program MouseBoxExample;
{$I SRL-6/SRL.simba}
var TheBox : TBox;
begin
SetupSRL;
TheBox := IntToBox(100, 100, 300, 300);
MouseBox(TheBox,mouse_Move);
MouseBox(mainScreen.getBounds(), mouse_Right);
MouseBox(IntToBox(100,100,200,200), mouse_Left);
end.