mirrored 2 minutes ago
0
rhythmcaofix Desktop path error, revise main.py and update google writer tutorial 8b42d69
{
  "id": "455d3c66-7dc6-4537-a39a-36d3e9119df7",
  "snapshot": "libreoffice_impress",
  "instruction": "Could you help me export an Impress file to a .png image file and save it as res.png on the Desktop? ",
  "source": "https://stackoverflow.com/questions/75626383/how-export-libreoffice-impress-to-image",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=12MxMjw28_t1nTLihlDpToKebjsSDsjwx&export=download&authuser=0&confirm=t&uuid=1ccc1da0-d7c7-494f-a0e3-59eb55f54e3f&at=APZUnTXvNIRMsF2cjZuFxmQzByhC:1705253210291",
            "path": "/home/user/Desktop/wssf-project-plan-on-a-page.pptx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/wssf-project-plan-on-a-page.pptx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "libreoffice_impress"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "wssf-project-plan-on-a-page.pptx - LibreOffice Impress",
          "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);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      }
    ],
    "func": "compare_images",
    "expected": {
      "type": "cloud_file",
      "path": "https://drive.usercontent.google.com/download?id=1XTDaQ2NlovrusKkuY6udi_BQfLwSP9th&export=download&authuser=0&confirm=t&uuid=d3c7883e-3cea-4bf3-8f83-d878622ee76d&at=APZUnTXQEnT0Gi4rB0oegvVGheyn:1705859805154",
      "dest": "res_gold.png"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/res.png",
      "dest": "res.png"
    }
  }
}