提交时运行
脚本1
var color = new Color(java.awt.Color.RED);
var color1 = new Color(java.awt.Color.BLACK);
var loc=new Locator([],OBJECT,DETAIL)
文本1.setForeground(loc,color)
文本2.setForeground(loc,color1)
脚本2
var color = new Color(java.awt.Color.RED);
var color1 = new Color(java.awt.Color.BLACK);
var loc=new Locator([],OBJECT,DETAIL)
文本2.setForeground(loc,color)
文本1.setForeground(loc,color1)