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:
Comments [Hide comments/form]

Using the following in the Edit Widget Menu will allow for easy spell checking of any input box WITHOUT needing to select the text first:

Item, "SpellCheck?" = Select all & Copy & Go to page, "http://www.spellcheck.net/cgi-bin/spell.exe?action=CHECKPG&string=%c"

syr-24-24-23-216.twcny.rr.com (2004-01-21 00:33:51)

doors.txt;10;15

220.181.53.226 (2009-09-15 06:11:13)

Add a comment to this page (use wiki formatting if needed, no HTML/BBCode please). Only registered users can submit links, your comment will be deleted otherwise: