In addition to Connect to Juno, I also wrote a script to disconnect me from Juno so that I don't use all ten hours in a few days. This was too easy. ;-)

Note: You will still need to close the various browser windows that Juno opens.

#!/usr/bin/perl use strict; use warnings; use Win32::GuiTest qw(MouseMoveAbsPix SendMouse); # The position of the log out button on the Juno ad bar on my setup MouseMoveAbsPix(770, 15); SendMouse("{LEFTCLICK}"); # Give the confirmation box a chance to open sleep(2); # The position of the log out button on the confirmation window on my +setup MouseMoveAbsPix(405,405); SendMouse("{LEFTCLICK}");

Replies are listed 'Best First'.
Re: Disconnect from Juno
by zentara (Cardinal) on Apr 13, 2003 at 14:40 UTC
    You are a clever monk, Mr. Muskrat. Maybe this brute method of generating and sending mouse clicks to programs will evolve into a general method for interfacing with Win32 programs. :-)
      Uh, no offense, but it is a widely known and (not really) appreciated concept. I am using QuicKeys for that very purpose, currently (usually clicking buttons by their ID, rather than screen coordinates).

      Makeshifts last the longest.

        If I had had some more time, I probably would have done just that. Thankfully, I am no longer in a position to need to do quick and dirty scripting.