CONTROL bug when close a batch

Forums Desktop Info CONTROL bug when close a batch

Tagged: 

Viewing 6 reply threads
  • Author
    Posts
    • #3359 Reply
      AvatarQuentin

      Hi,

      I’ve some CONTROL buttons and when i close a batch script with *ENTER*, it opens the first CONTROL button.

      Have you got this issue?

      0
    • #3360 Reply
      AvatarQuentin

      PS:The script was launch via another CONTROL button.

      0
    • #3361 Reply
      GlennGlenn
      Keymaster

      I don’t understand “When I close a batch script with *ENTER*” What does that mean?

      0
    • #3363 Reply
      AvatarQuentin

      @Glenn, when the script ends with “press any key to continue”, i press enter

      0
    • #3364 Reply
      AvatarQuentin

      See this video (sorry for quality, bug doesn’t appears with a screen recorder)
      https://youtu.be/StxJFTzLTF4

      0
    • #3365 Reply
      GlennGlenn
      Keymaster

      Hah! haven’t seen that before. When you press any key on the batch file, the window closes and DTI regains the focus and the keypress is apparently sent to DTI as well.

      I would say that’s a bug in the command shell interpreter. I would expect it to consume whatever key is pressed as a result of the Pause command but apparently it doesn’t. The key remains in the keyboard buffer ready to be used by whatever program gains focus next.

      I don’t have a solution. Let me know if you come up with anything.

      0
    • #3366 Reply
      AvatarQuentin

      Note: it’s only when i terminate the batch file withe the “enter” key.

      0
Viewing 6 reply threads
Reply To: CONTROL bug when close a batch
Your information:




Do NOT follow this link or you will be banned from the site!