Showing tag results for scripting techniques

Oct 10, 2005
Post comments count0
Post likes count0

How Can I Center an HTA on the Screen?

ScriptingGuy1

Hey, Scripting Guy! How can I center an HTA on the screen?-- BH Hey, BH. Well, we have an answer for you, although it’s not perfect: we can resize (if need be) and center your window, but there will be a momentary flash on the screen when all this happens. It’s not too terribly distracting and the net effect is what you want: the HTA will be cen...

Scripting Guy!scripting techniquesVBScript
Oct 4, 2005
Post comments count0
Post likes count0

How Can I Get a Script to Close an HTML Page?

ScriptingGuy1

  Hey, Scripting Guy! In one of my scripts I display an HTML page with information that I want my users to read. When they’re finished reading that page, they should be able to press a key and have the Web page disappear. However, instead of the Web page disappearing they get a message box with this message: “The Web page you are viewing is t...

Scripting Guy!scripting techniquesVBScript
Sep 27, 2005
Post comments count1
Post likes count0

How Can I Periodically Refresh a Web Page?

ScriptingGuy1

Hey, Scripting Guy! How can I periodically refresh a Web page?-- TZ Hey, TZ. You know, the last couple of weeks have been very difficult for the Scripting Guys; after all, we were positive that one of us would be nominated to become the next Chief Justice of the United States Supreme Court. (We even bought the robes and everything, robes which -...

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

How Can I Monitor the Activity Level of a Process?

ScriptingGuy1

Hey, Scripting Guy! How can I monitor the activity of a process to see if anyone is using it?-- AJ Hey, AJ. You know, this is one time when writing the script is actually the easy part of the answer. Although there are a couple different ways to do this, we opted to periodically check the cumulative amount of processor time used by an applicatio...

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

How Can I Specify a Window Size for My HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I specify a particular window size for my HTA?-- RN Hey, RN. We can’t speak for Dear Abby, Ann Landers or any other daily columnist, but the Scripting Guys are always on the lookout for a question that can be answered using a single line of code. That’s the Holy Grail for daily columnists: one and done. And, to the be...

Scripting Guy!scripting techniquesVBScript