To create a custom shell script in Internet Explorer's right click menu,
create the script, place it in the c:\windows\web\ directory and register
it in the system registry.
Create a REG file to register the script into the system registry.
The location in registry is:
"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt"
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt]
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&SPC Links]
@="file://c:/windows/web/spclinks.htm"
"contexts"=hex:10
In the above example, "SPC Links" is the name that will represent the script
in the right click menu. The ampersand (&) just before the "S" designates
the S as the underlined (shortcut key) value for keyboard usage. The
ampersand may be placed anywhere in the string. For example: it could have
been "Spc Lin&ks" to designate the 'k' as the hotkey value.
Entry | Description |
Default | 0x01 |
Image | 0x02 |
ActiveX Control | 0x04 |
Table | 0x08 |
Selected Text | 0x10 |
Hyperlink | 0x20 |
Specialized Shell Scripts:
- HTML Links:
This shell scripts will allow a webpage author to list all
links on a website in their HTML code format. The script is
similar to the addon package's "list links" but they are
displayed in code instead of clickable links. I use this to
extract specific links from other sites.
- This Folder:
This shell script allows the user to browse the folder
in which the active document is located.