Jump to content
Macro Express Forums

kevin

Admin
  • Posts

    1,950
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by kevin

  1. Not sure about the Excel questions. Perhaps others can help.

     

    Also how to I get Macro Express to start a new mail in Microsoft Express... The comand in Microsoft Express is CRTL+N but anytime i try it Macro express it opens a note .. which is the short cut CRTL+SHIFT+N but i'm not pressing that.

    When you use Text Type Ctrl+N you are sending Ctrl+Shift+N. This is what is sent:

    <Ctrl Down>
    <Shift Down>
    n
    <Shift Up>
    <Ctrl Up>

    Change your Text Type to Ctrl+n. (Use lower case n!)

  2. When the If Mouse Cursor options were first implemented we tested each one and added all of them that we could. A couple of years later someone reported a problem with one of the mouse cursors. Upon investigation we discovered several that no longer worked. (We suspect that Microsoft changed something in Windows that made them unavailable.) The non-functioning options were removed.

     

    We will check these options in Macro Express and Macro Express Pro to see if there are discrepancies. It may be that some of the options need to be removed from Macro Express 3.

  3. Some (all?) USB flash drives are formatted with FAT32. Large hard drives are, necessarily, formatted NTFS. My Network Accessible Storage (NAS) drive had to be formatted with EXT3 format due to the device that connects it to the network.

     

    Whether or not files are returned in alphabetical order depends on how the drive is formatted. FAT32 returns files in the order they were first created (unless they are deleted and/or moved). NTFS returns files in alphabetical order. I have not tested to see if EXT3 or other formats return files in creation or alphabetical order.

  4. Because limit of backups was 5 (default) backuping stopped at fifth and it was in may 2008. So I should increase backup limit. But I did'nt know for that limit.

    The 5 backups are the 5 most recent copies. As backups occur, the oldest copy is discarded and the newest kept.

     

    For caps lock I'll try to contact ME support. Maybe they can add feature in next versions for caps lock.

    Thanks again.

    I'm not sure what feature you are referring too, the support people can help you, but Macro Express Pro has all the features of Macro Express 3.
  5. Your post was moved to a new topic.

    Is it possible to convert macro express file from pro to classic?

    Sorry, no.

     

    Macro Express delays running of macros also when Caps Lock is active has different behavior from regular ME.

    The Insight Software Solutions support people should be able to help with any problems you are experiencing running Macro Express Pro. Contact information.

     

     

    I have 5 old backups. Now I see that maximum of backups was 5. So my last beckup is from may 2008. Since then I created many new macros. I need my old file.

    The backups should contain the most recent changes, not the oldest changes. Were backups disabled? The Insight Software Solutions support people can also help with this.
  6. The problem may very well be due to the enhanced protection in Windows 7. However, the first thing to try is to upgrade Macro Express 3 to the latest version. Macro Express v 3.5.3.1 is not compatible with Windows 7 (or Vista). This upgrade is free if you have a Macro Express 3 license. See our Upgrade Information page for more information.

     

    Since the version of Macro Express you have installed is not compatible with Windows 7 or Vista you will need to follow these special instructions to install the later version:

    • Uninstall the previous version of Macro Express
    • Reboot
    • Install Macro Express v 3.8a or later
    • Uninstall Macro Express v 3.8a or later
    • Reboot
    • Reinstall Macro Express v 3.8a or later
    • Reenter the license information you received when you purchased Macro Express 3

    These steps are necessary because uninstalling a version of Macro Express that is compatible with Windows 7 or Vista cleans up things that are stored in unusual places by Windows when an incompatible version of Macro Express has been installed.

     

    For more information refer to the knowledgebase article What changes were made to Macro Express for Windows Vista. While this was written for Vista it also applies to Windows 7.

  7. 7. A brute force method: Place an extra line before each Text Type command:

    Activate Window: "Your Application"
    Text Type: Bla bla bla

    This has performance penalties that are not necessary if the window already has focus. To optimize for both safety and speed use:

    If Not Window Title "Your Application" on top
     Activate Window: "Your Application"
    End If

    (#5 above)

  8. 5. Surround your Text Type commands with something that sets focus back to the main application:

    If Not Window Title "Your Application" on top
     Activate Window: "Your Application"
    End If

    This will only reduce, not eliminate, the risk.

     

    6. Something like this might also work:

    If Not Window Title "Your Application" on top
     // Get topmost window title
     Variable Set String %T9% from Window Title
     Wait Window Lose Focus: "%T9%"
     Activate Window: "Your Application"
    End If
    Text Type: Typing something here

  9. Would someone please copy the code into a variable, then run it in Notepad and see if it works?

    They both worked for me on Macro Express Pro v 4.1.6.1.

     

    I had to make sure that the titlebar of my notepad window contained ' (Remote)'. Note the space in front of the (. You may need to adjust this line:

    Wait for Window Title:  (Remote)

    Did the title of the window you're typing into change?

  10. Would it be enough to test the length of the subject line?

    Or you could test the length of the full path.

     

    Another approach that could work is to map a drive letter deep into the path. If the path is normally something like this:

     

    c:\Documents and Settings\This Users Name\Local Settings\Temporary Internet Files\AntiPhishing\ThisIsALongSubjectTurnedIntoAFileNameThatMakesThePathTooLong_2CEDBFBC-DBA8-43AA-B1FD-CC8E6316E3E2.dat

     

    It could be referenced as

     

    S:\ThisIsALongSubjectTurnedIntoAFileNameThatMakesThePathTooLong_2CEDBFBC-DBA8-43AA-B1FD-CC8E6316E3E2.dat

     

    This may help you by shortening the full pathname to something that will work. But the pathname may still be too long for other programs like those that copy or backup files unless they too use the drive letter.

  11. I'm trying to see if there is a way to place a variable in the Control Details, so I can programmatically search for the correct Control in current window.

    You might be able to accomplish this using the Run Macro In Variable command. These are the steps I would take to try it:

    • Look at the Get Control command in the Direct Editor
    • While in the Direct Editor copy the Get Control command to the clipboard
    • Switch to the Script Editor
    • Add a Variable Set String command
    • Paste the Get Control command into the Initial Value field of the Variable Set String command
    • Change the appropriate spot to %N10%
    • Run using the Run Macro In Variable command

    This may work but I have not tried it. If you try it please let us know how it works.

     

    An easier way to handle this would be to do something like this:

      Get Control: (TESTT.EXE) -> %C[7]%
     If Control "%C[7]%" Does Not Exist
       Get Control: (TESTT.EXE) -> %C[7]%
     End If
     If Control "%C[7]%" Does Not Exist
       Get Control: (TESTT.EXE) -> %C[7]%
     End If
     If Control "%C[7]%" Does Not Exist
       Get Control: (TESTT.EXE) -> %C[7]%
     End If
     If Control "%C[7]%" Does Not Exist
       Get Control: (TESTT.EXE) -> %C[7]%
     End If
     Mouse Click on Control %C[7]%
    

    Each time you run the macro and get a Control Not Found message, edit the macro to add a new Get Control block. Eventually (hopefully) all possible controls will be in your macro. This technique has worked for me.

     

    If this isn't possible in 3.5.5.2, can you do this in ME Pro?

    Neither Macro Express or Macro Express Pro has the ability to directly put a variable into the content of the control. You could use the Run Macro In Variable technique in either version. Macro Express Pro does have the On Error command that might come in handy in this case.

  12. I tried to use the Mouse Locator to determine a screen or window position to click on, but as soon as I moved the mouse pointer onto the application, the Screen Position and Active Window numbers stopped--as if I'd moved onto a dead zone or something.

     

    So I estimated the position required--anywhere in the app would do--and specified a mouse click there plus some tabs. But again nothing happened; the app took focus but no tabbing occurred in its window, and no entry in the Error Log.

    There are two possible causes.

     

    Macro Express sends keystrokes, mouse movements and mouse clicks using the 'Windows Hooks'. This requires cooperation between applications. An application can 'steal' the hooks to prevent another application sending it information. This is sometimes done on purpose in the name of security. One known case of this is the password dialog for Quicken. Macro Express cannot type the password. (This also keeps keylogger malware programs from capturing the password as you type.)

     

    Another possible cause is due to how Windows 7 handles the interaction between programs. On Windows 7 if Macro Express is running as a normal program (non-administrator) and another program is running as administrator, then Macro Express cannot send keystrokes or mouse clicks to it.

×
×
  • Create New...