Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Clear a Text Box in an HTA?

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 ...

How Can I Hide a Specific Toolbar in Microsoft Word?

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 ...

How Can I Tally Items in a Text File?

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 ...

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

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 ...

Hey, Scripting Guy! How Can I List All the User Profiles on a Computer?

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 ...

Feedback usabilla icon