{
  "id": "21760ecb-8f62-40d2-8d85-0cee5725cb72",
  "snapshot": "libreoffice_impress",
  "instruction": "Could you help me add slide transition \"dissolve\" to my first page?",
  "source": "https://www.libreofficehelp.com/add-animations-transitions-libreoffice-impress-slides/",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1A9nNj3hWBB0Bnr2Cf7zHs3WFiTKdEeNt&export=download&authuser=0&confirm=t&uuid=7c0f29fd-1f1a-4d48-b717-5c677373e615&at=APZUnTX9YQH_-UbVyFRLblwZ3rAn:1706530787330",
            "path": "/home/user/Desktop/Ch4 Video Effect.pptx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/Ch4 Video Effect.pptx"
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 0.5
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time;  time.sleep(4); pyautogui.doubleClick(x=960, y=540); time.sleep(0.5);pyautogui.mouseDown(); pyautogui.mouseUp(); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "libreoffice_impress"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Ch4 Video Effect.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": "check_transition",
    "expected": {
      "type": "rule",
      "rules": {
        "slide_idx": 0,
        "transition_type": "dissolve"
      }
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/Ch4 Video Effect.pptx",
      "dest": "Ch4 Video Effect.pptx"
    }
  }
}
