Jump to content
Macro Express Forums

writejb

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by writejb

  1. BTW, I did a little more research. Executing the same keystrokes with the AHK macro program does not cause the problem. Possibly it's something to do with the way that ME passes the keystrokes to FrameMaker? Thanks, John B.
  2. Hi Jason, (three emails compiled together below) Sorry - I should have mentioned that I already tried that. When the macro goes awry, the <ShiftUp> step causes the additional line to be selected. And of course, leaving out the <ShiftUp> step causes the Shift key to remain pressed for the rest of the macro. Also, after the macro goes awry, pressing Shift+End manually causes 2 lines to be selected instead of one. In other words, the macro messes something up with the way FrameMaker responds to the keyboard. I have to change focus away from FrameMaker, and then go back to FrameMaker to cause the program to respond properly to the keyboard. In other words, something continues to be affected after the macro ends. Any other suggestions? BTW, there is a "tryout" version of Adobe FrameMaker at http://www.adobe.com/products/tryadobe/main.jsp#product=22 if you want to try to replicate the problem. Thanks, John B ----- Original Message ----- From: Jason Lunt To: J. B. Sent: Wednesday, April 12, 2006 12:47 PM Subject: Re: Problems running macros with Adobe FrameMaker Hi, Instead of using the <Shift> command, you may want to try using the <Shift Down> command found in the Text Type commands. This will hold the shift key down when the End key is pressed. You will then need to follow the <End> command with the <Shift Up> command also found in the Text Type command. Jason Lunt Insight Software Solutions, Inc. On Tue, 11 Apr 2006 14:40:58 -0400, J. B. wrote: > Hi Jason, > > I tried running is waaay slow - 1 second in-between steps. It ran > two times without a problem. The third time it ran, when it came to > the steps > > <TEXTTYPE:<HOME>> > <MSD:500> > <TEXTTYPE:<SHIFT><END>> > > It selected not just the current line, but also the line following > the current line. The previous two time through, it had only > selected the current line (as it should). Also, a Ctrl key > combination immediately following the Shift+End step does not work. > Same is true when I step through using the debugger. > > In addition, manually selecting text in FrameMaker with SHIFT key > combinations changes, so that text is selected as expected > (Shift+arrow keys), but then additional text is selected when I > release the Shift key. If I use Shift+End to select a line, the > next line is selected when I release the Shift key. If I use > Shift+arrow key to select a character, the next character is > selected when I release the Shift key. > > This stops happening when I change the focus to another program, > and then come back to FrameMaker. I can manually select text with > Shift key combinations as expected. However, if I try to run the > macro again, the macro does not work again. > > If I close FrameMaker and restart it, the macro may run properly > for a couple times, then the Shift and Ctrl key combinations will > stop working properly. Eventually, I have to reboot the computer to > get the macro to run properly even once. > > I can manually type the same keystrokes that in the macro over and > over again without causing any problems (much faster than 1 second > in between steps). > > Here is the macro. As you can see, there is nothing special about > it. It is all TEXTTYPE and DELAY commands. I select one or more > paragraphs in FrameMaker, then run the macro. > > <SPEED:00002><TEXTTYPE:<CONTROL>x><MSD:500><TEXTTYPE:<ENTER>><MSD:500><TEXTTYPE:<UP ARROW>><MSD:500><TEXTTYPE:<ul>><MSD:500><TEXTTYPE:<F9>><MSD:500><TEXTTYPE:<ENTER>><MSD:500><TEXTTYPE:</ul>><MSD:500><TEXTTYPE:<HOME>><MSD:500><TEXTTYPE:<SHIFT><END>><MSD:500><TEXTTYPE:<CTRL>4><MSD:500><TEXTTYPE:h><MSD:500><TEXTTYPE:<ENTER>><MSD:500><TEXTTYPE:<RIGHT ARROW>><MSD:500><TEXTTYPE:<RIGHT ARROW>><MSD:500><TEXTTYPE:<RIGHT ARROW>><MSD:500><TEXTTYPE:<RIGHT ARROW>><MSD:500><TEXTTYPE:<ENTER>><MSD:500><TEXTTYPE:<CONTROL>v> > > If there is anything else you would like me to try, please let me > know. > > Thanks, > John B. > > >> ----- Original Message ----- >> From: Jason Lunt >> To: J. B. >> Sent: Tuesday, April 11, 2006 12:51 PM >> Subject: Re: Problems running macros with Adobe FrameMaker >> >> >> Hi, >> >> Things like this sometimes happen after upgrading software. It >> is possible that the macro speed needs to be adjusted as the new >> version of FrameMaker may take more system resources causing it >> to respond more slowly than the older version. >> >> If you have not already done so, you should try stepping through >> the macro using the debug tools to see exactly where it gets hung >> up. This will tell you where you will need to make changes in >> your macro. >> >> Jason Lunt >> Insight Software Solutions, Inc.
  3. Hi, I have a strange problem with running macros in Adobe FrameMaker 7.1. The macros worked fine in Adobe FM 6, but no longer. Macro Express 3.5e Windows XP Home Dell P4, 1.6 Ghz, 768 Mb RAM The macro includes a <SHIFT><END> command to select a line, and a <CTRL>4 command to select a text format for the selected text. After rebooting, the macro will run once or twice without any problems. However, after that first time or two, it will develop serious problems. One symptom is that <SHIFT><END> selects 2 lines, not one. If I manually press Shift+End, the second line is then selected when I release the Shift key. Also, the <CTRL>4 command stops working as well. If I restart FrameMaker, I can manually use Shift+End to select a line, but the macro has the same problem the first time I run it. If I reboot the computer, the macro will work once or twice again before getting strange again. I have tried loading ME last, tried Tools > Restore Keyboard Hooks, and tried Options > Preferences > Miscellaneous > Auto Restore Keyboard Hooks. I've also tried slowing the macro down to a crawl. It seems that running the Macro somehow affects the way FrameMaker is responding to combination key presses (Shift+ or CTRL+ key combinations). Alt+ key combinations seem to be unaffected, but there are no <Alt> commands in the macro. It also seems that the problem remains "in memory", because while stopping and restarting FrameMaker will make pressing Shift+End work again, I can't run the macro even once without the problems. It only starts working again when I reboot the computer. I wonder if this is related to a previous post, which might suggest a problem with Adobe products (http://pgmacros.com/community/index.php?showtopic=805). Thanks, John B.
  4. I'm using the freeware version of just the firewall (ZoneAlarm (Software Version: 5.5). One other thing is that the problem is not consistent. It's not repeatable every time. And it only happens once when it does happen. After acknowledging the ZA alert, I can go ahead and fire off macros without any additional alerts. Thanks, Writejb
  5. I'm not using a LAN. The computer is connected to an ADSL modem. Not much chance of that. I doubt very much my ISP would allow me to install any programs on their servers :-). Thanks, Writejb
  6. Hey, thanks for the responses! I don't think so. When Macro Express does try to access the Internet (for example, Help/On the Web/Home Page), ZA displays a proper Alert message with the Allow and Deny buttons and IP addresses. The ZoneAlarm alert message I get when I execute a macro does not allow me to take any action (except click OK to acknowledge the Alert). I don't think Macro Express is trying to access another computer when I run a macro--or if it is, it's doing a very bad job of it. According to ZoneAlarm's Alert, the Type is "unknown", there is no Source IP, no Destination IP, no Direction (incoming or outgoing), and ZA does not allow me to take any action (except click OK to acknowledge the Alert). The macro that caused the alert today should be harmless--it just copies text, types in some more text, and pastes the copied text back in. The macro is specific to one program on my computer (Adobe FrameMaker). Macro Express is already running well before I try to execute the first macro. I don't have it set to auto-start when Windows boots up--I start it manually when I need it. So I suspect Macro Express is doing something else to honk off ZoneAlarm, but I haven't a clue what. It appears ZA isn't clear on what the problem in, given that the Type is "Unknown". If anyone has any other ideas, I'd be happy to try them. Thanks, Writejb
  7. For some reason, ZoneAlarm throws an alert the first time after rebooting that I execute a macro using Macro Express (http://www.macros.com/). I'm executing the macro with a keyboard shortcut. Rating: Medium Type: Unknown Program: MacExp.exe ... and all the other fields in the "Alerts and Logs" page are blank. Why is this, and how do I stop it from happening? MacroExpress does not seem to be trying to access the Internet in any way when I run the macro. Thanks, Writejb Operating System: Windows XP Home Edition Product Names: ZoneAlarm (free), Software Version: 5.5 Macro Express version 3.5b build 1
×
×
  • Create New...