Use Javascript to Quickly Open the Run Box

Contributor Icon Contributed by davak Date Icon October 12, 2003  
Tag Icon Tagged: Windows

A quick small javascript file can be the run box just a click away.


I love the run box. For those of you who are tired of win-R or have keyboards without the window key, it’s nice to be able to open the run box with just one click. Here’s how…

1. Open Notepad
2. Type or copy the following text:
(new ActiveXObject("Shell.Application")).FileRun()

3. Under the file menu click Save as
4. Navigate to the folder of your choice. The desktop might be a good choice.
5. In the File Name box type a filename with a .js extension such as run.js
6. Click Save and close Notepad.

Clicking on this file should now open the run box.

Previous recipe | Next recipe |
 

 
close Reblog this comment
blog comments powered by Disqus