Scripting Blog [archived]

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

How Can I Show Users a Dialog Box for Selecting Files?

(image) Hey, Scripting Guy! Is there any way I can use a script to present a user with a dialog box and let him or her select a file?-- BF(image) (image) (image) Hey, BF. If you’re using Windows 2000, we don’t know of a way to do this, at least not a way that’s built into the operating system. That’s not the case with Windows XP, ...

How Can I Give a User a Yes/No Prompt?

(image) Hey, Scripting Guy! I have a script which performs some file management tasks, and then should ask the user whether or not they want to delete a set of files. How do I ask a user a Yes or No question like this? -- SE, Casper, WY(image) (image) (image) Hey, SE. There are a couple different ways that you can do this, but because you’...