• Log in or sign up for an account here: https://www.sythe.org/login

Information Kiosk Script

TimminyCricket

Newcomer
Joined
Sep 16, 2009
Sythe Gold
0
Messages
6
Hey,

Simple question.

I'm programming a script which clicks in an area which repeats. Easy.
I want to restart the script when a 'click' happens.

This is what I have currently.

program Test;
begin
repeat
wait(9000000);
movemouse(1084,101);
clickmouse(1084,101, True);

until(False);
end

I'm sure this is easy to do, I'm new to the SCAR and not quite sure of the coding. Thanks in advance for your help.
 
That'll repeat it forever, until you stop it.

~Sandstorm
 
yeah, but is there a way to start the script again upon mouse click.

This is the situation:

I am making a powerpoint, as a kiosk, on a touch screen computer, so we (the user) can only (left) click, and that is all.

This will be on at all times. So I need a way to restore it to the homepage. What i have done is, made a button on every page (icon) which will revert to the homepage. But if someone uses the kiosk, and doesn't go back to the homepage, i need a way to make it do it by itself. So i need it to be set for about 5 minutes after no mouse click, to automatically click on that icon. As the code above continues while you are still clicking
 
Runescape Gamblingrunescape gambling
Back
Top