Set security for ScriptForge.Dictionary service

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Locked
luofeiyu
Posts: 53
Joined: Thu Sep 14, 2017 2:11 am

Set security for ScriptForge.Dictionary service

Post by luofeiyu »

I have set the security for macro as below:

https://i.sstatic.net/yepg50w0.png

Execute according to the webpage https://help.libreoffice.org/latest/en- ... bPAR=BASIC

Code: Select all

GlobalScope.BasicLibraries.loadLibrary("ScriptForge")
Dim myDict As Variant
myDict = CreateScriptService("Dictionary")
https://i.sstatic.net/trazJWey.png

How can fix it?
Attached image since sstatic.net links will break
Attached image since sstatic.net links will break
202501301457.png (77.62 KiB) Viewed 9731 times
Last edited by MrProgrammer on Thu Jan 30, 2025 11:04 pm, edited 1 time in total.
Reason: Attach images
LibreOffice 7.4.7.2 on Debian 12
nickGiard
Posts: 24
Joined: Fri Nov 10, 2017 5:57 pm

Re: Set security for ScriptForge.Dictionary service

Post by nickGiard »

Hi, if you need to use Dictionary, is simplest to use EnumerableMap Service.
ScriptForge.Dictionary service is a lot more complex.
LibreOffice 6.3 on Windows 10 64bit
Locked