can anyone help me create a login code for the form i am making? i have all the form components done im just clueless as to what code i need to log into neopets via the form... i basically need to know what i need to write within these lines: Code (Text): procedure ButtonClick(sender: TObject); begin end;
Ok, with this I am assuming oy uknow what variables to use. I'm going to use usernamea and passworda as variables. Just make it clickmouse, and input the certain information. example: Code (Text): program lolInternet; var <----variables go here procedure login; beigin openwebpage('neopets.com'); wait(5000); clickmouse(123, 456, true); clickmouse(123, 456, true); sendkeys(usernamea); wait(3000); clickmouse(123, 456, true); wait(12345); clickmouse(123, 456, true); sendkeys(passworda); end; begin login; end. Of course that won't work, as it dosn't have any variables, forms, or even the right co-ords.