Showing archive results for 2008

Apr 25, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Pass Command-Line Arguments to a Batch File Started From a Script?

ScriptingGuy1

Hey, Scripting Guy! I am trying to write a script that requests multiple pieces of information from a user; I then want to call a batch file, using each piece of information as a separate command-line argument. Unfortunately, though, I can’t get this to work correctly. Can you help?-- BP Hey, BP. You know, at first we was not going to help, but ...

Scripting Guy!scripting techniquesVBScript
Apr 24, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Randomly Assign a Font to Characters in a Word Document?

ScriptingGuy1

Hey, Scripting Guy! I’ve come up with a way to imitate handwriting in a document, but I need some help. Because real handwriting is characterized by variability, I had the idea of using four slightly-different fonts, taken from my actual handwriting, and then randomly assigning a font to each letter. I think that would imitate handwriting a littl...

Scripting Guy!VBScriptOffice
Apr 23, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Schedule a Meeting Each Monday Through Friday For Two Weeks?

ScriptingGuy1

Hey, Scripting Guy! How can I schedule a meeting to occur every day, Monday through Friday, for two weeks?-- GB Hey, GB. As it turns out, the Scripting Guy who writes this column has not moved to some place where it doesn’t snow in April. That’s not because the Seattle area didn’t get the predicted snow this past weekend; on the contrary, it did...

Scripting Guy!VBScriptOffice
Apr 22, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Monitor a Folder for the Creation of New Subfolders?

ScriptingGuy1

Hey, Scripting Guy! How can I monitor a folder for the creation of new subfolders? I know that new files can be detected (via WMI events) but the same syntax doesn't detect new folders.-- WS Hey, WS. Before we get started today can we ask you a quick question: are you reading today’s column? If you aren’t reading today’s column that means that t...

Scripting Guy!VBScriptstorage
Apr 19, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Parse a Text File and Retrieve All the Information Contained Within Square Brackets?

ScriptingGuy1

Hey, Scripting Guy! I need to parse through a text file and extract the information contained within square brackets. So far, however, I haven’t been able to figure out how to do this; that’s because the data isn’t stored on separate lines in the file. Can you help?-- EI Hey, EI. Well, today is Friday, April 18th, the day the National Basketball...

Scripting Guy!scripting techniquesVBScript