Jump to content
Macro Express Forums

Samrae

Members
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Samrae

  1. I'm not sure if this is still the case but some years ago when I tried to use Dragon with Macro Express it would not work. There was something in Dragon that prevented access to other macro programs. At the time Dragon offered a more expensive version that did allow it to interact with Macro Express. To run macros Macro Express uses the Windows Hooks. Use of the hooks works if all programs using the hooks properly cooperate. However, some programs intentionally interfere with the hook chain. You might try clicking Tools, Restore Keyboard and Mouse Hooks from within Macro Express after Dragon is loaded. Another thing to try would be to run Macro Express as Administrator.
  2. The problem is the "&" portion of the URI. When you copy and paste the URI remove "amp;" and it will work. In my browser the link looks like this: https://pgmacros.invisionzone.com/topic/8188-using-in-variable-value/?do=findComment&comment=28565 but if I right click and click on Copy Link Location (in Firefox) the link that is copied is: https://pgmacros.invisionzone.com/topic/8188-using-in-variable-value/?do=findComment&comment=28565 Note that & is converted to &. When I click on the link it works correctly. It is likely that this is caused by one of the programs you are using (email client and/or browser).
  3. The odd characters in the first record are there to identify the type of encoding used in the file. To avoid this try to save the .csv file in a different format, perhaps UTF-8. The format to use may or may not be shown as UTF-8. In my (older) version of Excel there is an option to save a file with the format "csv (MS-DOS)(*.csv)". If you are unable to change the format when creating the .csv file you could use the Variable Modify String commands to removed those characters.
  4. This may get you started. This assumes the number in the field is highlighted. Clipboard Copy Variable Set Integer %Value%: Set to the Clipboard Value Variable Modify Integer: %Result% = %Value% - 1 <CLIPBOARD COPY/> <VARIABLE SET INTEGER Option="\x0C" Destination="%Value%"/> <VARIABLE MODIFY INTEGER Option="\x01" Destination="%Result%" Value1="%Value%" Value2="1"/>
  5. You might want to look at the "Date Time Math" macro in the samples.mex macro file.
  6. The Alt-Key Sequence feature of the Text Type command allows Unicode characters to be typed. The Type Special Characters macro in the samples.mex macro file contains a sample macro.
  7. The "Run Macro" command runs another macro in a macro file. If you want to run a macro in a variable use the "Run Macro in Variable" command. The "Run Macro in Variable" command can be a bit tricky. There is a sample macro that demonstrates its use: Date String to DateTime Variable
  8. Try "Variable Modify String %StrVar%: Convert to Integer (%IntVar%)"
  9. If you choose the 'Floating box until "Close Box" or end of macro' option in Text Box Display you can use the 'Update Textbox' comand later in your macro. To see how this works check out the "Show Macro Progress" macro in the samples.mex macro file.
  10. Neither did I before this. Google is your friend. ?
  11. Pressing Ctrl+G or F5 in Excel brings up a dialog box to go to a cell. You can create a macro to type what is needed. Something like this: Text Type: <CONTROL>g Wait For Window Title: "Go To" Text Type: C4<ENTER>
  12. Yes, create a new key. Use DWORD in the registry value and use a Decimal Macro Express variable. This means you did not enter a variable name. Enter the name of a Macro Express variable. Be sure to create a Decimal variable. A Macro Express "Global" variable is only global to a single macro thread. In other words, to a specific macro and any macros launched by that macro via the Macro Run command. A variable set or changed in a secondary macro will not affect a variable in the primary macro, even if the variable name is the same. As suggested previously, to do what you want you will need to create a secondary macro that modifies and stores the value in an external location such as a file or the registry. The primary macro will need to read the value from the external location.
  13. I am comfortable with the registry. It may be a bit more efficient than file I/O. But, as rberq said, it doesn't really matter where you store it. What have you tried? How did it work out? Uh, put a "Write Registry Value" command in your second macro.
  14. Yes, you can initiate another macro while the first one is running. The idea is to have your main macro read a value from the registry and adjust the playback speed. Something like this: Read Registry Value "HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\$Temp\MacSpeed" into %MacSpeed% Macro Playback Speed: %MacSpeed% // Do something Delay: 0.5 seconds Read Registry Value "HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\$Temp\MacSpeed" into %MacSpeed% Macro Playback Speed: %MacSpeed% // Do something else Delay: 0.25 seconds
  15. Try this: Variable Set From Misc: "Installation Path" into %Path% Variable Set String %Path% to "%Path%\macedit.exe" Program Launch: "%Path%" (Normal) <VARIABLE SET FROM MISC Destination="%Path%" Value="Installation Path"/> <VARIABLE SET STRING Option="\x00" Destination="%Path%" Value="%Path%\\macedit.exe" NoEmbeddedVars="FALSE"/> <PROGRAM LAUNCH Path="%Path%" Mode="\x00" Default_Path="TRUE" Wait="1" Get_Console="FALSE"/>
  16. When I press the Ctrl+Alt+Shift+W shortcut the Macro Express Pro Explorer window comes up in about 1 second. It is so quick it is hard to measure. I currently have 23 macro files open with over 2080 macros (many are disabled). My computer is not new, around 9 years old, running Windows 7. Norton Internet Security is running and presumably scans all 23 macro files when the Macro Express Pro Explorer loads them.
  17. The Macro Express Pro Explorer can be launched by typing Ctrl+Alt+Shift+W. You can change the hotkey. Open the Macro Express Pro Explorer Click on System Macros in the Categories column Double click on "Run Macro Express Editor" Click the Change button
  18. The toolbar settings are stored in the registry. In previous versions of Macro Express Pro the toolbar settings were located here: HKCU\Software\Insight Software Solutions\Macro Express 4\Toolbars\Editor However in later versions of Macro Express Pro the toolbar settings are located here: HKCU\Software\Insight Software Solutions\Macro Express 4\$Temp\Toolbars Other temporary values stored in the $Temp are the window sizes and positions (...\$Temp\Windows), things you have searched for in the Script Editor or Macro Explorer (...\$Temp\Search History), settings relating to the grids found in various dialogs, and the last path used when browsing for files from different dialogs (...\$Temp\Paths). To restore Toolbars to their default positions right-click on the M icon in the Notification Area, click Tools, and then click Restore Toolbars. Similarly clicking M, Tools, and Restore Window Positions will reset the size and positions of a bunch of dialog windows. Whenever I do this I first close all the visible parts of Macro Express (Script Editor, Menu Builder, and Macro Explorer). But, if I recall correctly the default location for the toolbars looks like the image you shared where the Save and Close toolbar is on a different line than the Test Run toolbar. It seems to me that after resetting the toolbars I always have to drag the Test Run toolbar up next to the other toolbars.
  19. Do you have any macros with multiple activations? If a macro has more than one activation, a hotkey and a shortkey for example, then the activation is displayed as "Multiple". To find the macro I would disable half of the macros and see if the we- still activates the macro. Repeat until the macro no longer runs. Enable macros until the activation starts to activate the macro. To see if another macro tool is running you can terminate or suspend Macro Express. To suspend Macro Express click the M icon in the Notification Area and then Suspend Macro Express.
  20. A clue to the answer is in acantor's answer. TextType <CONTROL><ESC> works like Control Key Down, ESC, Control Key Up. This can also be written like this: TextType <CTRLD><ESC><CTRLU> If you use <WIN> in a TestType command it affects the next keystroke. For example, use TextType <WIN>e to bring up File Explorer. This can also be written like this: TextType <WIND>e<WINU>. So, as garlicnonions & Stan said, to bring up the Start Menu To just press and release the Windows key: TextType: <WIND><WINU> All modifier keys work this way in Macro Express and Macro Express Pro. Any of these affect the next keystroke: <ALT>, <CTRL>, <SHIFT> and <WIN>.
  21. That makes it appear that there is another macro in one of your macro files with that activation. These are normal. MacExp.exe is the macro player. MacExit.exe is the macro explorer. MEProx64.exe provides an interface between the 32-bit player (macexp.exe) and 64-bit programs that are running. If you had multiple copies of Macro Express running you would see more than one copy of MacExp.exe in task manager. If you have more than one macro file loaded try closing all but one of your macro files.
  22. You might also want to try clearing the Macro Recycle bin.
  23. You could put the commands to run the PowerShell script into a batch file and run it from Macro Express Pro using the Program Launch command. A quick Google search turned up this example of how to run a PowerShell script in a batch file: Powershell.exe -executionpolicy remotesigned -File C:\Users\SE\Desktop\ps.ps1
  24. You might try running Macro Express as Administrator.
×
×
  • Create New...