Sunday, 4. October 2009, 03:17:06
Some of us change an option in particular Opera dialog always and it can be done automatically with the help of following action codes.
| Action |
Description |
| Cycle to next page |
Activates next tab |
| Cycle to previous page |
Activates previous tab |
| Focus next widget |
Focuses next item |
| Focus previous widget |
Focuses previous item |
| Next item |
Focuses next item in dropdown list |
| Previous item |
Focuses previous item in dropdown list |
| Focus next radio widget |
Selects next ratio button |
| Focus previous radio widget |
Selects previous ratio button |
| Check item |
Enables checkbox |
| Uncheck item |
Disables checkbox |
| Show dropdown |
Shows dropdown list |
| Close dropdown |
Closes dropdown list |
| Click button |
Clicks button or changes state of checkbox |
| Click default button |
Clicks default highlighted button |
| Select item |
Selects an item |
| Go to start |
Focuses first item in a list |
| Go to end |
Focuses last item in a list |
| Delay, X |
Delays next action for X milliseconds |
Following examples are for modifying menu configuration but you can use them in keyboard shortcuts or mouse gestures.
Example 1: Enable "Open pop-ups in background" and "Enable content blocking" in site preferences dialog
Under [Document Popup Menu] section replace
Item, M_EDIT_SITE_PREFERENCES = Edit site preferences
with
Item, M_EDIT_SITE_PREFERENCES = Edit site preferences & Focus next widget & Show dropdown & Previous item & Select item & Cycle to next page & Cycle to next page & Focus next widget & Focus next widget & Focus next widget & Focus next widget & Check item
The above code has 12 actions in the following order and animation shows functioning of code.
- Edit site preferences
- Focus next widget
- Show dropdown
- Previous item
- Select item
- Cycle to next page
- Cycle to next page
- Focus next widget
- Focus next widget
- Focus next widget
- Focus next widget
- Check item

Functioning of code
Site preferences dialog can be closed automatically by adding the following at the end of above code.
& Click default button
Example 2: Enable "Open tabs inside current window" in manage sessions dialog
Under [Browser Session Menu] section replace
Item, M_BROWSER_SESSION_MENU_MANAGE = Select session, -1
with
Item, M_BROWSER_SESSION_MENU_MANAGE = Select session, -1 & Focus previous widget & Focus previous widget & Click button & Focus next widget & Focus next widget
Example 3: Enable "Detailed Options" in delete private data dialog
Under [Browser Tools Menu] section replace
Item, MI_IDM_CLEAR_PERSONAL_INFORMATION = Delete private data
with
Item, MI_IDM_CLEAR_PERSONAL_INFORMATION = Delete private data & Focus previous widget & Click button
The above can be also accomplished by modifying dialog.ini file.
Use delay action between actions to check functioning of code.