【问题标题】:Input dialog 'select' doesn't work - Sikuli IDE 2.0.3输入对话框“选择”不起作用 - Sikuli IDE 2.0.3
【发布时间】:2020-06-28 02:14:29
【问题描述】:

我在 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)

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

我正在使用:

  • sikulixide-2.0.3
  • jre-8u241-windows-x64
  • jython-standalone-2.7.1.jar

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

【问题讨论】:

    标签: select input jython sikuli sikuli-ide


    【解决方案1】:

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

    【讨论】:

    • 谢谢,它有效!我不知道两天前发布了新版本。
    猜你喜欢
    • 2020-12-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-21
    • 2017-04-21
    • 2014-05-05
    相关资源
    最近更新 更多