Jump to content
Macro Express Forums

jaffy1229

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by jaffy1229

  1. 17 hours ago, acantor said:

    Macro Express may not be able to "see" anything in the VPN client. You might try activating the VPN window via Macro Express to give it focus, and then clicking a coordinate relative the window.

     

    Also try activating the menus in the VPN by keyboard. You might be able to send keystrokes with Macro Express once the window is focused. Try <ALT> + the underlined letter to access a menu, e.g., Alt+F for the "File" menu.

     

    If you cannot fully automate the process, partial automation is a fine option. For example, you may need to manually give focus to the VPN region before activating a macro that does the repetitive grunge work.

    I still can't gain focus on the window, I have tried the commands Window Show, Restore, Activate, but none give the window focus.

    I will see if I can do as you suggest and manually give it focus before the macro and try not to loose its focus. Thanks

  2. I am trying to create a macro to select different options in a VPN client, but when I tell the macro to click on the applications windows status bar to get focus, nothing happen. The macro should then select a pull down menu, but this fails also, because it appears the window is not active. When i manually click on the window, it becomes activated so I am not sure why this is happening.

     

    It works fine on any other window, but this window seem to a be  a problem.  Does anyone know why this should be?

     

    Thanks

    Jaffy

  3. It's hard to do precisely what you want in ME3, because while the repeating macro is in control, a hotkey to start the second macro will not be recognized. Here are a few approaches that might work:

     

    (1) In Macro Explorer, you can select Options / Preferances / Playback and specify an Abort Macro Hotkey combination. That can be used to abort any macro manually during execution. Then use a hotkey to start the second macro. Not ideal, but perhaps adequate....

     

    (2) If the repeating loop can run infrequently, say once per second or less often, you could have the ME scheduler run the macro every second (or whatever interval) but remove the repeat loop -- only do the processing once each time the macro runs. In other words, the repetition will be handled by runnning the whole macro over and over, rather than by running it once. You can set up two other macros (started by hotkeys) to enable and disable the primary macro -- any time it has been enabled it will run per the scheduler, any time it has been disabled it will not run at all. The macro that does the disabling can be your second macro -- after disabling macro 1 it can continue with whatever else you want it to do. The difficulty with this approach is that the hotkey to start the disabling macro will only be recognized if it is entered between executions of the scheduled macro, so if your "repetition" macro runs once per second it may be hard to sneak in the hotkey combination at the right time.

     

    (3) You could have the primary macro end itself, by checking something during each repetition (like existence of a temporary file) that can be controlled externally independent of ME. Not as elegant but depending what you are trying to accomplish it might be satisfactory.

     

    Or convert to ME4 (ME Pro) which I think lets you start a second macro while the first is running.

     

     

    Thanks very much for the suggestions. The second suggestion might work, I have never used the scheduler but I will look into that as I think that is my best bet. Thanks again for your help, its been extremly helpful and much appreciated!

  4. With ME3, the short answer is No. But depending what you want to accomplish, there's probably something that can be done, maybe neatly, maybe messily. We would need more details, especially on the macro to be interrupted. For example:

     

    Do you want to interrupt the first macro temporarily and then have it continue when the second macro ends? Or do you want to simply stop the first macro when the second one runs?

     

    Is the first macro being repeated in its entirety, for example by being scheduled every second, or being called over and over again by some other macro? Or is it a REPEAT loop within the macro that runs continuously for a long time?

     

    The devil is in the details.

    Hi thanks for the reply. I was looking to interrupt the first macro manually so it stops completly and then for the second macro to begin.

     

    The first macro is a long repeating loop

     

    Thanks for your help

  5. Hello,

    I have a lot of macros to create but wish to create the files in notepad and then import them into macro express.

     

    is it possible to import them in a batch instead of one file at a time?

     

    Also, when I import a text file macro, it has no nickname, how can i give it a nickname?

     

    Thanks,

    jaffy

×
×
  • Create New...