INI file variables in Opera 7

Some commands in INI files requires specific arguments for their functionality - for instance Go to page, cannot go to a page unless you give the address of the page you want it to go to!

Opera uses a range of special variables that can be used in some of these INI commands (not all):

NOTE: If the letter is written in uppercase (ie. %S) the parameter is put inside a pair of quotes ("). This is useful for instance if you want to open some document from the cache in a source viewer because the path to the file may contain spaces.

Examples

Some examples you could use in a menu setup file:
In Opera 9.00 the page has to be inside double-quotes " for the special variables to work. For eample

Item, "Check JavaScripts on page" = Go to page, "http://www.hallvord.com/opera/sitetest.php?urlurl=%l"
Item, "Check JavaScripts on page" = Go to page, http://www.hallvord.com/opera/sitetest.php?urlurl=%l

This menu item would send the address of the linked page to the JavaScript analysis script.

Item, "Explain KANJI with Rikai.com" = Go to page, http://www.rikai.com/perl/LangMediator.En.pl?mediate_uri=%u

With this item in the right-click menu, you could right-click any Japanese page and get added popup translation from Rikai.com to the Kanji letters.

Item, "Spell check selected text" = Go to page, http://www.spellcheck.net/cgi-bin/spell.exe?string=%t&action=CHECKPG

With this item in the Hotclick menu, you could spellcheck any text on a web page, or if you put it in the Edit widget menu you could spellcheck something you were typing into any box in Opera.

Categories:

CategoryOpera
CategoryTechnical

Back Links:
There are 2 comments on this page. [Display and/or add comments]