Showing results for May 2007 - Page 4 of 5 - Scripting Blog [archived]

May 9, 2007
0
0

How Can I Prevent Users From Typing Anything But Numbers Into an HTA Text Box?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have an HTA we use for data input. In one of the text boxes our users are only supposed to type numbers. How can I prevent users from typing anything except numbers in that text box?-- KV Hey, KV. You know that’s a pretty good question: is there a way to prevent users from typing anything except numbers into a text box? An...

Scripting Guy!scripting techniquesVBScript
May 8, 2007
0
0

How Can I List All the Meetings Scheduled By a Specified Person?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the upcoming meetings that have been scheduled by a specific person (namely, my manager)?-- GH Hey, GH. Before we tackle this question we’d like to reassure anyone who looked out their window recently and saw pigs flying; that’s to be expected. Likewise, any of our readers who happen to be resident...

Scripting Guy!VBScriptOffice
May 7, 2007
0
0

Hey, Scripting Guy! How Can I Delete All the Duplicates in a Set of Processes But Keep the Oldest Process?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! If I have a bunch of duplicate processes, how can I delete all of them except for the oldest one?-- IR Hey, IR. We apologize for the delay in answering this question. Originally we thought it would be cute if we could get Peter Costantini, the oldest living Scripting Guy, to answer this; after all, we figured Peter would get ...

Scripting Guy!VBScriptoperating system
May 4, 2007
0
0

How Can I Replace Single Quote Marks in a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I saw your column on replacing text in a text file, and that’s almost the solution I’m looking for. However, the text I need to replace is the single quote mark, and I can’t figure out how to do that. How do I replace single quote marks in a text file?-- JB Hey, JB. You know, this is shaping up to be another very hectic day f...

Scripting Guy!scripting techniquesVBScript
May 3, 2007
0
0

Hey, Scripting Guy! How Can I Determine the Home Directory For All the Disabled User Accounts in Active Directory?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the home directory for all the disabled user accounts in Active Directory?-- DB Hey, DB. You know, it’s not like the Scripting Guy who writes this column is addicted to TV or anything, but last night he was watching TV (as usual) when he saw a brief feature on a new device that will scramble eggs for you. ...

Scripting Guy!VBScriptActive Directory