Jump to content
Macro Express Forums

Samrae

Members
  • Content Count

    411
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Samrae

  1. To change the font and color within Macro Express itself try the preference settings: Click Options, Preferences, Appearance and then the General, Explorer, and Script Editor tabs.
  2. You're welcome. Perhaps you could add something like this: Variable Modify String: Replace ":\\" in %tFolder% with ":\"
  3. This is not a valid file path: Try this instead: M:\AttributeChangeDateFromShed.mex
  4. No, you were not wrong. UWP programs do not follow long established standards for Windows programming. Hooks work but many hotkeys are blocked. I cannot launch a UWP .exe using the Program Launch command so I have to launch it from the menus. They do not use Alt key shortcuts. The is no File menu. They are very slow and require long delays. They do not support Window Controls. Because you prefer to use Window Controls your statement that macros do not not work with UWP programs is not incorrect. Specifically, in this case, your macro activated with Ctrl+Keypad 9 did not
  5. Do you have a macro that uses the Keystroke Speed command? I discovered that if one macro sets the Keystroke Speed, to 500 say, and does not reset it back to 0 then all other macros that I run after that type text slowly. I try to remember to set Keystroke Speed back to 0 in any macro that changes it. You could check for this by putting a Keystroke Speed: 0 at the top of one of your macros that is typing slowly. If it starts to work more quickly you can search for the macro that slows down the keystroke speed. Another thing to check is whether the Delay after keystroke
  6. Stupid question: Does it help if you restart Macro Express and/or Windows? My macros slowed waaay down when we switched from Norton Internet Security to BitDefender. (I cannot wait to get rid of BitDefender. 🙁)
  7. I failed to mention that my macro is activated with Ctrl+Alt+a. It works whether or not Settings is already loaded. in other words, a Ctrl+Alt+a hotkey works as an activation from within the Settings application.
  8. It has been stated several times on forum that Macro Express does not work with UWP programs. That is not my experience. UWP programs behave differently than Win32 programs but, with some effort, I have been able to get Macro Express to work with them. I took this as a challenge to get Macro Express to work with Windows 10 Settings. Here is a macro that opens Windows Settings, navigates to Apps & Features, and closes Settings. Note: This macro was written with Macro Express Pro 6, not ME 4. // ----------------------------------- // Initialization // ----------
  9. The Code Tool is here in the forum software. When you are typing into the forum there should be a series of icons right above. The <> is the Code Tool Terry is demonstrating:
  10. To copy what you see in the Macro Script Editor, highlight the macro lines lines you want, right-click, and click "Copy Command Text". Then, in this forum, click the <> icon and type ctrl+v to paste. The result looks like this: Text Type (Simulate Keystrokes): <ALT>e Text Type (Simulate Keystrokes): <ALTD>e<ALTU> To copy macro commands that someone can copy from this forum and paste into Macro Express, highlight the macro lines you want, right-click, and click "Copy". Then, again, in this forum, click the <> icon and type ctrl+v to paste. The result looks l
  11. As recommended elsewhere, please put macro samples in a codebox (see <> above) instead of posting an image. When you have the macro do a Text Type <ALT>E what gets sent to the application is <ALT Down> <Shift Down> e <Shift Up> <ALT up>. What you need is: Text Type (Simulate Keystrokes): <ALT>e Sometimes that does not work reliably. This often works better: Text Type (Simulate Keystrokes): <ALTD>e<ALTU>
  12. Another thing you could do is to add a Wait for File Ready on the line above the Log Messages / Log Errors commands.
  13. Your answer came in just before as I submitted mine. Are we thinking alike now? 😃
  14. I recommend you begin by clicking Options, Preferences, Activations and then the ShortKeys tab. Enter something like ".." in the Prefix keys box. Once you do that your shortkey macro will not automatically type out. If the macro is one you recently changed you can click on the "Modified" header. This will bring the most recently modified macro to the top (or bottom) of the list. If I recall correctly, I usually have to click in the Modified header twice to move the most recently modified macro to the top. If the issue is with your shortkey activation settings then you m
  15. A copy of the samples.mex file can be found in the folder where the Macro Express program files are installed (C:\Program Files (x86)\Macro Express Pro 6). Use Windows File Explorer to copy this file to another folder then, within Macro Express, click File, Open File to open it. You should not open the samples.mex file directly in the C:\Program Files (x86)\Macro Express Pro 6 folder. Or, as acantor said, you can download samples.mex from here: Sample Macros.
  16. When you intend to press Ctrl+c to copy the pixel color to the clipboard make sure that the Mouse Locator has focus. The only time I have had this not work is when focus has been changed to another window.
  17. See if running Macro Express as Administrator helps. If Mocha 3270 was written that long ago it may be running in some Windows Compatibility mode. Macro Express may need to be running as Administrator to work correctly with a program running in a compatibility mode.
  18. Yes, if you are using the portable version the settings would be in an .INI file and not in the registry. If the .INI file contains Check Syntax = 1 I would expect the syntax checking to work. To be sure, you could delete the line in the .INI file that contains Check Syntax to tell Macro Express to turn syntax checking back on. Be sure that Macro Express is not running when you change the .INI file.
  19. You could also restore syntax checking by running the MacDef.exe program in the c:\Program Files (x86)\Macro Express 4 folder. But, if you do that, all of your preferences will be reset to their default values.
  20. I duplicated this issue using Macro Express Pro 6. When the Syntax Error box is displayed and you click "Don't show this again", syntax checking is turned off and cannot be easily turned back on. Syntax checking can be restored if you edit the registry and change HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\Editor\Check Syntax to a value of 1. I have reported this to Insight Software Solutions. There should be a better way to re-enable syntax checking.
  21. So, add a tab: Text Type (Simulate Keystrokes): your User Name Delay: 4 seconds Text Type (Simulate Keystrokes): <KEYD:VK_TAB> Delay: 1 seconds Text Type (Simulate Keystrokes): <KEYU:VK_TAB> Delay: 4 seconds Text Type (Simulate Keystrokes): your Password Delay: 4 seconds Text Type (Simulate Keystrokes): <KEYD:VK_TAB> Delay: .5 seconds Text Type (Simulate Keystrokes): <KEYU:VK_TAB> Maybe a clue. It is interesting that your password was entered partially into two different fields. Here is another thing to try. Macro Express can "type" much fa
  22. It has been a while since I used 3270 emulator software. I remember some things being a little tricky to automate because the emulator software handled keystrokes directly instead of via the usual Windows messages and hooks. What happens if you send keystrokes via "Simulate Keystrokes" instead of via a Window Control? Something like this: // Do whatever commands are necessary to launch the Mocha 3270 // emulator and wait for it to be completely loaded and stable Text Type (Simulate Keystrokes): your User Name Delay: 1 seconds Text Type (Simulate Keystrokes): your Password Del
×
×
  • Create New...