mirrored 3 minutes ago
0
rhythmcaofix Desktop path error, revise main.py and update google writer tutorial 8b42d69
{
    "id": "a746add2-cab0-4740-ac36-c3769d9bfb46",
    "snapshot": "gimp",
    "instruction": "Help me open up the Vignette filter window.",
    "source": "https://www.youtube.com/watch?v=_L_MMU22bAw",
    "config": [
        {
            "type": "download",
            "parameters": {
                "files": [
                    {
                        "url": "https://drive.google.com/uc?export=download&id=1IQPiNT6Vmd0YO0OytaB8lb_Dvo1mCGnP",
                        "path": "/home/user/Desktop/dog_with_background.png"
                    }
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
                "command": [
                    "gimp",
                    "/home/user/Desktop/dog_with_background.png"
                ]
            }
        }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
        "gimp"
    ],
    "evaluator": {
        "postconfig": [
			{
				"type": "execute",
				"parameters": {
					"command": [
						"python3",
						"-c",
						"import pyautogui; pyautogui.press([\"esc\"]);pyautogui.hotkey([\"ctrl\", \"q\"]);"
					]
				}
			},
			{
				"type": "sleep",
				"parameters": {
					"seconds": 0.5
				}
			}
		],
        "func": "check_config_status",
        "expected": {
            "type": "rule",
            "rules": {
                "type:": "key-value",
                "key": ["history-item", "\"filters-vignette\""],
                "value": "1"
            }
        },
        "result": {
            "type": "gimp_config_file",
            "file_name": "action-history",
            "dest": "action-history"
        }
    }
}