/
OS-World2f0f3f3
{
"id": "455d3c66-7dc6-4537-a39a-36d3e9119df7",
"snapshot": "ppt",
"instruction": "Could you help me export the PowerPoint file to a .png image file and save it as res.png at the same position as the file? ",
"source": "https://stackoverflow.com/questions/75626383/how-export-libreoffice-impress-to-image",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1jrzNIGxiasIXHSc0rNlrdKr4nASGiolw&export=download&authuser=0&confirm=t&uuid=a00d2846-65fb-4db0-9763-c750e0c336c6&at=APZUnTXpm9eCM4cFu09MkeVQns7b:1710936041868",
"path": "C:\\Users\\User\\wssf-project-plan-on-a-page.pptx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "C:\\Users\\User\\wssf-project-plan-on-a-page.pptx"
}
}
],
"trajectory": "trajectories/455d3c66-7dc6-4537-a39a-36d3e9119df7",
"related_apps": [
"ppt"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "wssf-project-plan-on-a-page - 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": "compare_images",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1C5-lKdzpC3Y8dvdXj84fymPtlqLN0FR-&export=download&authuser=0&confirm=t&uuid=a12f0635-839e-4196-bbae-7ec754f95c94&at=APZUnTVsrVGYT7WvkhkMUej5v9fz:1710942950188",
"dest": "res_gold.png"
},
"result": {
"type": "vm_file",
"path": "C:\\Users\\User\\res.png",
"dest": "res.png"
}
}
}