Showing tag results for scripting techniques

Sep 9, 2005
Post comments count0
Post likes count0

How Can I Remove an Item from a List Box in an HTA?

ScriptingGuy1

Hey, Scripting Guy! In an HTA, how can I remove an item from a list box?-- LW Hey, LW. You know, we Scripting Guys are forward-thinking guys and, as such, we never look back. Did we put an item in a list box? If so, there must have been a darn good reason for that and we’d never even consider removing it. What’s done is done, you know; we can’t ...

Scripting Guy!scripting techniquesVBScript
Aug 30, 2005
Post comments count0
Post likes count0

How Can I Increment the Last Line in a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I increment the last line in a text file; that is, if the last line is 1, indicating we’ve done one backup, I need to increment it to 2, indicating that we’ve now done a second backup.-- TH Hey, TH. If you’ve ever been to a carnival then you’ve no doubt been tempted by some of the sideshow games. Throw a baseball and ...

Scripting Guy!scripting techniquesVBScript
Aug 22, 2005
Post comments count0
Post likes count0

How Can I Determine Which Attributes are Replicated to the Global Catalog?

ScriptingGuy1

Hey, Scripting Guy! How can I find out which attributes are replicated to the global catalog?-- AS Hey, AS. When people envision the future, they often foresee enormous skyscrapers, buildings so large that you might live your whole life without ever leaving them: you’ll live there, work there, go to school there, buy your groceries there, etc. (...

Scripting Guy!scripting techniquesVBScript
Aug 19, 2005
Post comments count0
Post likes count0

How Can I Remove All Duplicate Lines From a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I remove all duplicate lines from a text file?-- SW Hey, SW. You know, to be a Scripting Guy means to embark on a never-ending quest to find the ultimate solution to a given problem. (Or at least that’s what we tell our manager when he asks why we never actually seem to finish anything: “But boss, never-ending quests ...

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

How Can I Monitor the Event Logs for the Occurrence of a Specific Event?

ScriptingGuy1

Hey, Scripting Guy! How can I monitor the event logs for the occurrence of a specific event?-- JP Hey, JP. Why, you use an event log monitoring script, of course. (Yes, it’s hard to believe, but they really do pay us to come up with brilliant answers like that.) OK, maybe we should be a little more specific: you use an event log monitoring scrip...

Scripting Guy!scripting techniquesVBScript