我正在探索 rcptt 工具来自动化我们基于 RCP 的应用程序 GUI。
我在这里发现了一个问题。对于画布,它只显示坐标和高度宽度。
录制时,rcptt 给出以下代码
with [get-editor "graph-editor" | get-canvas] {
get-figure -path "0/34" | mouse-enter 370 136 -height 104 -width 303
mouse-move 443 275 -height 506 -width 1453
mouse-exit 447 257 -height 506 -width 1453
}
但这个坐标并不总是相同的。我想从该画布中获取特定节点或特定项目,但未找到任何建议。
同样在此链接中:http: //download.xored.com/q7/docs/ecl-api/latest#get-canvas 他们使用协调作为示例。
需要这方面的建议。