[Solved] How to make a keyboard shortcut for and add-on?

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
Steve S.
Posts: 10
Joined: Sun Oct 30, 2011 4:22 am

[Solved] How to make a keyboard shortcut for and add-on?

Post by Steve S. »

I recently installed the newest version of OOO (4.1.1), which I use on Mac OSX (10.9.4). I use a writer add-on called accentuate, which allows me to write various accented letters in foreign languages (Czech, German, etc..). I would like to be able to activate this add-on with a keyboard shortcut, as I have done with an older version of OOO (3.4.1) and also the most recent version of Libre Office (4.3.4.1). I don't know how I did it the last time. This time, I went to tools -> customize -> keyboard and from there I am stuck. I seem to recall that it's necessary to get the add-on to appear in one of the function boxes at the bottom of the screen, so I can select it, but it's not there. Please note that I have installed the add-on successfully, but I can only activate it by clicking tools -> add-ons -> accentuate, which is much more cumbersome.

Many thanks,
Steve S.

OOO 4.1.1
Mac OSX 10.9.4
Last edited by Steve S. on Tue Dec 30, 2014 7:54 pm, edited 1 time in total.
OpenOffice 4.1.1 with
Mac OS X version 10.9.4
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to make a keyboard shortcut for and add-on?

Post by Villeroy »

Tools>Customize...
tab [Keyboard]
Choose a shorcut
Category: Macros>user>Accentuate>Module1
Function: accentuate
Button [Modify]
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Steve S.
Posts: 10
Joined: Sun Oct 30, 2011 4:22 am

Re: How to make a keyboard shortcut for and add-on?

Post by Steve S. »

I tried that, but every time I clicked on "macros", the whole thing would crash. Something about java runtime environment. Anyway, it's working now. Thanks.
OpenOffice 4.1.1 with
Mac OS X version 10.9.4
User avatar
Hagar Delest
Moderator
Posts: 32658
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: How to make a keyboard shortcut for and add-on?

Post by Hagar Delest »

Do you have a JRE configured? See in Tools>Preferences>OO>Java.
What is the exact error message?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to make a keyboard shortcut for and add-on?

Post by Villeroy »

https://issues.apache.org/ooo/show_bug.cgi?id=86541

This is one of the most ridiculous bugs in both OpenOffice and LibreOffice. "Accentuate" is a Basic macro shipped as an extension. It does not require any Java runtime at all. With Java disabled, most of the UI controls related to macros trigger the wrong error message that
"OpenOffice requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now? [Yes] [No] [Cancel]"
You can answer [No] to this message and proceed with your Basic and Python macros anyway. It is annoying but once you assigned your Basic/Python macro to some event, shorcut, toolbar or something else, everything works normally.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
karolus
Volunteer
Posts: 1159
Joined: Sat Jul 02, 2011 9:47 am

Re: How to make a keyboard shortcut for and add-on?

Post by karolus »

Hallo

The Problem is, there is nothing to choose below→Tools→customize→Keyboard→Functions→Makros→user→?
with Aoo4.x
Karolus
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM)
Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4)
Libreoffice 7.6 flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to make a keyboard shortcut for and add-on?

Post by Villeroy »

CustomizeKeyboard.png
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
karolus
Volunteer
Posts: 1159
Joined: Sat Jul 02, 2011 9:47 am

Re: How to make a keyboard shortcut for and add-on?

Post by karolus »

Hallo
nothing.png
screenshot from AOO4.1.1

Karolus
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM)
Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4)
Libreoffice 7.6 flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: How to make a keyboard shortcut for and add-on?

Post by Villeroy »

Something is wrong with your user profile. This screenshot shows the same dialog with a new user profile on a German guest account (working as "Guest" on a Ubuntu system creates a new user account with new office profiles). Assigning macros works with disabled Java after answering [No] to various JRE warnings (one warning per library).
CustomizeKeyboard2.png
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
karolus
Volunteer
Posts: 1159
Joined: Sat Jul 02, 2011 9:47 am

Re: How to make a keyboard shortcut for and add-on?

Post by karolus »

Hallo
villeroy wrote:Something is wrong with your user profile.
Yes, youre right, it seems its localized from "something" below ./uno_packages/

Karolus
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM)
Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4)
Libreoffice 7.6 flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
Post Reply