|
|
|||||||
|
Hi, Can anyone help with this, please? I am trying to make a PNG file of the euro sign to use as an icon for a macro button. I have used accented letters as icons for macro buttons by creating the letters and then importing them into Irfanview, re-sizing them and then converting them to PNG files and, finally, putting them onto the macro buttons. This has worked with all the letters that I wanted but not with the euro sign or the "conjoined" o+e that used to be used in English and which is still used in French. Can anyone suggest why this will not work with the euro sign or the œ or how I can get a PNG file of these two characters? |
||||||||
|
|
|||||||
|
Could you try to explain a little better exactly what you are trying to do please. |
||||||||
|
|
|||||||
|
Hi Fusion, I am creating some macros to enable someone to insert foreign characters into Open Office Writer documents without having to open the character map, hunt for the character and then insert it. The macros are attached to buttons on a tool bar and were labelled with a name approximating to what the macro does. For example I have one called "eacute" which puts an é (if that hasn't come out, it is an "e" with an acute accent on it). Rather than have a tool bar full of buttons with strange labels, I have put the character that the macro produces as an icon on the macro button. I have been able to do this with all the vowels and consonants that are needed except the euro sign and the "o+e". All these characters have to be converted to PNG files before they can be used as icons by Open Office. Both the euro sign (€) and the œ come out as black squares when I try to convert them to PNG files. Open Office is being used instead of MS Office because the operating system is not Windows but Linux and icons for buttons, apparently have to be in PNG format and of a certain size. |
||||||||
|
|
|||||||
|
I think I know what you mean. However, have you considered importing a .png image such as this . . . >> << . . . then after creating your Macro, changing the icon to something like the one I have shown.I created 'your Macro' and produced this below with the new assigned button: ![]() I have never used OpenOffice before and downloaded it to try this method for you. It maybe long winded, but it works: Firstly, Right click and Save the Euro button image I have showed in this post to your Desktop. OpenOffice.org Writer > Tools > Macros > Record Macro > Start recording >Press the Ctrl + Alt + 4 keys together > Stop recording. Name the Macro say 'Euro' > Save Now go back to Tools > Macros > Organise Macros > OpenOffice.org basic > Expand 'My Macros' > Module 1 > Euro (right pane) > Assign > Toolbar content > Add > Category > Scroll down to OpenOffice.org Macros > Expand till you see 'My Macros' > Module 1 > Euro (right pane) > Add You should have Button on the Toolbar with the wording 'Euro' on it. Now go to View > Toolbars > Customize > In Toolbar content, Highlight 'Euro' > Modify > Change Icon > Import > Navigate to Desktop > Select the Pasted 'Euro' .png file > Open > Highlight the new Icon > OK/OK The new Euro button appears in the Toolbar for you to use when you require. Hope this helps. |
||||||||
|
|
|||||||
|
Hi Fusion, Many thanks for the information, it worked a treat first time. You seem to have gone to a lot of trouble over the euro currency sign! What do you think of Open Office Writer now that you have gone to the trouble of downloading and installing it? At first sight, it seems to me as good as MS Word although I find that their version of Basic, used for writing macros, a bit "obscure" when compared with Microsoft's VBA. I was trying to do a macro to insert the date using superscript "st", "nd", "rd" etc. for the days ending in "1", "2" or "3" etc. which is easy enough in VBA but not easy at all in Open Office Basic Sorry for the delay in getting back to you - I had to take my dog for some hydrotherapy yesterday and that more or less writes off a day. Anyway, thanks again for all your trouble. |
||||||||
|
|
|||||||
|
Pleased it worked for you Chris I was a little worried regarding the Ctrl + Alt + 4 keys instruction with Linux, but it seems to have worked. However, if you're typing away in OpenOffice it doesn't seem too much trouble hitting those three keys together to achieve what the macro button also does. Regarding using OpenOffice, to be honest I haven't tried it as such! I use MS Office 2003 on my main PC and have MS Office 2007 installed on the laptop. It's what I'm used to and will stick with them. I prefer 2003 though if the truth be known. It's no hardship and no trouble downloading programs to try and solve a problem for others and even using the gained knowledge for possible future use. It is annoying though when you spend hours sometimes working on someone else's posting and they don't have the decency to even acknowledge that you've helped or even solved their problem. Thanks for getting back and for the appreciation. |