Monday, November 03, 2008

Webkinz Autologin

I have two children who are avid Webkinz users. However I am often bothered by the fact that I have to come log them into the system, and if they get booted, I have to come repeat the process again. So today as I was working on some Windows automation stuff for a work project, I decided to see if I could write a small Automation script for an autologin to Webkinz.

So here is my tutorial to how to use this.

Step 1: Download and Install auto-hotkey. Don't worry about the name, we are creating a shortcut not a hot key.

Step 2: Open Autoscriptwriter (recorder) which should be under your start menu. and copy the following text into the run line:

FIREFOX
C:\Program Files\Mozilla Firefox\firefox.exe http://mci2.webkinz.com/loader4.php?go=loadReturnUser&aol=0&fs=0
INTERNET EXPLORER
C:\Program Files\Internet Explorer\iexplore.exe http://mci2.webkinz.com/loader4.php?go=loadReturnUser&aol=0&fs=0
Step 3: Click the red Record button and after the login Window opens, Click on the Username field and type in your child's username. Then TAB down to the Password field to type in your child's password. Finally, click on the Begin Playing button using your mouse.

Step 4: In your upper left hand corner is a stop button. Click stop and wait for the generated script to appear.
Delete any extra code from bottom after your mouse click, that may have been generated while waiting for page to load. Change Sleep value from 100 to 1000. Your script should look almost identical to this one, with only the "mouseclick" coordinates being different for your screen, and the username and password belonging to your child.

FIREFOX
Run, C:\Program Files\Mozilla Firefox\firefox.exe http://mci2.webkinz.com/loader4.php?go=loadReturnUser&aol=0&fs=0
WinWait, Welcome to Webkinz® - a Ganz website - Mozilla Firefox,
IfWinNotActive, Welcome to Webkinz® - a Ganz website - Mozilla Firefox, , WinActivate, Welcome to Webkinz® - a Ganz website - Mozilla Firefox,
WinWaitActive, Welcome to Webkinz® - a Ganz website - Mozilla Firefox,
MouseClick, left, 504, 487
Sleep, 1000
Send,
username{TAB}password
Sleep, 1000
MouseClick, left, 504, 607

INTERNET EXPLORER
Run, C:\Program Files\Internet Explorer\iexplore.exe http://mci2.webkinz.com/loader4.php?go=loadReturnUser&aol=0&fs=0
WinWait, Welcome to Webkinz® - a Ganz website - Windows Internet Explorer,
IfWinNotActive, Welcome to Webkinz® - a Ganz website - Windows Internet Explorer, , WinActivate, Welcome to Webkinz® - a Ganz website - Windows Internet Explorer,
WinWaitActive, Welcome to Webkinz® - a Ganz website - Windows Internet Explorer,
MouseClick, left, 836, 449
Sleep, 1000
Send,
username{TAB}password
Sleep, 1000
MouseClick, left, 836, 567
Step 5: Save file to Desktop as Webkinz.ahk and close Autoscriptwiter.

Step 6: Teach child to double click icon to go into Webkinz World.

3 comments:

Christi Bowman said...

YAY!!!!!!!!!!!!!!!

Randy said...

I AM SO GOING TO TRY THIS.

Anonymous said...

Ideal, thank you!