done和cancel需要点两次才能结束skill
本帖最后由 尼伯龙根之歌 于 2021-3-5 09:40 编辑axlCmdRegister("as" 'aotuSpacing ?cmdType "interactive" ?doneCmd 'myDone ?cancelCmd 'myCancel)
procedure(aotuSpacing()
mypopup = axlUIPopupDefine(nil list(
(list "Done" 'myDone)
(list "Cancel" 'myCancel)
))
axlUIPopupSet(mypopup)
notdone = t
axlClearSelSet()
while(notdone
axlSetFindFilter(?enabled "CLINESEGS" ?onButtons "CLINESEGS")
box = axlEnterBox()
axlSingleSelectBox(box)
)
)
procedure(myDone()
notdone = nil
axlFinishEnterFun()
)
procedure(myCancel()
notdone = nil
axlCancelEnterFun()
)
同问
页:
[1]