Jump to content
Macro Express Forums

Samrae

Members
  • Content count

    306
  • Joined

  • Last visited

  • Days Won

    17

Samrae last won the day on December 14 2017

Samrae had the most liked content!

Community Reputation

10 Good

About Samrae

Profile Information

  • Gender
    Male

Recent Profile Visitors

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

  1. Samrae

    MEP toolbar problem

    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.
  2. Samrae

    Macros deploying twice

    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.
  3. Samrae

    win key not working

    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>.
  4. Samrae

    Macros deploying twice

    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.
  5. Samrae

    Macros deploying twice

    You might also want to try clearing the Macro Recycle bin.
  6. 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
  7. Samrae

    Scripts not recognized in Word 2016

    You might try running Macro Express as Administrator.
  8. Samrae

    Arrays Explained?

    When you define an array variable you need to specify the number of elements. Sometimes that is tricky if you aren't sure how many you will need. I usually just guess high. So, for your array variable that needs 0-107 elements I would specify 150 or 200 elements. Sometimes I use the Get Array Length command in my macros to check to display a warning if the array size is too small. That prompts me to edit the macro and increase the size of the array. To access elements in the array use something like %ArrayVar[1]%, %ArrayVar[99]%, etc. You can also use another variable to access the array. %ArrayVar[%Idx%]%. Also note that array variables start with 1, not 0. %ArrayVar[1]% is okay but %ArrayVar[0]% is not.
  9. Samrae

    PDF still open

    Try the Wait for File to be Ready command. If Folder Exists: "\\SCANSERVERHOST\PPLImageDepot\Processing Temp" Repeat with Folder C:\Scans // PLow thru the folder Clear Variables Variable Set From File path // Get teh file extension Variable Set From File: Set to the Size of a File (C:\Scans\%File%) If File Exists: "C:\Scans\%File%" If Variable %Size% Is Greater Than "0" Wait for File to be Ready: C:\Scans\%File% Copy File/Files: "C:\Scans\%File%" to "c:\Scans Sav" Move File/Files: "C:\Scans\%File%" to "\\SCANSERVERHOST\PPLImageDepot\Processing Temp\%File%" On Error Catch Error: File could not be located Macro Stop End Catch Error End Error End If End If End Repeat End If
  10. Some thoughts: Windows programs have the ability to define their own mouse cursors. If the program has it's own arrow mouse icon then the If Mouse Cursor: Arrow will not work. Maybe you can use the if Mouse Cursor: change command instead. If one program is running with elevated privileges (as admin) then Macro Express cannot interact with it. See if running Macro Express as Administrator helps.
  11. Samrae

    ME3 won't play back in VPS

    Make sure you are using a Windows server on AWS. Also, be sure that the applications running on AWS are not sandboxed. Macro Express needs to see all other applications that are running in order to interact with them. Sandboxing isolates each application from the others. And lastly, as I mentioned in response to your other post, be sure that there is not a setting or feature that prevents the processing of keystrokes when the AWS server does not have focus. My minimal knowledge of Amazon AWS comes from reading information online and not from working experience. I may not be able to help any further. Perhaps another forum member has more experience with AWS and could provide further advice.
  12. Samrae

    ME3 won't play back in VPS

    What VPS are you using?
  13. I have experience using VMWare virtual machine software but I have not used a virtual private server. (Other virtual machine software include VirtualBox, HyperV, and Parallels.) My suggestions may or may not apply to a VPS. Check for any options that may affect how macros run. Some VM's have a setting to determine how hotkeys work. For example, there may be a setting that determines whether a hotkey is sent to the host computer or to the virtual machine. Some virtual software assumes that if your keyboard and mouse are not connected that there is no reason to process keystrokes and mouse events. This is how Windows Terminal Services work. It may be that the VPS you are using works that way also. When I use a virtual machine both my computer and VMWare must be running.
  14. Windows itself only allows one dialog to receive keystrokes and mouse clicks. That window is the one that has focus or is the active window. You can have a macro that runs while you are interacting with a different window but it is tricky. First, the application where you want the macro to run must support Window Controls. Not all programs do. Then your macro needs to interact with that window with only Window Controls, not keystrokes or mouse clicks. Another approach is to create a virtual machine. When a virtual machine is running it looks and acts like a separate computer. The VM can run in a separate window on your main workstation. The VM has to be configured with Windows and your application along with Macro Express would need to be installed on the VM. It gets a bit involved but it works well.
  15. Samrae

    Macros Only Work in Macro Express

    In order for a macro to run you need to do two things. First, select an activation. Second, write the macro script. Then, when the activation is performed, the script runs. From your screenshots it looks like you have created a menu macro. To activate a macro when using a menu macro you have to see the menu and you have to choose an item on the menu. Is the menu displayed? What happens when you select an item on the menu?
×