回复 16楼 coolsnowbye
require "import"
local zf={}
local zd={}
dhk=LuaDialog()
.setItems(zf)
.setTitle("编辑菜单")
.setButton("清空",{onClick=function(v)
service.click({{"%延时$200","%输入/$1","&可编辑$1","%朗读/已清空$1",}})return true
end})
.setButton2("粘贴",{onClick=function(v)
service.click({{"%延时$200","%粘贴$1","&可编辑$1","%朗读/已粘贴$1",}})return true
end})
.setButton3("关闭",{onClick=function(v)
service.click({{"%延时$70","%朗读/已关闭$1"}}) return true
end})
.show()
dhk.onItemClick=function(l,v,p,i)
service.speak(zd)
end
service.click({{"<编辑菜单>50$50",}})return true
来自解说社区客户端 |