Judah Wrote:Got a guide or anything for how you did that? Biggest custom change I've done is add flash blocking
You basically need to write lines so that the custom menu item you create will run the command "...\flashget.exe <link>" where <link> is the URL to download as a parameter passed to the application.
Note: This will pass links to flashget and doesn't open a separate instance of the application
In Opera:
Tools > Preferences > Advanced > Toolbars
There are two sections: For toolbars and menus. Click the "Duplicate" button for the menu section and it should create a second option in the menus list as well as place a configuration file for your menus in "%Appdata%\Opera\Opera\menu". By default this file is called "standard_menu (1).ini" or something. You will also need to make sure this item is selected to use the custom menu file, also configurable at
opera:config#UserPrefs|MenuConfiguration.
Open the configuration file. There will be two sections you want to edit for text links and image links.
Code:
[Link Popup Menu]
Item, M_BOOKM_ITEM_POPUP_MENU_OPEN="Open link, -2, "urlinfo""
Item, MI_IDM_MENU_PAGEBAR_LINK_IN_NEW_PAGE="Open link in new page, -2, "urlinfo""
Item, MI_IDM_MENU_PAGEBAR_LINK_IN_BG_PAGE="Open link in background page, -2, "urlinfo""
--------------------1
Item, MI_IDM_HLITEM_GET_IN_NEW_WINDOW="Open link in new window, -2, "urlinfo""
...
Insert at bottom:
Code:
--------------------x[1]
Item, "<Name>[2]" = Execute program, "<Path to Flashget executable>[3]","%l"
[1] This inserts a section break in the menu. Make sure to replace x with a number one greater than the previous section break. (3 for me)
[2] The name to appear in the menu. I simply used "Flashget"
[3] For me (x64) this was "C:\Program Files (x86)\Flashget\flashget.exe"
Example:
Code:
[Link Popup Menu]
Item, M_BOOKM_ITEM_POPUP_MENU_OPEN="Open link, -2, "urlinfo""
Item, MI_IDM_MENU_PAGEBAR_LINK_IN_NEW_PAGE="Open link in new page, -2, "urlinfo""
Item, MI_IDM_MENU_PAGEBAR_LINK_IN_BG_PAGE="Open link in background page, -2, "urlinfo""
--------------------1
Item, MI_IDM_HLITEM_GET_IN_NEW_WINDOW="Open link in new window, -2, "urlinfo""
Item, M_OPEN_BACKGROUND_WINDOW="Open link in background window, -2, "urlinfo""
--------------------2
Item, M_LINKS_PANEL_BOOKMARK_LINK="Add link to bookmarks, -2, "urlinfo""
Item, MI_IDM_POPUP_LINK_ADDRESS="Copy link, -2, "urlinfo""
Item, MI_IDM_SAVELINKDOCAS="Save link, -2, "urlinfo""
Item, M_SAVE_LINK_TO_DOWNLOAD_FOLDER="Download url, -2, "urlinfo""
--------------------3
Item, "FlashGet" = Execute program, "C:\Program Files (x86)\FlashGet\flashget.exe","%l"
The second section to edit:
Code:
[Image Link Popup Menu]
Paste the same information from before at the bottom of this item. You may need to change the number if you include the section break.
It would be great if I could find some sort of document detailing the syntax and a list of commands for this configuration file.