Jump to content
Macro Express Forums


  • Posts

  • Joined

  • Last visited

timcaroe's Achievements


Newbie (1/14)



  1. Hi Guys, I am using the latest Macro Express Pro and Windows 7. I am trying to get the current Windows username into a variable so that I can tailor the macros depending on who is logging on. I have tried to do this seemingly simple thing without luck. Can anyone offer me some code? Tim
  2. Hi All, I'm struggling to work out how to manage the Control feature. I want to click a particular box in my clinical system. It's called 'prescription destination'. The following code makes MEP crash every time, so it's obviously not right! <VARIABLE SET CONTROL TEXT Text="Prescription Destination" ControlVar="%name%"/> <IF CONTROL Option="\x07" Variable="%name%"/> <TEXT TYPE Action="0" Text="<TAB>"/> <END IF/> The following just keeps scrolling around endlessly: <TEXT TYPE Action="0" Text="<TAB>"/> <REPEAT UNTIL Variable="%where%" Condition="\x00" Value="Prescription Destination"/> <CAPTURE CONTROL Option="\x01" Control="%name%" UseText="FALSE"/> <GET CONTROL TEXT TextVar="%where%" ControlVar="%name%"/> <TEXT TYPE Action="0" Text="<TAB>"/> <END REPEAT/> Any ideas? Also - when I test run, a blue marker comes across the macro script and then I don't seem to be able to test run again. What is that blue bar? I've tried the 'Help' but it wasn't any help! Thanks Tim
  3. the 'parent' macro is a standard macro rather than a pop-up one. it just calls the pop-up macro through a run command. I closed everything but ME and the clinical system and it still was buggy (sometimes working sometimes not). I couldn't find any other macros running at the same time that would steal the focus. Sadly being a doctor rather than an IT guru like yourselves, I have no idea what a safe mode boot or MSConfig is. I'm better at people than machines! Anyway, I then adoped a work round as below - moving the mouse to where the pop-up appears and clicking on it before moving back. This hasn't solved the underlying problem but it now works everytime: <MACRO RUN Use_ID="FALSE" Name="who to send to" ID="-1" Wait="FALSE"/> <GET MOUSE POSITION Option="\x00" X="%x%" Y="%y%"/> <MOUSE MOVE Option="\x01" X="668" Y="210" _PROMPT="0x000A"/> <DELAY Flags="\x02" Time="100"/> <MOUSE LEFT DOUBLE CLICK/> <MOUSE MOVE Option="\x01" X="%x%" Y="%y%" _PROMPT="0x000A" _ENABLED="FALSE"/>
  4. Thanks both of you for your wisdom. I closed everything but EMIS WEB (the clinical system that I am manipulating) and ME Pro itself. It still only works intermittently. I'm activating the pop-up macro from another parent macro. The pop-up contains the names of all my colleagues and then jumps off to macros which send messages to these people. The strange thing is that the pop-up window always looks the same, but sometimes has the focus and sometimes it doesn't. Perhaps the answer is to use a multiple choice menu inside a macro rather than a pop-up window that loads other macros? Thanks for your thoughts! Tim
  5. Just started using ME Pro and would appreciate some valuable help! I have created a pop-up menu that triggers other macros. At the bottom of the menu it says that I can 'double click or press a number or letter'. I want to be able to just press the corresonponding key to the macro I want and it will trigger. However, the window doesn't seem to be itself active, and only once I click somewhere in the window will it then allow me to press a key to trigger what I need. One of the purposes behind the macro is not to have to use the mouse so having to add in that extra click is really annoying! I can't see any option to bring the window automatically to the front. I have made it appear at a particular place rather than under the mouse, but neither seem to work. Any wisdom from anyone? Thanks in advance! Tim (A doctor trying to make IT help us to help others)
  • Create New...