![]() ![]() This is the line of code that contain the problem sSelectedText = ThisComponent. OScriptProc.invoke( ":file:///C.main.py$main", args(), Array(), Array() )Ĭan someone help me with the documentation or provide an answer on how to retrieve the selected text from the document object? I would greatly appreciate any guidance or resources that could help me resolve this issue. Download LibreOffice LibreOffice - Free Office Suite - Based on OpenOffice - Compatible with Microsoft Download / Download LibreOffice Business users: click here Get long-term support, custom features and more Download LibreOffice Ideal for home users, students and non-profits Choose your operating system: DOWNLOAD Torrent, Info 7.5. OScriptProc = createUnoService(".provider.ScriptProviderForPython") SSelectedText = ThisComponent.getSelectedText()ĭim args(0) As new .PropertyValue I've been using a macro provided by ChatGPT, but I'm currently facing an issue with the function used to retrieve the selected text from the document object: sub SendSelectedTextToPythonScript ![]() To achieve this, I want to be able to select text in the document and then use a button to send that text to the script. My goal is to create a macro that sends selected text in a document to a Python script. > I get an error No SSL support included in this Python in 4.2 Libre > Office. ![]() Hello everyone, it's my first time developing a macro in LibreOffice. On Thu, at 09:54 +0600, Agapov Ruslan wrote: > Hi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |