70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"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://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/gimp/a746add2-cab0-4740-ac36-c3769d9bfb46/dog_with_background.png",
|
|
"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"
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |