mirrored 15 minutes ago
0
tsuky_chenminor fix 2f87aae
{
  "id": "0e47de2a-32e0-456c-a366-8c607ef7a9d2",
  "snapshot": "libreoffice_writer",
  "instruction": "Add page number for every page at the bottom left",
  "source": "https://ask.libreoffice.org/t/how-to-start-page-numbering-on-a-certain-page/39931/4",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1aDWe-vAmcfQSgtPjFfrncq8ZFnCy4uUK&export=download&authuser=0&confirm=t&uuid=788af72a-ddaf-4ba3-aedb-96f34cc4d815&at=APZUnTVSRSSfMGcjXqLzvMixnkp6:1704179663299",
            "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "libreoffice_writer"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "LibreOffice_Open_Source_Word_Processing.docx - LibreOffice Writer",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5); "
          ]
        }
      }
    ],
    "func": "has_page_numbers_in_footers",
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx",
      "dest": "LibreOffice_Open_Source_Word_Processing.docx"
    }
  }
}