73 lines
2.3 KiB
JSON
73 lines
2.3 KiB
JSON
{
|
|
"id": "5d901039-a89c-4bfb-967b-bf66f4df075e",
|
|
"snapshot": "ppt",
|
|
"instruction": "I want to turn the rectangular image of Columbus on the first page into a cover page. Could you help me stretch this image to fill the entire page, keeping its proportion and centering the image?",
|
|
"source": "https://superuser.com/questions/986776/how-can-i-stretch-an-image-in-a-libreoffice-impress-presentation-to-fill-the-pag",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1Y-MapQ2WrJoz0xcpLe3VZeK9VdN6hQ_1&export=download&authuser=0&confirm=t&uuid=dd374dbf-aa2d-4794-ab6a-822b0e759050&at=APZUnTX2Qh2kU65JKWhD0BsVtowm:1710927428289",
|
|
"path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/5d901039-a89c-4bfb-967b-bf66f4df075e",
|
|
"related_apps": [
|
|
"ppt"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "CPD_Background_Investigation_Process - PowerPoint",
|
|
"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_image_stretch_and_center",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1Y-MapQ2WrJoz0xcpLe3VZeK9VdN6hQ_1&export=download&authuser=0&confirm=t&uuid=dd374dbf-aa2d-4794-ab6a-822b0e759050&at=APZUnTX2Qh2kU65JKWhD0BsVtowm:1710927428289",
|
|
"dest": "CPD_Background_Investigation_Process_Original.pptx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx",
|
|
"dest": "CPD_Background_Investigation_Process.pptx"
|
|
}
|
|
}
|
|
} |