OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Macro not working reliably

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
Les Rose
General User
General User


Joined: 26 May 2004
Posts: 22
Location: Salisbury, UK

PostPosted: Thu Oct 14, 2004 7:35 am    Post subject: Macro not working reliably Reply with quote

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
View user's profile Send private message
DiGro
Super User
Super User


Joined: 02 Jun 2004
Posts: 1209
Location: Hoorn NH, The Netherlands

PostPosted: Mon Oct 18, 2004 10:44 am    Post subject: Reply with quote

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. Question

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
View user's profile Send private message
Les Rose
General User
General User


Joined: 26 May 2004
Posts: 22
Location: Salisbury, UK

PostPosted: Mon Oct 18, 2004 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group