Ticket #34827

Macro Command INPUTBOX Return Value

Date d'ouverture: 2015-01-22 23:11 Dernière mise à jour: 2022-04-11 10:12

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
Type:
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Won't Fix
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

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.

Ticket History (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)
  • Résolution Update from Aucun to Invalid
Commentaire

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)
  • Résolution Update from Invalid to Won't Fix
  • État Update from Ouvert to Atteints
  • Ticket Close date is changed to 2015-03-05 09:13
2022-04-11 10:12 Updated by: None
Commentaire

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

2022-04-11 10:12 Updated by: None
Commentaire

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

Attachment File List

No attachments

Modifier

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