mirrored 10 minutes ago
0
rhythmcaofix Desktop path error, revise main.py and update google writer tutorial 8b42d69
{
  "id": "72f83cdc-bf76-4531-9a1b-eb893a13f8aa",
  "snapshot": "gimp",
  "instruction": "Please rotate my figure to mirror it horizontally.",
  "source": "https://www.youtube.com/watch?v=V3slJcft6Tw",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.google.com/uc?export=download&id=1bS4xGh8bhQVSuRCwFscYZO_xzymAJgM8",
            "path": "/home/user/Desktop/berry.png"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "gimp",
          "/home/user/Desktop/berry.png"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "gimp"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.hotkey([\"shift\", \"ctrl\", \"e\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.write(\"berry_mirror\");pyautogui.press([\"enter\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 2
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python3",
            "-c",
            "import pyautogui; pyautogui.press([\"enter\"]);"
          ]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 5
        }
      }
    ],
    "func": "check_image_mirror",
    "expected": {
      "type": "vm_file",
      "path": "/home/user/Desktop/berry.png",
      "dest": "berry.png"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/berry_mirror.png",
      "dest": "berry_mirror.png"
    }
  }
}