我認為使用查找/替換功能來對輸出窗口圖表名稱進行操作會很有用。
例如:
圖表名稱 = "<列名稱> 的變異性圖表"
查找:“變異性圖表”並替換為“”
這將使我們不必編寫可變性圖表的腳本。
乾杯,
加雷斯
以一般的方式,這對我們來說是很難做到的。 我們真的只能支持在大綱框標題中查找和替換。 因此,函數@戴夫B以上提供等同於我們可以提供的。 最好採用該功能並在提供簡單用戶界面的加載項中使用它。 也許另一個社區成員會這樣做並將其發佈到文件交換.
如果你想要一個通用函數來替換大綱標題中的文本,你可以這樣做
replace outline text = Function( {old, new},
match = Eval( Eval Expr( Current Report() << xpath( Expr( Expr( "//OutlineBox[contains(text(),'" ) || old || Expr( "')]" ) ) ) ) );
For( c = 1, c <= N Items( match ), c++,
new title = Substitute( (match[c] << get title), old, new );
match[c] << set title( new title );
);
);
replace outline text( "Variability Chart for", "" );