Bug 30523 - Assigning Macro to Keyboard Shortcut open My Macros Basic Window with error
Summary: Assigning Macro to Keyboard Shortcut open My Macros Basic Window with error
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Noel Power
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 18:16 UTC by Pete Smith
Modified: 2010-12-15 22:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Smith 2010-09-30 18:16:10 UTC
After recording macros (in Writer) to insert special characters, I like to assign keyboard shortcuts to those macros (e.g. Ctrl+Shift+D to insert greek %DELTA).

I can record the macro.  I can assign the macro to a keyboard shortcut.  When I try to run the macro using the keyboard shortcut the My Macros & Dialogs.Standard - LibreOffice Basic window opens.  A popup error message says BASIC syntax error. Symbol expected.  

I have to click OK four times to clear the error.  The Macros & Dialogs window remains open.  The macro never runs.

This happens in both Writer and Impress.

LibreOffice 3.3.0 
OOO330m7 (Build:9526)
ooo-build 2010-09-24

On Windows XP Pro sp3
Comment 1 Raphael Bircher 2010-09-30 19:08:44 UTC
I tested makro recording. It works. I don't know what you doing between start and end recording, so it's impossible to see whats wrong. But you have to know that macro recording is not realy a function to create final makros. The code who is created by the makro recorder can work, but often you have tho debug it first.

Anyway, in your case, AutoText would be the better solution.

So I will close this bug.
Comment 2 Noel Power 2010-10-01 01:29:31 UTC
personally I would be interested in seeing a document with the failing macro and associated key binding ( you can save your macro key shortcut in the document )
Could you do that and attach the document please?, lets reopen in the mean time to investigate a little further
Comment 3 Noel Power 2010-10-01 02:01:31 UTC
assign to me
Comment 4 Pete Smith 2010-10-01 05:11:36 UTC
It is working and there does not appear to be a bug.  I don't know what happened when I first recorded my macro (for subscript, I don't like Ctrl+Shift+B).  But when I finally looked at the code in the Basic Editor, I saw a lot of gibberish.  I just deleted all of the code and re-recorded the macros.  It works fine now and I cannot replicate the previous error.

Sorry about that.  At least this is one fewer bug to have to worry about.

Pete Smith
Comment 5 Rainer Bielefeld Retired 2010-12-15 22:13:39 UTC
(In reply to comment #4)
> It works fine now and I cannot replicate the previous error.

So I close the Bug for now.

@reporter:
Please feel free to reopen this Bug if you find out that the problem still exists in the latest release of LibO.