Jump to content
UBot Underground

(SOLVED BUT WITHOUT JAVASCRIPT) Any way to run a javascript to generate a beep ?


Recommended Posts

Hello All,

 

I need to generate a beep in javascript (for some reason the traditional windows command line solutions don't wan't to work correctly).

 

I think I should be able to do this with a RUN JAVASCRIPT function.

 

Unfortunately i'm a real total noob in javascript :( .

 

Can maybe someone help me :rolleyes: ?

 

Thanks a lot,

 

Cheers,

 

PS : if you are curious : it's because my script will pause and ask user to input some data... and to be faster I need to alert the user asap when the script is waiting for him

Link to post
Share on other sites

Oh I would love to have something like that. A beep. Just a simple beep. Back in the old days all you have to do was press Alt and type 007 (I think) and then release the Alt key. A simple beep would pop out of the speaker.

 

Geez, now you have to embed a file call some code.

 

I would love a timed Message Box to pop up doing the same sound effect and then disappearing after a preset period of time.

 

Ahhh....the dreams we are having. lol

Link to post
Share on other sites

The problem with popups is they are not modal, and they can sit there for quite awhile unnoticed if your bot is minimized or behind another screen.(I tried that solution and those were my results).

 

John

Link to post
Share on other sites

The problem with popups is they are not modal, and they can sit there for quite awhile unnoticed if your bot is minimized or behind another screen.(I tried that solution and those were my results).

The solution to that is to pause the bot until the user has confirmed the dialog.

 

Playing a sound is possible, but a workaround for a newbie coder was offered. Also, a sound would be no good if the user had no sound on their computer or was hard of hearing. I guess it depends on the context in which the bot is to be used, but my point was that you should never make assumptions about users.

Link to post
Share on other sites

BEEP BEEP BEEP

 

:P

http://sites.google.com/site/metermeter1/herpderp/beep.zip?attredirects=0&d=1

 

Just run it via the Shell command.

 

Thanks, but damn it doesn't beep. :angry:

 

i'm just supposed to run a SHELL and then select the exe right ?

 

All shell commands that i tried didn't work, that's why i wanted to use javascript (i'm on a virtual XP running on MAC OSX so it might be a reason why shell XP commands don't work the way it's expected)

Link to post
Share on other sites

It's beep beep beepin' for me mate!

 

I can run meter's beep through: shell > cmd.exe /c beep.exe

 

It's likely to be a problem with your PC/OS, especially if you can't run other command line stuff...

 

Even double clicking on meter's EXE didn't work for me... i guess it has something to do with the virtualization (I guess I don't really have an "internal" speaker with a virtualized XP)

 

I found a way :D , command line :

 

mplay32 /play /close c:\windows\media\Vista_MSNMSGR_NewMessage.wav

 

(assuming you have such a wav file in c:\windows\media\)

 

it's not a beep, but it's good for me !!! B)

 

http://screencast.com/t/67lJjfEzsd

 

Cheers,

Link to post
Share on other sites
  • 2 weeks later...

I just want a node that beeps.

 

But then again I want a node that drives me to work and actually does my work for me. Thus letting me sleep when I am not botting. lol

 

You guys work? http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...