87 lines
2.0 KiB
JSON
87 lines
2.0 KiB
JSON
{
|
|
"id": "4188d3a4-077d-46b7-9c86-23e1a036f6c1",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Help me freeze the range A1:B1 on this sheet to keep the headers always visible",
|
|
"source": "https://www.libreofficehelp.com/freeze-unfreeze-rows-columns-ranges-calc/",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1pmTn-32BIwXOu2NXgQG7-PCRPaNL5bYN&export=download&authuser=0&confirm=t&uuid=13f1a8fd-997e-4364-a182-ad8768eaac6a&at=APZUnTUOM1rcgxy87qxR1Rkdwdor:1705895562093",
|
|
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/4188d3a4-077d-46b7-9c86-23e1a036f6c1",
|
|
"related_apps": [
|
|
"libreoffice_calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Freeze_row_column.xlsx - LibreOffice Calc",
|
|
"strict": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; pyautogui.hotkey(\"ctrl\", \"s\");"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "c:\\users\\chenj\\Freeze_row_column.xlsx",
|
|
"dest": "Freeze_row_column.xlsx"
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1oTsiIJFiAIFaTo320izMP7ml1RDCctgD&export=download&authuser=0&confirm=t&uuid=e3ec92c6-c2bf-4a7e-8e10-c8287350c9c6&at=APZUnTXEp-KV7bido8GcENfWIxME:1705895589811",
|
|
"dest": "Freeze_row_column_gold.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "freeze",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
},
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |