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": "3ef2b351-8a84-4ff2-8724-d86eae9b842e",
"snapshot": "libreoffice_writer",
"snapshot": "word",
"instruction": "Help me center align the heading in LibreOffice.",
"source": "https://askubuntu.com/questions/1066351/how-do-you-center-align-in-libreoffice#:~:text=Ctrl%20%2B%20e%20will%20Center%20align%20the%20cursor%20for%20you.",
"config": [
@@ -24,14 +24,14 @@
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
"word"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Constitution_Template_With_Guidelines.docx - LibreOffice Writer",
"window_name": "Constitution_Template_With_Guidelines - 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);"
]
}
}