0

我在 Windows 10 上使用 Sikuli IDE 2.0.3。我正在编写以下脚本,但运行时没有任何反应:

items = ("nothing selected", "item1", "item2", "item3")
selected = select(msg = "Please select an item from the list", title = "Año", options = items,default= items[0])
select(msg = "Please select an item from the list", title = "Año", options = items,default= items[0])
if selected == items[0]:
 popup("You did not select an item")
 exit(1)

它没有向我显示任何错误消息,显然,脚本运行正常,但没有任何反应。我尝试了其他脚本,如果它正常工作。

我在用着:

  • 司库利西特-2.0.3
  • jre-8u241-windows-x64
  • jython-standalone-2.7.1.jar

我是新手,我可能遗漏了一些参数,但我找不到有关它的文档。有谁能够帮我?

在此处输入图像描述

4

1 回答 1

1

尝试使用最新的稳定版 SikuliX 2.0.4

于 2020-03-17T09:53:12.200 回答