Showing tag results for scripting techniques

May 9, 2007
Post comments count0
Post likes count0

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 4, 2007
Post comments count0
Post likes count0

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 2, 2007
Post comments count0
Post likes count0

How Can I Ensure That a Script Runs Only Once on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I ensure that a script runs only once on a computer?-- ML Hey, ML. You know, we were going to start off today’s column by saying, “Show us your bobbleheads!” However, we didn’t want to have to explain to Microsoft people that there was nothing risqué or offensive in that statement; instead, all we wanted is to see wha...

Scripting Guy!scripting techniquesVBScript
Apr 26, 2007
Post comments count0
Post likes count0

How Can I Start a Process and Then Log the User Off When That Process Ends?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I write a script that starts a process, waits until that process ends, and then logs the user off the computer?-- AG Hey, AG. You know, the Scripting Guy who writes this column is never one to brag, mainly because he never has much of anything to brag about. In addition tot that, however, he is a humble and modest sor...

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

How Can I Get the Command Window to Stay Open When I Right-Click a Script and Choose Open With Command Prompt?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get the command window to stay open when I right-click a .VBS file and choose Open With Command Prompt??-- BB Hey, BB. You know, according to BB’s email signature, he’s 9 years old. If that’s true, well, that’s absolutely amazing. A 9-year-old who knows VBScript? At age 9 the Scripting Guys could barely feed themsel...

Scripting Guy!scripting techniquesVBScript