Results 1 to 9 of 9

Thread: Help with BATCH FILE on Windows 10 Computer.

  1. #1
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default Help with BATCH FILE on Windows 10 Computer.

    I use a Batch file on a Program to give this program special features on Windows 10

    Can you EDIT a Batch file so at any given time when the program finds WHAT I WANT and after this it says "press any key to continue" Now I want the computer to press any key to continue as I'm not in the Computer room when this is going on and if I can get a Batch file to do this , will know the Program has found what I want via a VLC and music. PS I dont want to sit in the Computer room waiting, waiting until the music goes off as I know it has found what I want.
    I have been using this Program for years and it works perfect with the batch file but lately a new version has come up that is faster using 3XXX GPU's but It wont launch VLC with the Music until you press "press any key to continue" and when you do VLC Starts and you have Music that can be heard around the house.

    A Example in my batch file to wait for 5 seconds before it starts..
    @echo off
    echo %time%
    timeout 5 > NUL
    echo %time%


    Simple I want a command in my batch file to tell the Computer to Press any key to continue after the program has found what I want whilst I'm out of the computer room


    The Photo below shows me I found what I want but I dont know until the Music goes off. See "Press any key to continue" I want the Computer to press any key so VLC goes off.




    The Photo below show after I press "Press any key to continue" and the Music is NOW RAGING!!! and it goes Green to show it has found what I want. Remember I'm not in the Computer room I'm in another room in the House or resting on the lounge

    Last edited by Mr 672A; 28-01-25 at 01:50 PM.



Look Here ->
  • #2
    LSemmens
    lsemmens's Avatar
    Join Date
    Dec 2011
    Location
    Rural South OZ
    Posts
    10,855
    Thanks
    12,070
    Thanked 7,218 Times in 3,428 Posts
    Rep Power
    3235
    Reputation
    135732

    Default

    What is the full text of the batch file?
    I'm out of my mind, but feel free to leave a message...

  • #3
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default

    Quote Originally Posted by lsemmens View Post
    What is the full text of the batch file?
    I will send it to you via a PM

  • #4
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default

    Forgot to say Thanks.
    With this version it finds what I want but it does not start my batch file with VLC music that warns me (good speakers) that the item I want has been found but if you press any key the Music goes off which is useless for me in a big house. My original program I use for years works 100% as it finds what I want and by itself and VLC Starts just about immediately.
    PM Sent
    Last edited by Mr 672A; 28-01-25 at 06:13 PM.

  • #5
    LSemmens
    lsemmens's Avatar
    Join Date
    Dec 2011
    Location
    Rural South OZ
    Posts
    10,855
    Thanks
    12,070
    Thanked 7,218 Times in 3,428 Posts
    Rep Power
    3235
    Reputation
    135732

    Default

    With the output posted above along with the batch file, it would appear that keysfound.txt and lastkey.txt may not exist Can you step through the batch file and see where the problem lies. I cannot recall how to step through batch files in DOS/WINDOWS as I only use Linux these days. What exactly is the content of those files. I am also unfamiliar Cudabiss, what does that do? I'm guessing here that Cudabiss is prompting for the "press any key" so the settings in that program might be worth investigating. Other wise you'll need to inject a CHR(13) in there somehow. (I'm working on 30 years old memories here, but IIRC CHR(13) is the ASCII equivalent of the <Enter> key.
    I'm out of my mind, but feel free to leave a message...

  • #6
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default

    Quote Originally Posted by lsemmens View Post
    With the output posted above along with the batch file, it would appear that keysfound.txt and lastkey.txt may not exist Can you step through the batch file and see where the problem lies. I cannot recall how to step through batch files in DOS/WINDOWS as I only use Linux these days. What exactly is the content of those files. I am also unfamiliar Cudabiss, what does that do? I'm guessing here that Cudabiss is prompting for the "press any key" so the settings in that program might be worth investigating. Other wise you'll need to inject a CHR(13) in there somehow. (I'm working on 30 years old memories here, but IIRC CHR(13) is the ASCII equivalent of the <Enter> key.
    Yes the Last key.txt come up in the fist few minutes in the cudabiss folder and considering i'm getting the key the keysfound.txt appears on the cudabiss folder in the first second with the key but the trouble with this new version of cudabiss when it finds the key it stops which is normal and prompt you to "Press any key to Continue" that allow you to exit and at this time I have no music to warn me the key has been found but when I press any key to exit VLC Starts and make that music and cudabiss screen turn green like in the photo above and press it again cudabiss exits.. The Older version of Cudabiss find the key and VLC starts immediately within a second or so.

    Yes I need a command to do this like you have said (IIRC CHR(13) is the ASCII equivalent of the <Enter> key). All I need is a command that will masterly press any key not just enter and when any key is pressed VLC Starts after the key has been found. I would love to employ a monkey to sit in front of the computer and when the monkey sees this message that the key has been found the monkey press or falls on any key that VLC will start because the messages says "Press Any Key to continue" and when you press any key the VLC starts. Once age the Older version of cudabiss VLC will automatically start after the key has been found. I have followed the Batch file and it should work but It goes to VLC and it does not start and says press any key to continue like the photo above.

  • #7
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default

    Quote Originally Posted by lsemmens View Post
    I'm guessing here that Cudabiss is prompting for the "press any key" so the settings in that program might be worth investigating.
    Yes because I'm old and stroke ridden I'm not smart enough to do this to hack into cudabiss to find out why the new version is doing this and compare it to the older version that does not a have this issue. For me its easier to have a command that press any key to continue, that will fix the issue
    Last edited by Mr 672A; 29-01-25 at 12:44 PM.

  • #8
    LSemmens
    lsemmens's Avatar
    Join Date
    Dec 2011
    Location
    Rural South OZ
    Posts
    10,855
    Thanks
    12,070
    Thanked 7,218 Times in 3,428 Posts
    Rep Power
    3235
    Reputation
    135732

    Default

    Sorry mats, cannot offer any more assistance.
    I'm out of my mind, but feel free to leave a message...

  • The Following User Says Thank You to lsemmens For This Useful Post:

    Mr 672A (29-01-25)

  • #9
    Senior Member
    Mr 672A's Avatar
    Join Date
    Jun 2012
    Location
    The only Country in the English speaking World where you cannot sue your Solicitor or Barrister.
    Posts
    4,425
    Thanks
    1,193
    Thanked 1,190 Times in 691 Posts
    Rep Power
    744
    Reputation
    22165

    Default

    Quote Originally Posted by lsemmens View Post
    Sorry mats, cannot offer any more assistance.
    Thanks.

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •