add libreoffice examples for windows

This commit is contained in:
tsuky_chen
2024-03-21 15:49:54 +08:00
parent 65823fcfab
commit 169a0a15ad
36 changed files with 148 additions and 891 deletions

View File

@@ -1,6 +1,6 @@
{
"id": "8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14",
"snapshot": "libreoffice_calc",
"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": [
@@ -9,7 +9,7 @@
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1_gyig5Vs3VOuvkjRoLt2ZpXBIyCZfUmV&export=download&authuser=0&confirm=t&uuid=ed113cdd-4279-454b-a66d-07447e31c818&at=APZUnTVztf5DcbF0DjLJitkpUUxt:1705920417565",
"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"
}
]
@@ -24,14 +24,14 @@
],
"trajectory": "trajectories/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14",
"related_apps": [
"libreoffice calc"
"excel"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Calendar_Highlight_Weekend_Days.xlsx - LibreOffice Calc",
"window_name": "Calendar_Highlight_Weekend_Days - Excel",
"strict": true
}
},
@@ -47,7 +47,7 @@
"command": [
"python",
"-c",
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"s\"); time.sleep(0.5); pyautogui.press(\"enter\");"
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"s\"); time.sleep(0.5);"
]
}
},
@@ -61,7 +61,7 @@
"func": "compare_table",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1URKsHvPdWDvB-qwsIZ-SqHAmiXaosXKW&export=download&authuser=0&confirm=t&uuid=849064c9-7402-48c5-87f6-e5c290e4bd24&at=APZUnTXarmqM0cO4I0z-Lv7MElzX:1705920495794",
"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": {