Results 1 to 2 of 2

Thread: Message Box With Random Positions

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2019

    Post Message Box With Random Positions

    Right now, I am working on a simple code project. It is a spoof alert that creates a message box (the reason behind it is classified). So far, I have created these lines of code for a .vbs file:

    dim ti
    WScript.Sleep 200
    x=msgbox("Message", 5+48, "Title")
    Loop while (timer-ti)<20*60 '20*60 seconds

    This will create a message box that pops up every 2 seconds with two options, retry, and cancel. But. the message boxes pop up in only one spot of the screen, making it possible for the victim (it is just a prank) to easily X them all out. Is it possible to add to the code and make the boxes pop up in random positions all over the screen, making it a real pain in the ***. Any clue how to do that? Also, please share any ideas to make the prank even more rage inducing (for maximum hilarity)... Please respond ASAP! Thanks!

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002

    Re: Message Box With Random Positions

    We don't tolerate this kind of thing, even for pranks. There is a very fine line between a prank and an outright malicious piece of software.
    My usual boring signature: Nothing

Posting Permissions

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

Click Here to Expand Forum to Full Width