mirrored 13 minutes ago
0
tsuky_chenfix multi apps f4ec36b
{
	"id": "bb83cab4-e5c7-42c7-a67b-e46068032b86",
	"snapshot": "libreoffice_impress",
	"instruction": "I want to convert an Impress file into a document editable in Writer. Simply place all the text from Impress into \"script.docx\" on the Desktop, and I'll handle the reformatting. Thank you!",
	"source": "authors",
	"config": [
		{
			"type": "download",
			"parameters": {
				"files": [
					{
						"path": "/home/user/Desktop/Unlocking-the-Power-of-ChatGPT.pptx",
						"url": "https://drive.usercontent.google.com/download?id=15JpEBadJeJXmkaMOMNHV5QjyVmuofQMB&export=download&authuser=0&confirm=t&uuid=308636e7-6d09-4b72-81df-cc791fc83d30&at=APZUnTV4I6P3uydAZJ-Ls1n_i8sK:1709558907727"
					}
				]
			}
		},
		{
			"type": "open",
			"parameters": {
				"path": "/home/user/Desktop/Unlocking-the-Power-of-ChatGPT.pptx"
			}
		}
	],
	"trajectory": "trajectories/bb83cab4-e5c7-42c7-a67b-e46068032b86",
	"related_apps": [
		"libreoffice_writer",
		"libreoffice_impress",
		"os"
	],
	"evaluator": {
		"postconfig": [
			{
				"type": "activate_window",
				"parameters": {
					"window_name": "script.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_files",
		"result": {
			"type": "vm_file",
			"path": "/home/user/Desktop/script.docx",
			"dest": "script.docx"
		},
		"expected": {
			"type": "cloud_file",
			"path": "https://drive.usercontent.google.com/download?id=1-Sol1W8S7Ybj-3KBJJarbcYUqS5wAQ1C&export=download&authuser=0&confirm=t&uuid=d967f546-b8f7-4ac2-b8fc-b1635f1cfbc4&at=APZUnTUazmbS2X3BSXDEQtJgobgf:1709559012053",
			"dest": "script_Gold.docx"
		}
	}
}