任务单 #34827

Macro Command INPUTBOX Return Value

开放日期: 2015-01-22 23:11 最后更新: 2022-04-11 10:12

报告人:
(匿名)
属主:
(无)
类型:
状态:
关闭
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Won't Fix
文件:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

With the following macro language:

inputbox 'Enter value' 'Test Input Box'

if inputstr="" then

goto fail

endif

If the user does not enter anything into the field and only hits 'OK' on the inputbox dialog box, the macro will fail with an 'Invalid Syntax' on the 'if inputstr' line.

任务单历史 (3/5 Histories)

2015-01-22 23:11 Updated by: None
  • New Ticket "Macro Command INPUTBOX Return Value" created
2015-01-22 23:47 Updated by: (del#1144)
  • 处理结果 Update from to Invalid
评论

teraterm macro doesn't compare strings with '=' operator.

Use strcompare command. cf. http://ttssh2.sourceforge.jp/manual/en/macro/command/strcompare.html

2015-03-05 09:13 Updated by: (del#1144)
  • 处理结果 Update from Invalid to Won't Fix
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2015-03-05 09:13
2022-04-11 10:12 Updated by: None
评论

inputbox '시작할 시간 샘플 : 20211223-080000' '시작할 시간을 넣어주세요. date-time'

2022-04-11 10:12 Updated by: None
评论

inputbox '시작할 시간 샘플 : 20211223-080000' '시작할 시간을 넣어주세요. date-time'

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名