Incidencia #34827

Macro Command INPUTBOX Return Value

Abrir Fecha: 2015-01-22 23:11 Última actualización: 2022-04-11 10:12

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Cerrado
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Won't Fix
Fichero:
Ninguno
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.

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)
  • Resolución Update from Ninguno to Invalid
Comentario

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)
  • Resolución Update from Invalid to Won't Fix
  • Estado Update from Open to Cerrado
  • Ticket Close date is changed to 2015-03-05 09:13
2022-04-11 10:12 Updated by: None
Comentario

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

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

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

Attachment File List

No attachments

Editar

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