Scripting Blog [archived]

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

How Can I List All the Files on a User’s Desktop?

(image) Hey, Scripting Guy! How can I list all the files on a user’s desktop?-- BT(image) (image) (image) Hey, BT. So you thought you could fool the Scripting Guys, did you? Well, you did, at least for awhile. As is so often the case with the Scripting Guys we took one look at your question and thought, “Let’s answer this one; this ...

How Can I Auto-Delete Specific File Types from the My Pictures Folder?

(image) Hey, Scripting Guy! How can I auto-delete specific file types from the My Pictures folder? If an error occurs with my fax machine, .drg and .txt files get added to My Pictures. I then have to delete these files before the fax machine will work again.-- WW(image) (image) (image) Hey, WW. You know, this was a case where the Scripting...

How Can I Change the Caption for the My Computer Icon?

(image) Hey, Scripting Guy! Instead of having the My Computer icon on the desktop read My Computer, I’d like to replace that with the name of the computer. Can I do that using a script?-- TG(image) (image) (image) Hey, TG. We get asked this question quite a bit; apparently a lot of you find it convenient to have the computer name right ...