Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Automatically click a batch file  (Read 14662 times)

0 Members and 1 Guest are viewing this topic.

zask

    Topic Starter


    Intermediate

    • Experience: Experienced
    • OS: Other
    Re: Automatically click a batch file
    « Reply #30 on: January 04, 2016, 11:18:57 PM »
    His Windows install is probably borked. Could be a result of him allegedly writing malware and other garbage provided to him by his "professional programming teacher".

    no its so that i can implement a pixel mouse inside the batch to click a button, dude back off with the negativity. i run my malware in a virtualbox, and i dont use it for illegal purposes. im noting going to bork my windows. thats non sense

    zask

      Topic Starter


      Intermediate

      • Experience: Experienced
      • OS: Other
      Re: Automatically click a batch file
      « Reply #31 on: January 04, 2016, 11:22:45 PM »
      A mentioned earlier, batch is not much of monitoring events and external conditions.

      There are a class or group of program tools that do monitor events and signals. Sometimes the signals are called 'Semaphores' ti identify them as a special way to communicate with the operating system  when something happens outside of the computers own world.

      If this is of interest to you, you could read this:
      https://en.wikipedia.org/wiki/Semaphore_%28programming%29But that is rather simplified...And it gets more involved...Someday in the future you will pick up the microphone and tell your computer:
      "Please click on the batch files I want to click, but not the ones that don't work."
      But the programming tool needed will be more  than  just batch.

      im just trying to type in two windows at the same time

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Automatically click a batch file
      « Reply #32 on: January 05, 2016, 12:44:48 AM »
      im just trying to type in two windows at the same time
      Again, it is not clear what you mean.
      Do you ride two bicycles at the same time? (Very Hard.)
      Do you walk two dogs at the same time? (Possible.)
      Can you type on two typewrites at the same time? (Clark Kent could.)

      For users that need to repeat something many l times, they use tools suitable for doing repetition a number of times. Such are called 'macro' devices or tools.

      https://en.wikipedia.org/wiki/Macro_%28computer_science%29
      Quote
      (Thus, they are called "macros" because a big block of code can be expanded from a small sequence of characters.)

      In batch you can define macros in a special way. There are not called macros, but they are. On batch can call another batch and pass parameters. For an industrial programmer this serves as a macro.


      foxidrive



        Specialist
      • Thanked: 268
      • Experience: Experienced
      • OS: Windows 8
      Re: Automatically click a batch file
      « Reply #33 on: January 05, 2016, 01:46:13 AM »
      It helps in a programming forum to ask an exact question of what you want to do
      Im sorry that my question appeared bogus, I couldn't think of anyway to explain it any better than i want the file to automatically click itself at start
      like really it's not that hard to understand
      no its so that i can implement a pixel mouse inside the batch to click a button
      im just trying to type in two windows at the same time
      I want multiple windows to be focused at the same time as the batch windows, for example if i type in google, or on a game or something, it would also type in the batch screen.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Automatically click a batch file
      « Reply #34 on: January 05, 2016, 11:54:46 AM »
      dude back off with the negativity.
      Actually I've been quite restrained. I made significant edits to most of my posts before submitting them to fit within forum rules.
      I was trying to dereference Null Pointers before it was cool.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Automatically click a batch file
      « Reply #35 on: January 05, 2016, 12:56:38 PM »
      I still don' get what he really means.
      He says type in two windows. You can not do that. But you can switch windows.
      Quote
      Many users reach for the mouse, point to the Taskbar, and then click the button for the window they want to bring to the foreground. That's about the slowest, least convenient method. If you're a fan of keyboard shortcuts, like I am, you probably use Alt-Tab to cycle between open windows.

      Now if you have a block of text you wish to send to two destination,s you select it and use the 'send to' option to put in on another location. Or send to clipboard and then to destintion.



      zask

        Topic Starter


        Intermediate

        • Experience: Experienced
        • OS: Other
        Re: Automatically click a batch file
        « Reply #36 on: January 11, 2016, 11:47:09 PM »
        Okay i dont mean have two windows focused at the same time, i said that wrong, i mean i want to have two windows that implement task and send them to each other, for example like the [Batch] [Colours] [Sound] Honguito98: Limits Of Batch 2      that is found here~

        https://www.youtube.com/watch?v=QMiZQxu1Rpo

        they all require each window to make it's whole operation work.