icculus
2012-05-31 06:12:21
Hey there!
Just joined the forum and am very new to scripting, but it seems interesting so far. So I just wanted to make a very simple script that opens the internet on my desktop and types in a website (facebook.com for example), but im not really sure how to get it to type. I'm open to new ideas as well.
This is the code so far:
Any help is appreciated. Thanks!
Just joined the forum and am very new to scripting, but it seems interesting so far. So I just wanted to make a very simple script that opens the internet on my desktop and types in a website (facebook.com for example), but im not really sure how to get it to type. I'm open to new ideas as well.
This is the code so far:
program OpenInternet;
procedure OpenGoogleChrome;
Begin;
MoveMouse(42, 365);
ClickMouse(42,365, 1);
ClickMouse(42,365, 1);
Wait(5000)
end;
procedure GetOnFacebook;
Begin;
MoveMouse(255, 62);
Wait(5000);
ClickMouse(255, 62, 1);
OpenWebPage('google.com');
end;
begin;
OpenGoogleChrome;
GetOnFacebook;
end.Any help is appreciated. Thanks!