Hey, Scripting Guy! I do not think I write very complicated scripts, but quite often I find that it would be nice to be able to supply more than one value from the command line. It seems that everything I see written for Windows PowerShell uses the $args variable to get command line input,
Hey, Scripting Guy! I love looking at the scripts on the Script Center. I think it is amazing when a person writes you an e-mail stating they have this problem that will take like a zillion years to do manually, and you whip up a script that they can run in just a few seconds and it solves their problem.
(Note: These solutions were written for Event 10.)
Beginner Event 10: The 1,500-meter race
In the 1,500-meter race, you will go for the gold by writing a script that counts down from three minutes.
Guest commentator: Andrew Willett
Andrew Willett is the projects manager for the IT department of a Steinhoff group company.
(Note: These solutions were written for Event 9.)
Beginner Event 9: The javelin throw
For the javelin throw event, you will soar as you write a time logger.
Guest commentator: Salvador Manaois III
Salvador Manaois III is a senior systems engineer at Infineon Technologies Asia Pacific Pte Ltd.
This is the complete list of winners for all 10 events. All prizes have been shipped or fulfilled.
W.S., Ohio, United States
D.R., Ohio, United States
K.M., Ontario, Canada
D.B., Oklahoma, United States
(Note: These solutions were written for Event 8.)
Beginner Event 8: The pole vault
In the pole vault event, you will raise the bar as you run down the folder that is consuming the most disk space on your computer.
(Note: These solutions were written for Event 7.)
Beginner Event 7: The discus throw
In the discus throw event, you will be asked to go farther than ever before. To meet this challenge, you must track your progress by writing the information to a log file.
Note: These pages are no longer available on the PoshCode.org site.
Any and all scripts that everyone has submitted for the 2009 Summer Scripting Games, sorted by event and level! Woohoo!
Beginner Event 1 (the 100-meter dash)
Advanced Event 1
Beginner Event 2 (the long jump)
Advanced Event 2
Beginner Event 3 (the shot put)
Advanced Event 3
Beginner Event 4 (the high jump)
Advanced Event 4
Beginner Event 5 (the 400-meter race)
Advanced Event 5
Beginner Event 6 (the 110-meter hurdles)
Advanced Event 6
Beginner Event 7 (the discus throw)
Advanced Event 7
Beginner Event 8 (the pole vault)
Advanced Event 8
Beginner Event 9 (the javelin throw)
Advanced Event 9
Beginner Event 10 (the 1,500-meter race)
Advanced Event 10
(Note: These solutions were written for Event 6.)
Beginner Event 6: The 110-meters hurdles
In the 110-meter hurdles, you have to overcome a number hurdles as you attempt to make your script run. Debugging skills are useful for this event.
(1) Go to
http://scriptinggames.poshcode.org/Account/EditProfile and log in, if you aren’t already logged in.
(2) Type your e-mail address in the Email Address box:
(3) Submit a script for today’s event.
(4) Wait to hear from us by e-mail. If you’re one of the lucky winners,