Several years after your original post, this still works like a charm! Thank you. I suppose this is the #1 hit on google for screensaver defeat for a reason.

I'm using ActiveState Perl build 1006

Since the tk module is not installed by default, simply:

ppm install tk

output:

Downloading Tk-804.028...done Unpacking Tk-804.028...done Generating HTML for Tk-804.028...done Updating files in site area...done 845 files installed

I've found that changing from <space><backspace> to {SCROLLLOCK}{SCROLLLOCK} has less impact on any application which might be in the foreground. <space><backspace> would cause a Firefox application to navigate.


In reply to Re: Screensaver defeat for Win32 by pjbondi
in thread Screensaver defeat for Win32 by aplonis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.