Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
Jan 1 2008, 01:09 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 43 Joined: 26-December 07 Member No.: 178,881 |
Can anybody point me to an online resource that will teach me how to do this? This post has been edited by Damaru: Jan 1 2008, 02:20 AM |
|
|
|
Jan 1 2008, 07:28 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 391 Joined: 23-December 07 From: Wanganui, Aotearoa NZ Member No.: 178,459 |
To add items to the drop down list in the run dialog you have to successfully execute them first, but you can create a script that opens the run dialog and enters a certain command to execute. I have no programming knowledge at all so I use AutoIt v3 to make scripts. It can also compile GUIs. http://www.autoitscript.com/autoit3/
-------------------- L&P, World Famous in New Zealand since ages ago! ![]() Avast! Antivirus : Spybot S&D : Trend Micro Housecall : Hosts file : HiJack This Don't be too open minded - your brains will fall out |
|
|
|
Jan 3 2008, 04:50 AM
Post
#3
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: BC Advisor Posts: 1,762 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
The MRU list for the Run box is located at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU There are 27 keys in that registry folder, all string values, labeled a through z and one labelled MRUlist. Here's how it all works: The a through z values are the actual commands that were typed in (with "\1" tacked on the end, but I don't know why). The runMRU list can only contain 26 entries corresponding to the 26 letters of the alphabet. the MRUlist value contains a string of 26 letters representing the order of the MRUlist by the last command issued. The script you will want to write should replace one or more of the lettered values with the entry you want (with the "/1" at the end). I would recommend leaving the MRUlist value alone, though; let Windows handle that. Pretty much any scripting language that can access the registry will work. If it were me, I'd probably use a batch file and stick it in my Startup folder. Feel free to ask if you have any questions. And, as always, backup your registry before tinkering!! No one has ever said "gee, I really wish I hadn't backed up my registry" -------------------- |
|
|
|
Jan 4 2008, 09:20 AM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 43 Joined: 26-December 07 Member No.: 178,881 |
Hi Andrew,
Thanks a lot for that wonderfully elucidating response! Even though I'm a total newcomer to this subject, everything you said makes perfect sense to me. Looks like I've got my work cut out for me, heh This post has been edited by Damaru: Jan 4 2008, 11:11 AM |
|
|
|
Jan 4 2008, 01:44 PM
Post
#5
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: BC Advisor Posts: 1,762 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
Glad to help! It occurred to me that all you may need to do is create a .reg file with the desired info and have it run at startup. I've never tried this so I don't know whether Windows will react nicely, but I don't see why it wouldn't.
-------------------- |
|
|
|
Feb 5 2008, 02:36 AM
Post
#6
|
|
|
New Member ![]() Group: Members Posts: 1 Joined: 5-February 08 Member No.: 188,358 |
Does this link help? http://quick-help.net/Creating-A-Script |
|
|
|
Feb 15 2008, 12:34 PM
Post
#7
|
|
|
New Member ![]() Group: Members Posts: 14 Joined: 14-February 08 From: SECRET Member No.: 190,234 |
Well what kind of script are you trying to make??
Is it a windows script? if so i will give u simple directions First, Create a new text document. You can do this by right clicking on the desktop, selecting new, and clicking "New Text Document". Next you will have to edit this file, Right click on the-now on your desktop "New Text Document- and click "Edit". This will open the document. This is a basic script that will execute when you double click on the icon: Microsoft=msgbox ("message",0,"message") Now "0" is just a number that is used to answere the script, these numbers range from 0-99. Now save this file as a script document. CLick "File", Save As, and then save it as a (desired name here).vbs You must type ".vbs" ( dont put quotes) Then you may double click it, and it will be a script. Thank You, ActiveX |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 28th August 2008 - 01:20 PM |