mirrored 5 minutes ago
0
TimothyxxxMinor fix on instruction of 81c425f5-78f3-4771-afd6-3d2973825947 b0854e5
{
	"id": "81c425f5-78f3-4771-afd6-3d2973825947",
	"snapshot": "libreoffice_calc",
	"instruction": "Can you assist me in transferring the data from LibreOffice Calc in the current sheet to a LibreOffice Writer table while preserving the original format as in calc file? Save the document as \"price.docx\" on the desktop.",
	"source": "authors",
	"config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"path": "/home/user/Desktop/OSP_Envelope_Price-List_2023_5000.xlsx",
						"url": "https://drive.usercontent.google.com/download?id=1tXhQ1aG0JMbp3Yz643QRCmJBCHKE_trr&export=download&authuser=0&confirm=t&uuid=b4441d6c-48ce-4d49-a8cb-9239e8e20d1a&at=APZUnTU-Ba8Vx0N8e1nuomP_-4mm:1709556978086"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/Desktop/OSP_Envelope_Price-List_2023_5000.xlsx"
			}
		}
	],
	"trajectory": "trajectories/81c425f5-78f3-4771-afd6-3d2973825947",
	"related_apps": [
		"libreoffice_writer",
		"libreoffice_calc",
		"os"
	],
	"evaluator": {
		"postconfig": [
			{
				"type": "activate_window",
				"parameters": {
					"window_name": "price.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);"
					]
				}
			}
		],
		"func": "compare_docx_tables",
		"result": {
			"type": "vm_file",
			"path": "/home/user/Desktop/price.docx",
			"dest": "price.docx"
		},
		"expected": {
			"type": "cloud_file",
			"path": "https://drive.usercontent.google.com/download?id=1KbdlQC0qSAYewG8QnZgParnSwv3s3dub&export=download&authuser=0&confirm=t&uuid=15dcc25c-8168-425e-96e1-fd27e0d6904b&at=APZUnTVho4ZrREHf9DC4rKwdIi3R:1709557117932",
			"dest": "price_Gold.docx"
		}
	}
}