Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language AutoIt

(version 2.x)

Date:05/18/05
Author:Mike Gogulski
URL:n/a
Comments:2
Info:http://www.hiddensoft.com/
Score: (2.33 in 33 votes)
; AutoIt 2.x version of 99 Bottles
; By Mike Gogulski <mike@gogulski.com> 21 March 2005
; AutoIt is a scripting language for Windows application automation
; http://www.hiddensoft.com/
 
SetKeyDelay, 0
Run, notepad
WinWaitActive, Untitled - Notepad
SetEnv, bottles, 99
loop:
 Send, %bottles% bottle(s) of beer on the wall\,{ENTER}
 Send, %bottles% bottle(s) of beer{!}{ENTER}
 Send, Take one down, pass it around\,{ENTER}
 EnvSub, bottles, 1
 Send, %bottles% bottle(s) of beer on the wall{!}{ENTER}
 IfGreater, bottles, 0, Goto, loop

Download Source | Write Comment

Alternative Versions

VersionAuthorDateCommentsRate
version 3.xMike Gogulski05/17/058

Comments

>>  barrym said on 06/14/10 08:54:42

barrym Neither of Mike's version(s) bother to produce the correct output(s)
or the correct ending(s)! Could someone who knows this language please
submit a proper example for us? Thank you.

>>  Rachel22Nielsen said on 06/16/10 19:25:20

Rachel22Nielsen It's well known that cash can make us autonomous. But what to do if one doesn't have cash? The only one way is to try to get the <a href="http://lowest-rate-loans.com/topics/personal-loans">personal loans</a> or student loan.

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: