{ "id": "8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14", "snapshot": "excel", "instruction": "Given a partial calendar, please highlight all the weekends (Satureday & Sunday) by setting the cell background as red (#ff0000).", "source": "https://www.youtube.com/shorts/Hbcwu6IQ1ns", "config": [ { "type": "download", "parameters": { "files": [ { "url": "https://drive.usercontent.google.com/download?id=1c55moKFHcD4Kw6jhB0HBOBfKw3dMhjeN&export=download&authuser=0&confirm=t&uuid=4be83beb-098c-4d4d-83b6-47fa32d733bf&at=APZUnTX__VvEkeKpNauUDdEkLGwW:1710920293517", "path": "C:\\Users\\chenj\\Calendar_Highlight_Weekend_Days.xlsx" } ] } }, { "type": "open", "parameters": { "path": "C:\\Users\\chenj\\Calendar_Highlight_Weekend_Days.xlsx" } } ], "trajectory": "trajectories/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14", "related_apps": [ "excel" ], "evaluator": { "postconfig": [ { "type": "activate_window", "parameters": { "window_name": "Calendar_Highlight_Weekend_Days - Excel", "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_table", "expected": { "type": "cloud_file", "path": "https://drive.usercontent.google.com/download?id=10olq6kYly1dFcDYcuDUyKZ7Aiub2DQ8Y&export=download&authuser=0&confirm=t&uuid=f4c79d78-bf2e-47ae-861b-caff487a6363&at=APZUnTXbyHCxDYsZ9h-CvRxjDREh:1710920367505", "dest": "Calendar_Highlight_Weekend_Days_gold.xlsx" }, "result": { "type": "vm_file", "path": "C:\\Users\\chenj\\Calendar_Highlight_Weekend_Days.xlsx", "dest": "Calendar_Highlight_Weekend_Days.xlsx" }, "options": { "rules": [ { "type": "sheet_data", "sheet_idx0": 0, "sheet_idx1": "EI0" }, { "type": "style", "sheet_idx0": 0, "sheet_idx1": "EI0", "props": [ "bgcolor" ] } ] } } }