I wanted to set up a new shortcut to run a batch. Now i get this error message.
https://imgur.com/a/jUytiqh I still can manually run the batch form the altsearch window. Unfortunately i do not have a recent backup. My other macros all run.
I tried to uninstall and reinstall altsearch. That did not help.
I used a clean user profile and run in the same issue.
I am on Debian and use Libreoffice 7.0.1.
According to the error message i guess that i has to do with the file stored in /user/basic/standard/AltSearchBatchs.xba witch content is
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="AltSearchBatchs" script:language="StarBasic">REM ***** BASIC *****
Option Explicit
' Warning this module is modified by execution of AltSearch macro!
' Contains subroutines for assign key shortcut for AltSearch's batchs.
' Do not change any character unless you know what you do!
Sub Altsearch___dialog
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch") 'load AltSearch library
_AltSearch
End sub
Sub Altsearch___Find_next
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch")
_FindNext
End sub
Sub Altsearch___Find_previous
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch")
_FindBack
End sub
Sub LO_Markup_nextgen_ctrl_alt_L
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch")
_AltSearch("LO-Markup-nextgen-ctrl-alt-L")
End sub
Sub Clammer_farbe
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch")
_AltSearch("Clammer farbe")
End sub
Sub 0
On Error resume next
GlobalScope.BasicLibraries.LoadLibrary("AltSearch")
_AltSearch("New search")
End sub
Thank you