Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Create a CSV File?

(image) Hey, Scripting Guy! How can I create a CSV file?-- LF(image) (image) (image) Hey, LF. For those of you who aren’t up on your acronyms, CSV is short for comma-separated-values file, a text file in which individual elements are separated by commas. For example, say you have a CSV file consisting of user first names, last names, and...

How Can I Change the Screensaver Timeout Value?

(image) Hey, Scripting Guy! Can I use a script to change the timeout value for the screensaver on a computer?-- JN(image) (image) (image) Hey, JN. For some reason, Microsoft’s scripting technologies come up a little short any time you’re talking about Windows settings and components, things like screensavers, wallpaper, the Taskbar, ...

Hey, Scripting Guy! Can I Retrieve Just Failure Events from the Security Event Log?

(image) Hey, Scripting Guy! Is there a way to retrieve just Failure Audit events from the Security event log?-- KA(image) (image) (image) Hey, KA. Interesting, isn’t it: any time the subject is failure, people turn to the Scripting Guys. What makes you think we know anything about failure? Ok, you’re right: silly question. As far as ...

How Can I Send Data from One Script to Another?

(image) Hey, Scripting Guy! A while back you showed how we could use the InputBox function to prompt a user to enter a value we could then use in our script. What I’d like to know is, is there any way I can take that value and use it in another script?-- JW(image) (image) (image) Hey, JW. We’re guessing here, but apparently you’d ...