Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Sep 2001
    Location
    Blue Springs, Missouri, USA
    Posts
    108
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Writing a PIF file

    I have downloaded a screen saver and put an icon in the Quick Launch toolbar to activate it. However, it activates as soon as I click on the icon. I would like to be able to click on the icon and have the system pause for say 5 seconds before it launches the screen saver. Can I do this with a PIF file and if so how do I create one. Thanx in advance for the asssitance.

    Dennis
    <img src=/S/gramps.gif border=0 alt=gramps width=20 height=20>

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Writing a PIF file

    A PIF file is normally a shortcut to a DOS batch file. So, you would need to know the "pause" DOS command to do that -- I think!

    I could make a script that would pause for a few seconds -- and even give you a dialog box to answer Yes or No -- if you wanted it.

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Writing a PIF file

    The simplest "wait for 5 seconds" command available in the Windows Command Prompt window without having to get hold of another utility (like SLEEP.EXE) is

    PING -n 6 127.0.0.1 > nul

    The number 6 gives a wait of five seconds (11 would give a wait of ten seconds, and so on).
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Writing a PIF file

    I like that solution! Cool.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •