Showing archive results for 2005

Jun 10, 2005
Post comments count0
Post likes count0

How Can I Determine the Number of Items Generated by the Split Function?

ScriptingGuy1

Hey, Scripting Guy! I know I can use the Split function to split a line into individual items. But how can I tell how many “splits” I ended up with; that is, how many individual items did I generate from a single line?-- SA Hey, SA. For those of you who are relative newcomers to scripting (or those of you who’ve never used the Split function) le...

Scripting Guy!scripting techniquesVBScript
Jun 9, 2005
Post comments count0
Post likes count0

How Can I Clear a Text Box in an HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I clear a text box in an HTA?-- CB Hey, CB. You know, it’s been awhile since we’ve answered a question about HTAs (HTML Applications). And we could probably get away with that except for the fact that a month or so ago we debuted the HTA Developer’s Center, something which implied that we were going to try and do a be...

Scripting Guy!scripting techniquesVBScript
Jun 8, 2005
Post comments count0
Post likes count0

How Can I Hide a Specific Toolbar in Microsoft Word?

ScriptingGuy1

Hey, Scripting Guy! How can I hide a specific toolbar in Microsoft Word?-- AG Hey, AG. Now this question brings back memories. When our editor joined the team one of her first actions was to make us redo a whole bunch of screenshots we had made for the Scripting Week 2 webcasts. Why? Because she didn’t think we should include screenshots that sh...

Scripting Guy!VBScriptOffice
Jun 7, 2005
Post comments count0
Post likes count0

How Can I Tally Items in a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I tally items in a text file?-- JA Hey, JA. If we understand you correctly you have a text file that consists of a number of lines, each line representing a particular item. Just to keep things simple, let’s say your text file consists of city names:City Seattle Seattle Los Angeles Chicago Seattle Los Angeles Pittsbur...

Scripting Guy!scripting techniquesVBScript
Jun 6, 2005
Post comments count0
Post likes count0

How Can I List All the User Profiles on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I list all the user profiles on a computer?-- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent an important part of a system administrator’s duties, and because of that everyone assumes that t...

Scripting Guy!VBScriptoperating system