Showing archive results for 2006

Aug 22, 2006
Post comments count0
Post likes count0

How Can I Dynamically Change the Background Color of an HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I dynamically change the background color of an HTA?-- CN Hey, CN. You know, last summer (Fourth of July, 2005) an errant firework shot by a neighbor accidentally caught one of the Scripting Guys’ garage on fire. (Because it was shot by a neighbor we assume it was an accident. Had it been shot by one of the other Scri...

Scripting Guy!scripting techniquesVBScript
Aug 21, 2006
Post comments count0
Post likes count0

How Can I Save a File Based on the Day of the Week?

ScriptingGuy1

Hey, Scripting Guy! I need to save data to a text file each evening. How can I determine the day of the week and then save the file in the appropriate folder? For example, when the script runs on a Thursday then the file should be saved to C:\Logs\Thursday\Results.txt.-- TW Hey, TW. You know, the problem with the Scripting Guy who writes this co...

Scripting Guy!scripting techniquesVBScript
Aug 18, 2006
Post comments count0
Post likes count0

How Can I Minimize or Hide an HTML Application for 30 Seconds?

ScriptingGuy1

Hey, Scripting Guy! How can I minimize or hide an HTA for 30 seconds?-- MF Hey, MF. You know, with the possible exception of baseball, the Scripting Guy who writes this column rarely claims to know much about anything. And for good reason: every time he thinks he knows something, well …. Take your question, for example. Minimize or hide an HTA? ...

Scripting Guy!scripting techniquesVBScript
Aug 17, 2006
Post comments count0
Post likes count0

How Can I Modify the Output of the Ping Command?

ScriptingGuy1

Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output?-- AL Hey, AL. We have to admit, we were a little shocked by your question. Change the output of the Ping command? Really, AL. Would you ask us to rewrite Romeo and Juliet, giving it a more happy and upbeat ending? Would you ask us to f...

Scripting Guy!scripting techniquesVBScript
Aug 16, 2006
Post comments count0
Post likes count0

How Can I Remove Blank Spaces From File Names?

ScriptingGuy1

Hey, Scripting Guy! I have a folder with a bunch of files in it, files with names like Doc 1.pdf, Doc 2.pdf, and Doc 3.pdf. How do I remove the blank spaces from all those file names?-- JRP Hey, JRP. You know, today’s column represents a landmark in Hey, Scripting Guy! history. Why’s that? Because the Scripting Guy who writes this column actuall...

Scripting Guy!VBScriptstorage