I'm a bit confused, all my clients are complaining about a macro that doesn't work anymore. I've tested and they're right. Any idea why these lines doesn't work anymore ?
Code: Select all
def transcription2calc(*args):
path = 'file:///home/bastien/Bureau/toto.ott'
args = (PropertyValue('Hidden', 0, False, 0),)
desktop = XSCRIPTCONTEXT.getDesktop()
desktop.loadComponentFromURL(path, "_default", 0, args)
Clients that haven't upgraded their ubuntu session haven't this bug. I have this bug on Ubuntu 19.04 and LO 6.2.3
EDIT: I just realize that 10 mins later it has open the template (wich BTW contains only the string 'toto')