{"version":"1.0","type":"rich","title":"Macro script to rename file on libre office. You should put this file on \"C:\\Program Files (x86)\\LibreOffice 5\\share\\Scripts\\python\" and insert it as macro on toolbar.","description":"This macro script for LibreOffice renames the current document through a custom dialog, saving it under a new name and deleting the original file. It demonstrates the use of the Uno API to access the desktop, current document, and dialog controls, along with utility functions like `fileUrlToSystemPath`, `storeToURL`, and `loadComponentFromURL`. The script also employs `zipfile` and `os` for file operations, though their roles are not explicitly shown in the visible logic. It relies on Python’s `uno` module and the `com.sun.star.awt` interfaces for dialog creation and event handling.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-65499672df1508f329a199ef4ca64a84?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}