[Solved] Cannot edit macro code

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Senbee
Posts: 3
Joined: Thu Aug 05, 2010 12:30 pm

[Solved] Cannot edit macro code

Post by Senbee »

Hi

I wrote a set of functions associated to a database with OOBase 3.1 under Vista. I created an extension package using BasicAddonBuilder and installed it under OOBase 3.2 Win XP. Now, everything works fine but I CANNOT EDIT THE CODE in the DB under XP. The Editing is disabled, I can see the macros but cannot write.

Any hint?

Tx

Stefano
Last edited by Senbee on Thu Aug 05, 2010 4:59 pm, edited 1 time in total.
Openoffice 3.2 on Windows XP/Openoffice 3.2 on Windows Vista/Openoffice on Ubuntu 10
User avatar
Zizi64
Volunteer
Posts: 11497
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Cannot edit macro code

Post by Zizi64 »

Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Senbee
Posts: 3
Joined: Thu Aug 05, 2010 12:30 pm

Re: Cannot edit macro code - more

Post by Senbee »

I probably found out why: installing the code as an extension it is placed under OpenOffice macros, not personal macros (but if I install it under the same PC that created the extension it's placed under personal macros...??). So how can I solve it? I.e. move from OpenOffice Macros to Personal Macros?
Openoffice 3.2 on Windows XP/Openoffice 3.2 on Windows Vista/Openoffice on Ubuntu 10
User avatar
Hagar Delest
Moderator
Posts: 33523
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Cannot edit macro code

Post by Hagar Delest »

Usually, when you install a macro with an extension, the macro is stored in the user profile, then you can access the code. Perhaps you've installed the extension for all users with specific rights and now as a standard user you can't edit it.

So try to remove it and to install for your user only.

Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 24.8 portable on Windows 11.
Senbee
Posts: 3
Joined: Thu Aug 05, 2010 12:30 pm

Re: Cannot edit macro code

Post by Senbee »

Thanks! This solved it!

Stefano

Hagar de l'Est wrote:Usually, when you install a macro with an extension, the macro is stored in the user profile, then you can access the code. Perhaps you've installed the extension for all users with specific rights and now as a standard user you can't edit it.

So try to remove it and to install for your user only.

Please add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
Openoffice 3.2 on Windows XP/Openoffice 3.2 on Windows Vista/Openoffice on Ubuntu 10
User avatar
Hagar Delest
Moderator
Posts: 33523
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Cannot edit macro code

Post by Hagar Delest »

Note that once the extension has been made, you can easily update its code without rebuilding it completely (especially if you've associated icons, menus, translations and so on). Copy the modified library in the extension folder to the related folder of the existing extension (open it with an archive manager).
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 24.8 portable on Windows 11.
Post Reply