Showing results for running - Scripting Blog [archived]

Oct 17, 2006
Post comments count0
Post likes count0

How Can I Clear the Contents of Any File Dropped on My Script Icon?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I write a script that will clear the contents of any file that I drag and drop on the script icon?-- SN Hey, SN. Say, you didn’t by any chance misplace a few hundred thousand insects did you? OK; just thought we’d ask. This past weekend the Scripting Guy who writes this column had to drive across the state to attend a...

Scripting Guy!scripting techniquesVBScript
Oct 6, 2006
Post comments count0
Post likes count0

How Can I Pass a Drive Letter From a Script to the Command Shell?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I pass the drive letter of a drive from a VBScript script to the command shell that called that script?-- JF Hey, JF. You know, as kids grow up they pass through a phase where they believe that their parents are capable of doing – and of fixing – anything. Admittedly, children quickly learn the cold, harsh facts, but,...

Scripting Guy!scripting techniquesVBScript
Sep 26, 2006
Post comments count0
Post likes count0

How Can I Run a Windows PowerShell Script from the Run Dialog Box or a Shortcut?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I run a Windows PowerShell script from the Run dialog box or from a shortcut? In the Run dialog box I type something like c:\scripts\test.ps1 but my script just opens up in Notepad.-- RS Hey, RS. We have just one thing to say: University of Washington 29, UCLA 19. And this after the Huskies trailed 16-0 late in the fi...

Scripting Guy!Windows PowerShellscripting techniques
Aug 29, 2006
Post comments count0
Post likes count0

How Can I Cause a Script to Run Inside an HTA Any Time a User Presses ENTER?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I cause a script to run inside an HTA any time a user presses ENTER?-- JJ Hey, JJ. Before answering your question we should state, for the record, that the Scripting Guys are unanimously opposed to the recent decision by the International Astronomical Union (IAU) to remove Pluto from the list of planets. (OK, technica...

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