Jump to content
Macro Express Forums

Samrae

Members
  • Posts

    457
  • Joined

  • Last visited

  • Days Won

    22

Samrae last won the day on January 28 2023

Samrae had the most liked content!

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Samrae's Achievements

  1. This is due to a setting in Word. The default paste option pastes text using the formatting in use in your Word document. This can be changed, allowing a macro to enter Rich Text. Open Word and click on File, Options. Click on the Advanced option and scroll down to the "Cut, copy, and paste" section. Change the dropdown menu option for "Pasting from other programs" to "Keep Source Formatting". Save the change.
  2. Sometimes the clipboard commands are temperamental. I think this is due to Windows and not necessarily caused by Macro Express. Have you tried adding a separate delay after the clipboard copy command? Sometimes I do this: Clipboard Empty Clipboard Copy Variable Set String %ClipboardContent% from the clipboard contents // If %ClipboardContent% is empty then try again If Variable %ClipboardContent% Equals "" Delay: 300 milliseconds Clipboard Copy Delay: 300 milliseconds Variable Set String %ClipboardContent% from the clipboard contents End If
  3. It looks like you are using Macro Express 3. That may confuse some of us trying to help since many macro features are not available in that old version. To directly answer your question, without trying to figure out your logic, use the Break command to stop a repeat loop. Like this: Repeat Until %T1% = %T99% // <Set variables to hh:mm> If Variable %T1% = variable %T2% Mouse Move Screen 193, 270 Delay 99 Milliseconds Mouse Left Button Down Mouse Left Button Up Delay 640 Milliseconds Text Type: TEST EXAMPLE Delay 185 Milliseconds Mouse Move Screen 343, 653 Delay 185 Milliseconds Mouse Left Button Down Mouse Left Button Up Break End If Repeat End By the way, I cannot think of a reason you would need to use this command: Macro Playback Speed: Normal Speed That is the default behavior - the macro will play back at normal speed without this command.
  4. This article talks about running Macro Express as administrator when Windows starts. How to Run Macro Express as Administrator when Windows Starts I would first try it by manually launching Macro Express as administrator. Terminate Macro Express. Using the start menu find Macro Express Pro 6. Right click and choose Run as Administrator.
  5. Some time ago Microsoft made a change in Windows that prevents Macro Express locking the keyboard or mouse unless Macro Express is running as administrator.
  6. Macro Express cannot interact with another program running with admin privileges unless it too is running with admin privileges.
  7. Here's a start Variable Set Integer %First% to 5 Repeat Prompt Start Text Type (Simulate Keystrokes): %First%<ENTER><ENTER> Variable Modify Integer: %First% = %First% + 4 End Repeat
  8. Thank you acantor! Until now I did not know that incremental searches work in that list. Upon further experimentation it turns out that if you type quickly enough it works. But, if you type too slowly it may not. For example, if I type "ve" it brings up "Venmo" but if I type "v" ... "e" it brings up Enphase. Now that I know I'll try to get these old fingers to type quicker. 😉
  9. I type the first letter and then either click the down arrow icon to expand the list or press the down arrow key repeatedly.
  10. I use it to display a list of companies. When I select one the macro opens the correct website and gets ready to type login credentials.
  11. The Wait for Text Playback may help: Text Type (Simulate Keystrokes): %dirNG%%T[1]% Wait for Text Playback
  12. Do this: <CONTROL>p Note the lower case P. When you manually press Ctrl+Shift+P in Excel it brings up the Format Cells dialog. When you press Ctrl+p it brings up the Print dialog.
  13. When you click the Run Macro Now it doesn't ask you which window to type in. Since the first line is a Text Type command Macro Express is typing into it's own window. The text is typed into the window that has focus. The log entry "Tuesday, November 21, 2023 11:18:18:668 AM: TMainWin.tmrFixFirstLineTimer: An error in the first line of the script has been fixed" happens when there was a problem displaying the first line of a macro in the Script Editor. It has no effect on the macro running. Log entries that include MacScript are events that occur in the Script Editor. Entries that include MacEdit are events that occur in the Macro Express Explorer. For events that occur in the Player look for log entries that include MacExp. Here are some things to try: 1. Press and release the Ctrl key and then type the shortkey activation again. 2. Make sure you are typing the correct characters to activate the shortkey. Highlight the shortkey macro in the Macro Express Explorer window. In the yellow box under the list of macros the keys needed to activate the shortkey are displayed. For example, it may show something like Shortkey //ps To activate the shortkey macro type all the keystrokes shown. 3. You can adjust what is needed to activate shortkeys in the Activations, Shortkeys preferences. Depending on those settings you may need to press space before or after the shortkey characters. 4. To see if the macro is activating put something at the top of your macro like a Text Box Display. You could also have Macro Express play a sound when a macro is activated. This is found in the Playback, Miscellaneous preferences. But it is annoying to have a sound played every time a macro is activated so you will probably want to turn this off after your test.
  14. In Macro Express 3 you have to change an setting to allow nesting of variables. Click Options, Preferences, Miscellaneous, the Advanced button, and enter something other than 0 in the Variables Evaluation Level box.
  15. When you activate a macro the window where the macro runs already has focus (is active). However, when you are debugging a macro Macro Express has focus. When debugging a macro, Macro Express does not know which window to work with so it asks which window the macro should run in. Choose the name of the window where you want the macro to run.
×
×
  • Create New...