Customizing Communicator 2007 R2-Adding Commands to the Communicator Menus(3)

你能夠加上自訂的指令或程式到多個Communicator的選單裡,以及透過目前使用者的SIP URL和一個或更過的聯絡人來啟用您平時習慣使用的自訂指令以及程式。

你能夠加上自訂的指令或程式到多個Communicator的選單裡,以及透過目前使用者的SIP URL和一個或更過的聯絡人來啟用您平時習慣使用的自訂指令以及程式。而自定的指令可以附加在Office Communicator選單視窗以及談話視窗。

Defining a Custom Command
下表為加到 Office Communicator 選單上的登錄檔相關說明。而登錄檔的位址如下所示:
HKEY_LOCAL_MACHINE\Software\Microsoft\Communicator\SessionManager\Apps\[GUID of Application].
 
由於在登錄檔只有預設的<使用Live Meeting 共用資訊>的機碼{27877e66-615c-4582-ab88-0cb2ca05d951}
 
所以必須再自行新增另外的機碼並且不重複,因此我另外新增兩筆機碼,以作為在Communicator上使用PowerPoint以及Excel兩種程式。如下圖所示:
 
u 自訂指令在登錄檔的相關說明
 
Name
Type
Data
Name
REG_SZ
Name of the application as it appears on the menu.
ApplicationType
DWORD
0 = Executable (default)
1 = Protocol
Path
REG_SZ
Full path of the application
SessionType
DWORD
0 = Local session. The application is launched on the local computer.
1 = Two-party session (default). Communicator 2007 launches the application locally, and then sends a desktop alert to the other user. The other user clicks the alert and starts the specified application on their computer.
2 = Multi-party session. Communicator 2007 launches the application locally, and then sends desktop alerts to the other users, prompting them to launch the specified application on their own computer.
ExensibleMenu
REG_SZ
A list of the menus where this command will appear, separated by semi-colons. Possible values are:
MainWindowActions
MainWindowRightClick
ConversationWindowActions
ConversationWindowContextual
ConversationWindowRightClick
If ExtensibleMenu is not defined, the default values of MainWindowRightClick and ConversationWindowContextual are used.

 登陸檔的範例如下所示:

Smallicon:為此標籤建立「可攜式網路圖形」(PNG) 格式的圖形。此圖形可高達 16 像素高 x 16 像素寬。
 
其結果就會在Office Communicator選單視窗以及談話視窗出現,如下圖所示:
 
 
 
參考資源:
1.      1. Customizing Communicator 2007
2.      2. Office Communicator 2007 Document: Microsoft Office Communicator 2007 Deployment Guide
3.     3.  Microsoft Office Communicator 2007 R2 部署指南
http://www.microsoft.com/downloads/details.aspx?FamilyID=e5026127-101a-48d7-8683-c95f448329e3&displaylang=zh-tw

 

 MY MVP Profile (Communications Server: Architecture)