[Solved]How to change selected picture attributes with macro
Posted: Wed May 14, 2008 2:36 pm
I have dozens of pictures, and I need to change their attributes in exactly the same way each time (change to a specific size; change the position to centred on the page; wrap-through and in background). I need to do this with new pictures every month.
Creating a macro and assigning it to a key (e.g. Ctrl-F) would mean that I could simply select the picture and press the key, which would save me ages.
I've tried recording a macro (Tools, Macros, Record Macro). But, when I press "Stop Recording", it doesn't record the attribute changes.
I've been going through the BASIC Programming Guide, trying to figure out how to write it by hand. Unfortunately, I can't figure out how to access the currently-selected picture and modify its attributes.
Can someone help please either by pointing to where this is documented, or by showing me how to program the macro?
I'm using OO 2.4.0 on Windows Vista.
Thanks.
Creating a macro and assigning it to a key (e.g. Ctrl-F) would mean that I could simply select the picture and press the key, which would save me ages.
I've tried recording a macro (Tools, Macros, Record Macro). But, when I press "Stop Recording", it doesn't record the attribute changes.
I've been going through the BASIC Programming Guide, trying to figure out how to write it by hand. Unfortunately, I can't figure out how to access the currently-selected picture and modify its attributes.
Can someone help please either by pointing to where this is documented, or by showing me how to program the macro?
I'm using OO 2.4.0 on Windows Vista.
Thanks.