CONTROL bug when close a batch

Forums Desktop Info CONTROL bug when close a batch

Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #3359
      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
      AvatarQuentin

      PS:The script was launch via another CONTROL button.

      0
    • #3361
      GlennGlenn
      Keymaster

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

      0
    • #3363
      AvatarQuentin

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

      0
    • #3364
      AvatarQuentin

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

      0
    • #3365
      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
      AvatarQuentin

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

      0
    • #3651
      AvatarSymalla
      Participant

      I ran into this same issue and was glad to find on here I wasn’t going crazy. My workaroud for the issue was to set a blank Control button at the top of my desktopinfo.ini pointed at clip.exe so it doesn’t launch anything.

      CONTROL=wide:1,width:1,uri:clip.exe

      0
Viewing 7 reply threads
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!