当前位置: 首页 > 图文教程 > 网络编程 > Javascript > Javascript实例教程(19) 使用HoTMetal(7)

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript实例教程(19) 使用HoTMetal(7)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 167 ::
收藏到网摘: n/a

HoTMetal中使用javascript
7. 怎样识别所有的预定义的宏
HoTMetaL PRO 6.0定义了几个内部的事件,这些事件可以触发相应的宏。这些宏为:
OnAction :当相应的菜单被点击中时,这个宏被触发;
On_Application_Activate:当HoTMetaL在从磁盘装载后或者在你运行其它应用程序之后变为激活状态的时候,这个宏被触发;
On_Application_Deactivate:当你运行其它应用程序的时候,这个宏被触发;
On_Application_Open:当你打开HoTMetaL的时候,这个宏被触发;
On_Application_Close:当你关闭HoTMetaL的时候,这个宏被触发;
On_Before_Document_Save:当你保存一个文件的时候,这个宏被触发; 这个宏是在保存文件完成之前被运行的。
On_Before_Document_SaveAs :当你SaveAs(另存为)一个文档的时候,这个宏被触发;这个宏是在SaveAS完成之前运行的。
On_Document_Activate :当文档激活的时候,这个宏被触发;
On_Document_Deactivate:当文档没被激活的时候,这个宏被触发;
On_Document_Open_Complete:当用户打开文档案并在打开操作完成的时候,这个宏被触发;
On_Document_Close:当你关闭文档的时候,这个宏被触发;
On_Document_Save:当你保存文档的时候,这个宏被触发;
On_Document_SaveAs:当你SaveAs文档的时候,这个宏被触发;
On_Update_UI :当UI被更新的时候,这个宏被触发。