AutoHotkey Community

It is currently May 26th, 2012, 4:09 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 9th, 2009, 2:28 pm 
Offline

Joined: April 9th, 2009, 2:26 pm
Posts: 2
Location: Mars
OK, pretty simple script here - just plays a BOOM sound and pretends that your PC exploded.

Click here for my AutoHotkey website where you can download the Boom script.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2009, 12:09 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Why did you not post source here? Its not hard doing this. Zipping such simple scripts and then hosting in on a page is not needed. And your site needs JavaScript to be enabled, otherwise I could not download it. For that reason, I post your script here (may be some people find it funny too). But in this way, the explosion.mp3 file is not included:
Code:
SetWorkingDir, %A_ScriptDir%

SoundPlay, explosion.mp3

Sleep, 7000

MsgBox, 0, Fatal Explosion Detected, Your computer has exploded. Goodbye.

SendMessage, 0x112, 0xF170, 2,, Program Manager

BlockInput, MouseMove

esc::
SendMessage, 0x112, 0xF170, -1,, Program Manager
BlockInput, MouseMoveOff
exitapp
return


Ah i tested just something. I do not need to enable JavaScript on your site. I dont know why you did it, but on main page it does wait until i activate JavaScript. But if i call the http://www.autohotkey.net/~Bingo324/site/ page directly, it works.

Why should I enable JS on your page???


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 13th, 2009, 5:22 pm 
Because of the very odd way I constructed my site.

I zipped the script so it would include the explosion.mp3 file.

Why do you have JS disabled anyway???


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 13th, 2009, 5:33 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
http://noscript.net/

Its because of some security reason. I am enabling just on sites where i trust. And at other pages, I am enabling temporary and sometimes only specific Scripts (and other things like videos).

Also the page is often rendered faster.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: G. Sperotto and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group