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 have, and had, "##" in the Prefix Keys box. So I reverted back to a previous version of my .mex file to get rid of the problem. I had not realized that I already had a shortkey "pn" that gave text type "pneumo" which starts with "pn". I suspect that playback started with the trigger string so that there was a feedback effect. If so, then the playback of a shortkey macro must not start with its own trigger string or with the trigger string of an existing macro whose "text type" starts with the trigger string. I would have thought the prefix key would prevent feedback in this situation but it is late at night and I am probably not thinking straight.
  2. I created a macro with shortkey pn to give text type "protein". It entered "proteiproteiprotei..." and so on until I stopped it. I cannot find the macro in the list of macros so cannot edit or delete it. I have tried to upload the macro file but it fails. I am usipproteiniproteiniproteing Macro Express Pro - while I was typiproteing this it produced the text you see. The behaviour is differeproteint iprotein differereproteint target programs.
  3. I see. It is a simulation. Is there a way of getting the console value into %ConsoleValue%?
  4. I said was there a way for the text box not to activate (meaning "appear") if there was no console output from the program. I do not know how to obtain acantor's script. Is %ConsoleValue% provided by Macro Express Pro, or do I have to create or populate it somehow? Or is it set to "Prompt" and "Prompt" picks up the console output from the program? I need a "Do this, do that" kind of answer.
  5. I have a macro which runs a Python program. I end the macro with Text Box Display to show any console output from the program. Is it possible for Text Box Display not to activate if there is no console output from the program? Also, is there some way of showing console output in a display that closes after a set interval without the user having to click "OK"?
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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
  12. 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.
  13. 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.
  14. Many thanks. The macro doesn't work so I expect I will be back with more questions.
  • Create New...