I updated OpenOffice in June and had to reconfigure all my menus and such. With my previous version I was able to create a shortcut to insert a special character I use frequently. Specifically, I changed Control D to insert a degree character. With version 4.1.12 I cannot make that change. Can some please tell me (or remind me) how to do that?
If I can no longer make that change in the new version, I guess I would need to delete version 4.1.12 and reinstall my previous version. Would it be that easy to go back to an older version of OpenOffice?
[Solved] Create shortcut to insert special character
[Solved] Create shortcut to insert special character
Last edited by MrProgrammer on Sat Aug 27, 2022 10:20 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
OpenOffice 4.1.1 on Windows 10
Re: Creating a shortcut to insert a special character?
Did you use a recorded macro?
I want to insert special characters with keyboard shortcuts. How do I do this?
I want to insert special characters with keyboard shortcuts. How do I do this?
AOO 4.1.14 on Ubuntu MATE 22.04
Re: Creating a shortcut to insert a special character?
No, I didn't use a recorded macro because I never heard of that before today. I thought I recalled it being pretty easy to create the shortcut I want, but maybe I'm just confused and totally not remembering correctly.
OpenOffice 4.1.1 on Windows 10
Re: Creating a shortcut to insert a special character?
Your earlier post (2019) on the same topic is at
https://forum.openoffice.org/en/forum/v ... hp?t=96900
https://forum.openoffice.org/en/forum/v ... hp?t=96900
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Creating a shortcut to insert a special character?
Well, good heavens, I don't recall ever asking about this before but I obviously did. I'll check it out. Thanks.
That suggested solutions from 2019 isn't going to work for me. (I don't know why it says "solved"). I guess I'll just go with the Alt 0186 way of inserting it quickly. Control D would sure be easier though.
That suggested solutions from 2019 isn't going to work for me. (I don't know why it says "solved"). I guess I'll just go with the Alt 0186 way of inserting it quickly. Control D would sure be easier though.
OpenOffice 4.1.1 on Windows 10
Re: Creating a shortcut to insert a special character?
A recorded macro for the ° symbol is as follows, you'd need to put it in your MyMacros and then assign a shortcut.
Edit: made a slight mod to remove the bit which set the font
Or you could create an Autotext entry for your symbol - then it would be type the shortcut and press F3 to insert it.
Code: Select all
sub InsertDegreeSymbol()
rem ----------------------------------------------------------------------
rem define variables
dim document as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Symbols"
args1(0).Value = "°"
dispatcher.executeDispatch(document, ".uno:InsertSymbol", "", 0, args1())
end sub
Or you could create an Autotext entry for your symbol - then it would be type the shortcut and press F3 to insert it.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)