Skip navigation.

Opera 自娱自乐

opera右键定制之三:论坛灌水工具BBCode


整理于亡灵法师的“新手上路指南”文章之10、添加右键菜单的BBCode。另外添加了“超级链接”等。
“超级链接”的“自定义部分”需要自己使用时修改重写。

1、打开standard_menu.ini,找到[Edit Widget Popup Menu]这段。在其中合适的位置添加下面代码:
Submenu, "BBCode", BBCode Menu


2、在[Edit Widget Popup Menu]的附近添加如下代码:

[BBCode Menu]
Submenu, "常用", Codes menu
Submenu, "颜色", Color menu
Submenu, "大小", Size menu
Submenu, "字体", Font menu

[Codes menu]
Item, "超级链接"="Cut & Insert, "[url=" & Paste & Insert, "]自定义部分[/url]""
Item, "链接"="Cut & Insert, "[url]" & Paste & Insert, "[/url]""
Item, "引用"="Cut & Insert, "[quote]" & Paste & Insert, "[/quote]""
Item, "加粗"="Cut & Insert, "[b]" & Paste & Insert, "[/b]""
Item, "图片"="Cut & Insert, "[img]" & Paste & Insert, "[/img]""
Item, "下划线"="Cut & Insert, "[u]" & Paste & Insert, "[/u]""
Item, "Email"="Cut & Insert, "[email=" & Paste & Insert, "]我的Email[/email]""

[Size menu]
Item, "+1"="Cut & Insert, "[size=2]" & Paste & Insert, "[/size]""
Item, "+2"="Cut & Insert, "[size=3]" & Paste & Insert, "[/size]""
Item, "+3"="Cut & Insert, "[size=4]" & Paste & Insert, "[/size]""
Item, "+4"="Cut & Insert, "[size=5]" & Paste & Insert, "[/size]""
Item, "+5"="Cut & Insert, "[size=6]" & Paste & Insert, "[/size]""
Item, "+6"="Cut & Insert, "[size=7]" & Paste & Insert, "[/size]""

[Font menu]
Item, "宋体"="Cut & Insert, "[font=宋体]" & Paste & Insert, "[/font]""
Item, "黑体"="Cut & Insert, "[font=黑体]" & Paste & Insert, "[/font]""
Item, "&Arial"="Cut & Insert, "[font=Arial]" & Paste & Insert, "[/font]""
Item, "&Book Antiqua"="Cut & Insert, "[font=Book Antiqua]" & Paste & Insert, "[/font]""
Item, "Comic &Sans MS"="Cut & Insert, "[font=Comic Sans MS]" & Paste & Insert, "[/font]""
Item, "&Courier"="Cut & Insert, "[font=Courier]" & Paste & Insert, "[/font]""
Item, "&Georgia"="Cut & Insert, "[font=Georgia]" & Paste & Insert, "[/font]""
Item, "&Lucida Handwriting"="Cut & Insert, "[font=Lucida Handwriting Italic]" & Paste & Insert, "[/font]""
Item, "&News Gothic MT"="Cut & Insert, "[font=News Gothic MT]" & Paste & Insert, "[/font]""
Item, "&Palace Script MT"="Cut & Insert, "[font=Palace Script MT]" & Paste & Insert, "[/font]""
Item, "&Times"="Cut & Insert, "[font=Times New Roman]" & Paste & Insert, "[/font]""

[Color menu]
Item, "红"="Cut & Insert, "[color=Red]" & Paste & Insert, "[/color]""
Item, "深红"="Cut & Insert, "[color=Crimson]" & Paste & Insert, "[/color]""
Item, "砖红"="Cut & Insert, "[color=Firebrick]" & Paste & Insert, "[/color]""
Item, "æ·¡ç´«"="Cut & Insert, "[color=Mediumorchid]" & Paste & Insert, "[/color]""
Item, "蓝"="Cut & Insert, "[color=Blue]" & Paste & Insert, "[/color]""
Item, "品蓝"="Cut & Insert, "[color=Royalblue]" & Paste & Insert, "[/color]""
Item, "深蓝"="Cut & Insert, "[color=Darkblue]" & Paste & Insert, "[/color]""
Item, "绿"="Cut & Insert, "[color=Green]" & Paste & Insert, "[/color]""
Item, "海绿"="Cut & Insert, "[color=Seagreen]" & Paste & Insert, "[/color]""
Item, "酸橙绿"="Cut & Insert, "[color=Limegreen]" & Paste & Insert, "[/color]""
Item, "深青"="Cut & Insert, "[color=Teal]" & Paste & Insert, "[/color]""
Item, "橙色"="Cut & Insert, "[color=Orange]" & Paste & Insert, "[/color]""
Item, "番茄"="Cut & Insert, "[color=Tomato]" & Paste & Insert, "[/color]""
Item, "巧克力"="Cut & Insert, "[color=Chocolate]" & Paste & Insert, "[/color]""
Item, "黄土"="Cut & Insert, "[color=Sienna]" & Paste & Insert, "[/color]""
Item, "褐"="Cut & Insert, "[color=Brown]" & Paste & Insert, "[/color]""


添加BBCode代码的右键菜单.txt

上传一些常用软件opera右键定制之二:调用下载工具的方法

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30