Scripting Wife Gives Hints for Beginner Event 9

Scripting Wife Gives Hints for Beginner Event 9

  • Comments 4
  • Likes

Summary: Scripting Wife provides hints for 2012 Scripting Games Beginner Event 9.

I was going to write this tomorrow, but then I am going to meet up with some friends for breakfast and shopping, so I will get my hints that I completed today. I was up rather late last night finishing writing all of my entries for all the events, then I got them submitted this morning. I am officially finished with the 2012 Scripting Games. I am looking forward to seeing what the experts did with my events. I liked Dr. Thomas Lee’s write up—probably because his solution looked a lot like the solution I submitted. I guess a big part of learning from the games is seeing what others did and comparing it with your own work.

I did not think that Beginner Event 9 was too complicated. The hardest part of the event occurred if you did not actually have an event 10001 entry on your computer. I did, and therefore I had no problem. Luckily, DavidW posted a comment about Beginner Event 9 that told how to generate a 10001 error message. He said to restart the computer while Notepad was running, and when the computer asks you if you want to save your data, hit Cancel, and then tell the computer to perform a force quit. When you do this, you should get the error message.

Searching an event log for the 10001 event log entry was not too hard. I sent the results to Format-List with a * and the –force parameter so I could look at information that was returned. This helped me find the property that contained the information about applications that are attempting to veto the shutdown.

I hope this helps.

~Scripting Wife

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • I am confused, I thought the last day one could submit entries was this past Friday, April 13... Did I miss something?

  • Each event has 7 physical days to submit your solution. The 13th was the last new event. AT the top of each event is a box that shows the date it is open and the date of closing. For example you have just over 10 hours to turn in event 7. Then add 24 hoours to that for event 8 etc.

  • 2012sg.poshcode.org/5394  -> I did this in completely different way and i was scored bad. Can any judge make proper score for my script, because this is just not right.  Just see comments under my submitted script, they are explaining everything...  Thanks

  • @ScriptingWife, I guess that makes sense. I was just confused since on the official rules page it makes it seem like the last day is April 13 since it is says the challenge ends on that day.