I was wondering (for practical joke purposes) if there is any way I can set up windows xp to play a .wav or mp3 whenever you exit the screensaver. This could lead to a very fun series of scaring the blank out of my sister.
SloppyKissesomgawd a furreh!VirginiaJoin Date: 2003-07-05Member: 17942Members, Constellation
<!--QuoteBegin-UnderDOG+Jan 26 2005, 11:32 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (UnderDOG @ Jan 26 2005, 11:32 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> whats a vb form? Keep in mind, I dont really know much about programing here. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> its a hax
don't take offence but: <a href='http://www.dummies.com/WileyCDA/DummiesTitle/productCd-0764539892.html' target='_blank'>grab this book</a> (i own a copy meself)
oh, also <a href='http://www.oreilly.com/catalog/winxphks/?CMP=IL7015' target='_blank'>this one is good</a>
<!--QuoteBegin-Black Mage+Jan 26 2005, 10:25 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Black Mage @ Jan 26 2005, 10:25 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> a screensaver is an "exe" with a .scr extension (or so my A+ manual here claims) <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> Correct. This is why so many virii have .scr as the extension. They figure (mostly correctly) that people smart enough not to run random exe's will still be dumb enough to double click random files that open in an associated program.
<!--QuoteBegin-UnderDOG+Jan 26 2005, 10:32 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (UnderDOG @ Jan 26 2005, 10:32 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> whats a vb form? Keep in mind, I dont really know much about programing here. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> It's an empty window you can use in the VB editor to use drawing tools (similar to Photoshop or a WYSIWYG web editor, there's a "Button" tool and a "text box" tool, etc) to make your own windows very quickly.
hrm? i don't recall being "techno-elitist". i simply recommended two books that would assist you in your quest for prankery and add a few knowledge points to your collection. outlined below are simple steps to set up your prank: ingredients: screensaver (grab the full path) Microsoft visual BASIC (6.0+ recommended) keyboard media player (we're taking the lazy way here) sound file
skill level: must be able to find both "enter" and "numlock keys"
Steps: create a new VB project, call it something rename Form1 frmSomething go to frmSomething's properties, make it fill up the screen go to frmSomething's Load event (doubleclick on it and select onLoad from the box) <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->shell [path to screensaver]<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> go to frmSomething's MouseMove event <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->shell "[path to media player] [path to sound file]" unload me end exit<!--c2--></td></tr></table><div class='postcolor'><!--ec2--> same for MouseDown (don't need one for MouseUp)
file --> make [blahblah].exe
open media player, turn volume up and repeat on. go to sound options, turn volume up. same for speakers. run the program, a screensaver should pop up. move the mouse *bam*. (add keyboard events if you want it keyboard-sensetive too)
bonus: rename [blahblah].exe to [blahblah].scr and set it as screensaver.
<!--QuoteBegin-Black Mage+Jan 26 2005, 10:49 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Black Mage @ Jan 26 2005, 10:49 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> edit: doomaniac doubleposted. he is now 1336. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> Read the posts. They're both different. I posted twice in a row, yes, but not doubleposted. :P
<!--QuoteBegin-DOOManiac+Jan 27 2005, 12:56 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Jan 27 2005, 12:56 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Black Mage+Jan 26 2005, 10:49 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Black Mage @ Jan 26 2005, 10:49 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> edit: doomaniac doubleposted. he is now 1336. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd--> Read the posts. They're both different. I posted twice in a row, yes, but not doubleposted. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd--> It's the same idea. If I posted one post that said "Good job" and then another that said "So what are you going to do next" I should have edited the first one. Joo are t3h dubble postah. BAN.
Comments
make a simple vb form with a timer that plays music when it detects a mouse movement (bonus points for using 'shell' to launch a real screensaver)
note: f1 is your friend. RTFMkplzthx
its a hax
<a href='http://www.dummies.com/WileyCDA/DummiesTitle/productCd-0764539892.html' target='_blank'>grab this book</a> (i own a copy meself)
oh, also
<a href='http://www.oreilly.com/catalog/winxphks/?CMP=IL7015' target='_blank'>this one is good</a>
Correct. This is why so many virii have .scr as the extension. They figure (mostly correctly) that people smart enough not to run random exe's will still be dumb enough to double click random files that open in an associated program.
It's an empty window you can use in the VB editor to use drawing tools (similar to Photoshop or a WYSIWYG web editor, there's a "Button" tool and a "text box" tool, etc) to make your own windows very quickly.
ingredients:
screensaver (grab the full path)
Microsoft visual BASIC (6.0+ recommended)
keyboard
media player (we're taking the lazy way here)
sound file
skill level:
must be able to find both "enter" and "numlock keys"
Steps:
create a new VB project, call it something
rename Form1 frmSomething
go to frmSomething's properties, make it fill up the screen
go to frmSomething's Load event (doubleclick on it and select onLoad from the box)
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->shell [path to screensaver]<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
go to frmSomething's MouseMove event
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->shell "[path to media player] [path to sound file]"
unload me
end
exit<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
same for MouseDown (don't need one for MouseUp)
file --> make [blahblah].exe
open media player, turn volume up and repeat on. go to sound options, turn volume up. same for speakers.
run the program, a screensaver should pop up. move the mouse *bam*. (add keyboard events if you want it keyboard-sensetive too)
bonus: rename [blahblah].exe to [blahblah].scr and set it as screensaver.
edit: doomaniac doubleposted. he is now 1336.
edit: doomaniac doubleposted. he is now 1336. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
pwnt
Read the posts. They're both different. I posted twice in a row, yes, but not doubleposted. :P
Read the posts. They're both different. I posted twice in a row, yes, but not doubleposted. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
It's the same idea. If I posted one post that said "Good job" and then another that said "So what are you going to do next" I should have edited the first one. Joo are t3h dubble postah. BAN.
<a href='http://slickdeals.net/forums/t22421.html' target='_blank'>http://slickdeals.net/forums/t22421.html</a>