Club Waddles Official Forum
Welcome To Club Waddles!
Club Waddles Official Forum
Welcome To Club Waddles!
Club Waddles Official Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Chat About All Things Club Waddles! The Latest News, Updates, Secrets & More!
 
HomeSearchLatest imagesRegisterLog in

 

 How To: javascript

Go down 
+4
Demento
Bod720
Neon
Long Forgotten Raqumine
8 posters
AuthorMessage
Long Forgotten Raqumine
Club Waddles MOD.
Club Waddles MOD.
Long Forgotten Raqumine


Number of posts : 404
Age : 27
Registration date : 2009-01-30

How To: javascript Empty
PostSubject: How To: javascript   How To: javascript Icon_minitimeMon Mar 09, 2009 8:56 pm

Hi Guys, well i have recently started using Notepad and I found some cool tricks.

First of all you need to be on a WinXP or anything windows. Next go to Start, Accessories, Notepad. Now read the following.


How to: Javascript Popup



Code:
x=msgbox("[b]Popup Message[/b]",[b]Button Numbers[/b],"[b]Popup Header[/b]")

Now, Where it is bold fill in the following information:

Popup Message: This is where you put what you want the pop up to say.

Popup Header: This is what the box will say, like right now on notepad it would say "Untitled Notepad" instead of that it would say what you wrote down.

Button Numbers: Now this is the fun part, this is where you decide how you want to create your popup.

Here are the numbers:
Code:
0 OK button only.
1 OK and cancel buttons.
2 abort, retry, and ignore buttons.
3 yes, no, and cancel buttons.
4 yes and no buttons.
5 retry and cancel buttons.

16 critical message icon.
32 warning query icon.
48 warning message icon.
64 information message icon.

0 normal message box.
4096 always stays top of the desktop.

After you have finished the coding go to file and click "save as." Than select the option "All Files" You should than save it as Popup.vbs MAKE SURE YOU PUT THE .vbs

Than Create a short-cut of it. Drag the shortcut to your desktop, if not already there. From there you can customize it. Right click and select "properties" from there you can change its name, and its icon.

And there you have it, you now know how to make a popup.

_______________________________________________________________________________________

Autotyper:

Here i will show you how to make an Autotyper. An Autotyper is a javascript object that when you click on the file it will open up Notepad and notepad will start typing automatically.

In notepad copy and paste the following code:
Code:
set wshshell = wscript.CreateObject("wscript.shell")
wshshell.run "Notepad"
wscript.sleep 2000
wshshell.AppActivate "Notepad"
WshShell.SendKeys "[b]H[/b]"
WScript.Sleep 500
WshShell.SendKeys "[b]ell[/b]"
WScript.Sleep 500
WshShell.SendKeys "[b]o[/b]"


Once you type that in you have the option to change the bold faced items. The bold faced items are what it will type. Like when you open it, it will type Hello. If you want to add more just copy the " WshShell.SendKeys "ell"
WScript.Sleep 500" and paste it making sure to change the bold faced item to the letters you want.

When done once again go to File, Save As, and click All Files than save it as Autotyper.vbs

And than create a shortcut, and you can customize the icon and name.

Than there you have it, your own Autotyper.
_______________________________________________________________________________________

Annoying Command Prompt Opener(ACPO)
This little trick, once clicked will randomly open up Command Prompt Boxes
So open notepad and copy the following:
Code:

start
start
start
start
start

the "Start" is how many times the command prompt box will open. start = open once

This time to save go to File, Save As, Select All Files and save it as Start.bat NOT start.vbs

So you could put 100 start's and command prompt would open 100 times.

And there you have it, the Annoying Command Prompt Opener, as i call it the ACPO.
_______________________________________________________________________________________

I will post more when i learn more. Feel free to tell me some and ill put it in my post.


Last edited by raqumine™ on Mon Mar 09, 2009 9:09 pm; edited 3 times in total
Back to top Go down
Neon
CW Fan
Neon


Number of posts : 279
Location : Canada
Status : Waiting for Club Waddles to release!
Registration date : 2009-02-15

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeMon Mar 09, 2009 9:00 pm

Nice things Raq lol


Last edited by raqumine™ on Mon Mar 09, 2009 9:06 pm; edited 1 time in total (Reason for editing : My Name is Raq, not Req xD)
Back to top Go down
http://waddlesclub.wordpress.com/
Long Forgotten Raqumine
Club Waddles MOD.
Club Waddles MOD.
Long Forgotten Raqumine


Number of posts : 404
Age : 27
Registration date : 2009-01-30

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeMon Mar 09, 2009 9:00 pm

Neon wrote:
Nice things Req lol

Try them, they're entertaining and fun to show your friends.

(that is if you can remember the code)
Back to top Go down
Neon
CW Fan
Neon


Number of posts : 279
Location : Canada
Status : Waiting for Club Waddles to release!
Registration date : 2009-02-15

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeMon Mar 09, 2009 10:12 pm

The start one is easy to remember
Back to top Go down
http://waddlesclub.wordpress.com/
Bod720
ActionScript Coder
ActionScript Coder
avatar


Number of posts : 150
Age : 28
Location : United Kingdom
Infractions : 0, Zilch, Zero, Zip
Status : Alive. Not coding Club Waddles for a few days.
Registration date : 2009-01-28

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeTue Mar 10, 2009 10:44 am

Cool. However, that code is not JavaScript...
Back to top Go down
http://www.Bod720.co.nr
Demento
CW Fan
Demento


Number of posts : 215
Location : United Kingdom
Status : HAPPY
Registration date : 2009-03-03

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeTue Mar 10, 2009 1:30 pm

isnt it
Back to top Go down
Lettucejr
Club Waddles Support
Club Waddles Support
Lettucejr


Number of posts : 364
Age : 28
Location : DippShitx
Status : CW IS NEVER COMING OUT!!!!
Registration date : 2009-01-27

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeTue Mar 10, 2009 3:08 pm

Cool Raq!! Looks fun to make!!
Back to top Go down
http://www.myass.com
Kyle
Club Waddles Support
Club Waddles Support
Kyle


Number of posts : 1043
Age : 27
Location : Missouri
Status : Tired from school, especially my teacher, UGH!
Registration date : 2009-01-27

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeTue Mar 10, 2009 4:45 pm

I'll be sure to try this sometime!
Back to top Go down
Rory
ActionScript Coder
ActionScript Coder
Rory


Number of posts : 1366
Age : 27
Location : India
Status : Changed my name to Rory
Registration date : 2009-02-06

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeFri Mar 13, 2009 12:13 am

It looks easy to me
Back to top Go down
http://www.pandanious.wordpress.com
Xavier
ActionScript Coder
ActionScript Coder
Xavier


Number of posts : 774
Registration date : 2009-05-08

How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitimeSun May 17, 2009 4:21 pm

Confusing, Raq. Think you can make it a little more, ummm, simple?
Back to top Go down
Sponsored content





How To: javascript Empty
PostSubject: Re: How To: javascript   How To: javascript Icon_minitime

Back to top Go down
 
How To: javascript
Back to top 
Page 1 of 1
 Similar topics
-
» How To Edit Any Website(Javascript)

Permissions in this forum:You cannot reply to topics in this forum
Club Waddles Official Forum :: Programming :: Coding-
Jump to: