想要添加这个脚本,就在Zope管理界面(ZMI)中访问工作流(workflow)工具,然后选择脚本标签(Scripts tab),再从下拉项中选择Script(Python),最后给这个创建的新对象起个名字moveObject,并把清单8-1中的代码输入进去。
基于1个网页-相关网页
Tab Scripts 选项卡的脚本
When the import is complete, the All Test Scripts TAB should open as Figure 8 shows.
在导入完成之后,All Test Scripts项应该像图8那样打开。
This TAB shows the custom scripts that control the data set.
该项显示了控制数据集合的定制脚本。
Behavior Tab: Here you can tell the team what scripts to run in special cases. When just created, when idle, when enemy sighted and etc. Scripts must be subroutines.
行为区域这里你将告诉子项在特殊的事件里什么脚本可以运行。什么时候创建,什么时候闲散,什么时候敌人看得见等等。脚本必须成为子程序。
应用推荐