
|
|
Modify Communicator's Contextual Menus (4.5)
When you click and hold on a link, image or blank space in a Navigator window, the popup contextual menu defaults to one of three options: Open this link, Copy this image, or Back. How would you like to change them to your own choices?
Open a copy of Comunicator 4.5 in ResEdit and find the MENU resources.
Open them with a double-click.
Find Menu ID number 4100 and open it with a double click.

Notice in the menu bar there is a new item called "Context Popup".
Can you see how the default items; Back, Forward, "Open this Link", and "Copy this Image" are all offset differently than the other items.
That's because they're being tricked into thinking they have custom icons. That's how Netscape determines which item to select!
Close the menu resource 4100 and re-open it again by selecting the menu item "Open Using Hex Editor".

Find the text Open this Link.
Notice that the very next HEX number after the nemu item name is 04.
Change 04 to 00 in the Hex box.

Scroll down to the phrase
New Window with this Link.
Replace the next character after the K of Link with 04 HEX.
In other words, change 00 to 04 Hex.
Now that menu choice will be the default.

You can do the came for
Copy this Image if you wish.
Immediately following the menu item name, change 04 HEX to 00.

In my example, I want to change the default to Save this Image as...
Making sure you're after the ellipse, change the 00 to 04 hex.
When you're finished, close the hex window for MENU ID 4100.

To check your work, re-open MENU ID 4100 with a double-click.
In the menu bar, select the Context Menu to see if the correct items are indented.
Once you are happy with the results, save your work and quit ResEdit.
Your modified copy of Communicator 4.5 is ready to go!
|
|