Jump to content
Macro Express Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jsampsonyyyyy

  • Rank

Recent Profile Visitors

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

  1. I rarely write macros so am always inexperienced. Today I cured a bizarre problem where I had entered <control>c in "Text Type" assuming that it would save selected text to the Windows clipboard. Instead, in one program it selected its edit mode and deleted the selected string. I tried it in another program where it added a space. I then changed the text in "Text type" to <control down>c<control up> and after that it did what I wanted. It may be useful not to bother with "<control>c" - I don't know why it does not do what is expected.
  2. I have a "mouse move" command in a macro. This is preceded by a "Get mouse position" and a delay. If I start the macro with a keyboard shortcut and then move the mouse manually, the mouse moves but not to the position I specified. Is there a way of preventing manual movement of the mouse sabotaging the macro in this way? If I have asked this before, I apologise. I cannot find the relevant post.
  3. I have Acrobat Reader DC open on one monitor and PDF-XChange Viewer open on the other. I am trying to write a macro whereby Acrobat is selected and "right arrow" is transmitted to it to see the next page of the open document, then PDF X-Change Viewer is opened and "right arrow" is transmitted to it to see the next page of the open document there. The first command is 'Launch Program and Activate Window: Program "ACRORD32.EXE", Parameters "", Window "[title of document]"' where I have the title of the document as it appears in the window title. The second command is 'Text Type (Simulate Keystrokes): <ARROW RIGHT>'. And so on. When I composed the first command I selected one of two running processes called "ACRORD32.EXE". I don't know why there are two since I have only one instance of Acrobat Reader running. I suppose that is how Acrobat Reader works. Under the tab 'Options' I put the title of the document in the box 'Window Title', and "Partial Match" is selected. The macro is activated by a hotkey. Or to be precise it is not activated by a hotkey since it does nothing. I do not know how to debug it since there is nothing to see. How does Macro Express Pro deal with situations where there are two processes running with the same name? I am running Windows 7 Home Premium.
  4. Thanks - this works with the following provisos: I think "registercard" here means "tab". I find that the properties button is greyed out until one selects the hotkey one wants to change. If one imports macros it must be a common requirement that the hotkey must be changed to avoid clashes with existing macros. Perhaps this should be covered in the user manual.
  5. I have found the answer, I think. I was running a program that has its own macro facility. Evidently if I use an activation key combination that it uses, that overrides any Macro Express macro.
  6. I found that 'mouse move' would not work. What did make it work was to select tkinter's console window. Although I have no command to select or deselect any window, "mouse move" seems to work only when this particular window is selected. The macro is: Mouse Move: 165, 67 Relative to Screen. Delay: 0.5 seconds. Mouse Left Click. Delay: 1 seconds. Nothing else. Activation is Ctrl+Alt+W. Scope is global. I closed the tk program to see what that did, but Mouse Move did not work. There was a momentary appearance of the circular blue progress icon. The macro behaves as if its scope is within tk. I have no time now but perhaps rebooting Windows will make it work. I suppose that is the next thing to try, but it would not solve how to make a useful macro. Regards John Sampson
  7. Many thanks. The window title is "tk" in this case. I have been investigating further. "Window Activate" and "Mouse Move" work better if confined to one monitor. I have a two-monitor setup which I suspect is a cause of problems.
  8. What is "Window Activate" actually supposed to do? When I try it it does nothing. Are there conditions to be satisfied before it does anything? I want to change focus to a particular window - if this is the wrong command which is the right one? Thank you for the "CTRL+Space" tip.
  9. Many thanks. The macro doesn't work so I expect I will be back with more questions.
  10. Is it possible to write a macro which selects the window of a running program and moves the mouse to a position relative to that window? One would need to set the mouse locator to show the position relative to that window, so as to know how to set "mouse move". Of course while writing the macro the currently-running program is Macro Express Pro, not the program of interest. The mouse locator does not then show the mouse position relative to the program of interest. Is it possible to make it do so while writing the macro?
  11. If I find I have created a macro with an inappropriate hotkey to activate it, how do I change the hotkey? There is a facility to add activations, but 'hotkey' is greyed out.
  12. Is it possible to run a non-window program such as sed within a macro? It may be a way of using regular expressions within a macro, as Macro Express Pro does not have regular expressions. I would need to be able to feed a string variable to sed and use the output within the macro.
  13. I have a delay after each click already - can they be changed en masse or do I have to change each one individually? What is an ME text box? I would have to do the mouse clicks as they open new windows or controls. As far as I know there are no keyboard alternatives to the mouse clicks - if there were I would use them. It may be that I should try this in Autohotkey, or save time by doing the job manually.
  14. I have a process in Microsoft Word which has to be repeated many times. It involves eleven mouse clicks in different places. I turned on the Mouse Locator and did the process manually, recording the positions of the mouse clicks. When I run the macro, the mouse clicks occur in different places from the ones I filled in to the 'move mouse' selection boxes, making a complete mess of things. Is there a way of running the macro very slowly, with the mouse position shown (X and Y values) at each click, so that I can see what is going wrong? If there were, I could take notes on paper rather than trying to use the same mouse as the one that is being manipulated automatically.
  15. I am trying to use a CSV file to locate records in a proprietary database-type program. I look for a particular value in a field of the CSV file and use the value of another field as key to find a record in the database program. I get an error message saying such-and-such is not a value that exists. But the such-and-such it says is not a valid value occurs neither in the CSV file nor in the database program. Where it comes from I cannot guess - some area of computer memory remote from anything I am doing, I guess.
  • Create New...