I have a very simple macro running on Windows
the code is the following
Sub open_FILE
dim sCMD as String
dim argument as string
sCMD = "v:/tmp"
'this shows the directry tmp in explorer windows
oShell = createUnoService("com.sun.star.system.SystemShellExecute")
argument=""
oShell.execute(sCMD,argument,0)
End Sub
I want to execute this macro on Linux (mint)
The macro is executed step wise and no error occurs
but nothing is done
I have modified my macro in order to execute a command
sCMD = "gedit /home/mint/x.txt"
(this command is OK from the command line)
but this is not executed
Macro are authorized in both systems
but when I open LO in win, it asks for macros, not in linux
is that a clue?
Can you help
Thanks