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": "0e763496-b6bb-4508-a427-fad0b6c3e195",
"snapshot": "libreoffice_writer",
"snapshot": "word",
"instruction": "Change the font to \"Times New Roman\" throughout the text.",
"source": "https://ask.libreoffice.org/t/how-do-i-change-the-font-for-the-whole-document-in-writer/9220",
"config": [
@@ -24,14 +24,14 @@
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
"word"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Dublin_Zoo_Intro.docx - LibreOffice Writer",
"window_name": "Dublin_Zoo_Intro - Word",
"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(5);"
]
}
}