[Solved] Set Macro Security to low

Creating a macro - Writing a Script - Using the API

[Solved] Set Macro Security to low

Postby streub » Tue Sep 12, 2017 4:17 pm

Is there a macro that will set the macro security level to low as well other requirements to allow a macro to execute?

Reason I ask is our present LO application does not allow us to set this permanently. Our IT department is a bit paranoid.

Thank you
Last edited by Hagar Delest on Tue Sep 12, 2017 10:45 pm, edited 1 time in total.
Reason: tagged [Solved].
Streub

The more I learn from this forum, the more I get excited about using this strange application
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: Set Macro Security to low

Postby Villeroy » Tue Sep 12, 2017 5:24 pm

Set macro security very high and define your home directory as trusted source.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 24568
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Set Macro Security to low

Postby JohnSUN-Pensioner » Tue Sep 12, 2017 5:31 pm

See more in this topic
I may not have a lot to give but what I got I'll give to you...
Apache OpenOffice 4.1.4, LibreOffice 5.4.2.2 (x64) on Windows 7
If you think that I did not answer your question, make allowances for my imperfect English
User avatar
JohnSUN-Pensioner
Volunteer
 
Posts: 755
Joined: Fri Jan 14, 2011 1:21 pm
Location: Kyiv, Ukraine

Re: Set Macro Security to low

Postby streub » Tue Sep 12, 2017 6:23 pm

I understand and have attempted just that; however, the settings are not saved permanently







I have attempted to use the options dialog as you have instructed and as I have read. Unfortunately, the next day, I have to execute the process again. I have contacted our IT department but with 3600 stores my request is a very low priority. I thought if there was a method to
do it by means of a macro. . .

Thank you
Streub

The more I learn from this forum, the more I get excited about using this strange application
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: Set Macro Security to low

Postby Villeroy » Tue Sep 12, 2017 6:33 pm

Fire up your MRI and choose menu:Targets>Configuration...
and start with /org.openoffice.Office.Common

2. open registrymodifications.xml in your browser.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 24568
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Set Macro Security to low

Postby streub » Tue Sep 12, 2017 7:28 pm

I don't have MRI on this computer and not allowed to download. I have it on my personal computer but I believe what I develop is limited only to my
pc. Correct?

Thank you
Streub

The more I learn from this forum, the more I get excited about using this strange application
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: Set Macro Security to low

Postby Villeroy » Tue Sep 12, 2017 7:36 pm

No, this is incorrect.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 24568
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Set Macro Security to low

Postby Zizi64 » Tue Sep 12, 2017 7:41 pm

I don't have MRI on this computer and not allowed to download.


If your job is to develop some macros, then you need some tools for that. (MRI, Xray, and many others). Say to your admin/boss that these tools are necessary for your job.
Tibor Kovacs, Hungary; LO4.4.7, LO5.3.7 on Win7x64Prof.
PortableApps, WinPenPack: LO3.3.0-LO5.4.2 and AOO4.1.3
Please, edit the topic's initial post, and add the word "[Solved]" at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 5994
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Set Macro Security to low

Postby streub » Tue Sep 12, 2017 8:04 pm

I will attempt.

Thank you all.
Streub

The more I learn from this forum, the more I get excited about using this strange application
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: Set Macro Security to low

Postby streub » Tue Sep 12, 2017 8:11 pm

Resolved for now
Streub

The more I learn from this forum, the more I get excited about using this strange application
streub
 
Posts: 128
Joined: Thu Jan 02, 2014 2:48 am
Location: Wisconsin

Re: [Solved] Set Macro Security to low

Postby Villeroy » Wed Sep 13, 2017 2:22 pm

Much simpler than macros: A post-login script to overwrite the enforced registrymodifications.xml with your own.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 24568
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 8 guests