Linda Posted August 12, 2004 Report Share Posted August 12, 2004 Hi, I have a macro that contains a section <TEXTTYPE:<CTRLD>2<CTRLU>><WAITPB><PAUSE> In the applicaction this is invoked from, CTRL-2 takes the cursor to a particular edit field in a particular pane. When I invoke the macro, instead of typing CTRL-2 to change the focus the macro types "<CTRLD>2<CTRLU>" into the currently focused edit-box . (If I manually hit CTRL-2 from this same edit box, without using the macro, it shifts focus properly). I'm using MacroExpress 3.0.4.1 Why does it do this, and how can I make it stop? (I had a similar proplem in an earlier section of the macro, which was solved by deleting and retyping the commands That didn't work here.) Thanks! Quote Link to comment Share on other sites More sharing options...
joe Posted August 12, 2004 Report Share Posted August 12, 2004 Hello Linda! The code doesn't look correct. <TEXTTYPE:<CTRLD>2<CTRLU>><WAITPB><PAUSE> It looks like, for whatever reason, there is an extra separator character (""). The command should look like this as viewed from the Direct Editor: <TEXTTYPE:<CTRLD>2<CTRLU>> Which would answer why it works okay after reentering the command. You could have also used the simpler form of: <TEXTTYPE:<CONTROL>2> Quote Link to comment Share on other sites More sharing options...
Linda Posted August 12, 2004 Author Report Share Posted August 12, 2004 Weird- I've just been using the scripting editor- not editing directly in the Direct Editor- what would cause the command to be corrupted internally like that? It seems to be happening a lot today- a lot of odd bugs that sometimes go away when I re-type the commands. You could have also used the simpler form of:<TEXTTYPE:<CONTROL>2> We've found with the software we're using that this sometimes works and sometimes doesn't-- so I've been doing the up-downs just to be safe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.