escript:writepropertyset
WritePropertySet в файл
В процессе разработки может быть очень полезно.
- example.js
var fileName = "C:\\temp\\trace.txt"; function WritePropertySet(inputPS, fileName) { var fileSvc = TheApplication().GetService("EAI XML Write to File"); var outPS = TheApplication().NewPropertySet(); var tmpProp = inputPS.Copy(); tmpProp.SetProperty("FileName", fileName); fileSvc.InvokeMethod("WritePropSet", tmpProp, outPS); outPS = null; fileSvc = null; tmpProp = null; }
eScript
escript/writepropertyset.txt · Востаннє змінено: 2022/05/23 15:26 повз 127.0.0.1
