67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"id": "0b17a146-2934-46c7-8727-73ff6b6483e8",
|
|
"snapshot": "libreoffice_writer",
|
|
"instruction": "Help me change the 2 in \"H2O\" to a subscript.",
|
|
"source": "https://askubuntu.com/questions/245695/how-do-you-insert-subscripts-and-superscripts-into-ordinary-non-formula-text-i",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1FkorQBeTJ5L2jLuvu4YxHSlBMK4VEEG6&export=download&authuser=0&confirm=t&uuid=cc63dc0b-bae7-4ef6-a40d-e2da721976ef&at=APZUnTWyPZlZPFlqGTWAWXWmS04c:1704976667765",
|
|
"path": "C:\\Users\\chenj\\H2O_Factsheet_WA.docx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\chenj\\H2O_Factsheet_WA.docx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"libreoffice_writer"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "H2O_Factsheet_WA.docx - LibreOffice Writer",
|
|
"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); pyautogui.press(\"enter\");"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_docx_files",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\H2O_Factsheet_WA.docx",
|
|
"dest": "H2O_Factsheet_WA.docx"
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1dM_FSTGDWxSW64VEth_wKMYNkvw0y_tq&export=download&authuser=0&confirm=t&uuid=342f41e2-f48f-41ff-8942-f7dfe5de1dba&at=APZUnTXHfskcX3tvmrSbzCOyQIgb:1704976694506",
|
|
"dest": "H2O_Factsheet_WA_Gold.docx"
|
|
}
|
|
}
|
|
} |