Add human operation time log
This commit is contained in:
@@ -4,11 +4,23 @@
|
||||
"instruction": "Could you assist me in adding a new layer and naming it 'Square'?",
|
||||
"source": "https://www.quora.com/How-do-I-add-layers-in-GIMP",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1CqcNw_8O0VeLuD0VkVTgDHOoUMFQNOXN",
|
||||
"path": "~/Desktop/white_background.xcf"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp"
|
||||
"gimp",
|
||||
"~/Desktop/white_background.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -18,13 +30,31 @@
|
||||
"gimp"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"python3",
|
||||
"-c",
|
||||
"import pyautogui; pyautogui.hotkey([\"ctrl\", \"q\"]);"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sleep",
|
||||
"parameters": {
|
||||
"seconds": 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"func": "check_config_status",
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"type:": "key-value",
|
||||
"key": "layer-new-name",
|
||||
"value": "Square"
|
||||
"value": "\"Square\""
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
|
||||
Reference in New Issue
Block a user