| View previous topic :: View next topic |
| Author |
Message |
Les Rose General User

Joined: 26 May 2004 Posts: 22 Location: Salisbury, UK
|
Posted: Thu Oct 14, 2004 7:35 am Post subject: Macro not working reliably |
|
|
I have recorded a macro for formatting a graphic which is imported as a metafile. The process is:
1. Copy Impress slide to clipboard
2. Go To Writer and place curser where I want it anchored
3. Paste as metafile
4. Resize
5. Turn on wrapping
6. Add border
Well of course the macro only starts at 3. It worked fine the first time, but the more I run it the less it wants to do. It quickly refused to do the resizing and wrapping. What is going on?
While I'm at it, can I have this macro on the toolbar all the time or only for one document? Can I attach it to a template? _________________ Les Rose |
|
| Back to top |
|
 |
DiGro Super User


Joined: 02 Jun 2004 Posts: 1209 Location: Hoorn NH, The Netherlands
|
Posted: Mon Oct 18, 2004 10:44 am Post subject: |
|
|
Les,
there should be no difference in behavior of the macro it just have
to do tis job.
Could it be that the code is slightly off balanced.
Please let us look at the code for possible enhancements.
It should be possible to put the macro on your menu-bar so you just have
to click the button.
EDITED:
Sorry, forgot this:
http://www.oooforum.org/forum/viewtopic.php?t=6310
DiGro |
|
| Back to top |
|
 |
Les Rose General User

Joined: 26 May 2004 Posts: 22 Location: Salisbury, UK
|
Posted: Mon Oct 18, 2004 11:09 am Post subject: |
|
|
Thanks - only a quick reply here as I'm just going on a trip. But I have realised what is wrong. I have recorded the macro using the cursor to resize the graphic. In fact the graphic doesn't always paste in the same place on the screen, so the macro can't always find it. I will have to record using numerics to resize. _________________ Les Rose |
|
| Back to top |
|
 |
|