Subscribe via RSS Feed
banner ad

Notepad Access via Start Menu

Start Menu is often used for computer users to access the program preferences of computer users. However, with the time course of the application which was developed by the developer (the developer) will be more and more as well, and the factors that have to create Start Menu Programs and overwhelmed with the number of shortcut-shortcut program that is intended to access the applications that are developed by the developer (this situation will occur if you install all the software developed by the developer).

The number of application shortcuts in the Programs result in slow access to the next shortcut, for example, only if you want to access the shortcut in Notepad Accessories have to wait several seconds because many applications that there is a shortcut on the Programs, the Notepad application is important to note the address or important as the notes while. Of course, this will be very burdensome for the user PC (Personal Computer) that has a memory capacity of the rather small. Nah, how to effectively handle it? Why does not RUN through it? RUN through because the computer users are required for the application to be accessed. So what if the user forgot or incorrectly pengetikkan name of the application to be accessed. Certainly will be making and take a quite a lot. Because of these factors then the work is created. I want to do? Follow on how to create shortcuts for your most important applications, such as the following.

Make a script under this program through Notepad ago ShortcutNotePad.js save with the name and change the Save as type Text that was from Documents (*. txt) to All Files. Turn off the Word Wrap in Notepad that at the time pengetikan script program.

var vbCancel = 2;

var vbYesNoCancel = 3;

var vbYes = 6;

var vbNo = 7;

var vbQuestion = 32;

var vbInformation = 64;

var natan = WScript.CreateObject(‘WScript.Shell’);

var pesan1 = ‘Pilihan Buka NotePad:\n\n’+

‘[Yes] untuk Install.\n’+

‘[No] untuk UnInstall.\n’+

‘[Cancel] untuk Keluar.\n\n’+

‘[mailto:prasdikatamajr@yahoo.com]\n\n’+

‘-> Install sekarang?’

var tanya = natan.popup(pesan1,0,’Buka NotePad’,vbYesNoCancel+vbQuestion);

if (tanya == vbYes)

{

natan.RegWrite(‘HKCR\\Directory\\shell\\komando\\’,'-> Buka NotePad!’,'REG_SZ’);

natan.RegWrite(‘HKCR\\Directory\\shell\\komando\\command\\’,'notepad.exe’,'REG_SZ’);

natan.RegWrite(‘HKCR\\Drive\\shell\\komando\\’,'-> Buka NotePad!’,'REG_SZ’);

natan.RegWrite(‘HKCR\\Drive\\shell\\komando\\command\\’,'notepad.exe’,'REG_SZ’);

pesan2 = ‘Selesai Di Install!’

natan.popup(pesan2,0,’Buka NotePad’,vbInformation);

}

else if (tanya == vbNo)

{

natan.RegDelete(‘HKCR\\Directory\\shell\\komando\\command\\’);

natan.RegDelete(‘HKCR\\Directory\\shell\\komando\\’);

natan.RegDelete(‘HKCR\\Drive\\shell\\komando\\command\\’);

natan.RegDelete(‘HKCR\\Drive\\shell\\komando\\’);

pesan3 = ‘Selesai Di UnInstall!’

natan.popup(pesan3,0,’Buka NotePad’,vbInformation);

}

else

{

natan.popup(‘Matur Nuwun.’,0,’Buka NotePad’,vbInformation);

}

After completing the program over the script, open Windows Explorer, then locate the file named ShortcutNotePad.js. Double click on the icon for the file mengeksekusinya. After ShortcutNotePad.js window click Yes to place a shortcut in the Start Menu Notepad. To see the results please right-click on the Start button. So Notepad shortcut that you want will be created for you and you can use immediately. When you use Dreamweaver I suggest running the script through the command prompt with the command C: \> cscript ShortcutNotePad.js. If you use Norton Antivirus or other antivirus that have the script blocking ability, it will be out a message warning that the script is malicious script. While the script is not malicious script but the script that is used to modify the system. Please be access by selecting the “Authorize this script”.

By creating this program means that you have had a role in the economy and accelerate the process of memory and other applications to appear on the entry Windows first. The program has been in over a pilot project in some of the operating system platform, namely the output Microsoft Windows 98, Windows 2000 Professional and Windows XP Professional Service Pack 2.

Tags: , , , ,

Category: software, tip&trick

About the Author:

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.