mirrored 4 minutes ago
0
TimothyxxxFix Duplicate ids; Remove unused JSON files across multiple applications 2f0f3f3
{
    "id": "46407397-a7d5-4c6b-92c6-dbe038b1457b",
    "snapshot": "chrome",
    "instruction": "Help me export charts, graph or other images from docx files received in email \"Lecture Document\" in Notes folder and upload these png files to the figures/ folder in Google Drive for later use (use numbers to name them).",
    "source": "https://marketplace.uipath.com/listings/merge-pdfs-from-gmail-email-attachments-and-upload-to-gogle-drive",
    "config": [
        {
            "type": "googledrive",
            "parameters": {
                "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
                "operation": ["delete"],
                "args": [
                    {
                        "query": "title = 'figures' and 'root' in parents and mimeType = 'application/vnd.google-apps.folder'",
                        "trash": false
                    }
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
                "command": [
					"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
					"--remote-debugging-port=1337"
                ]
            }
        },
        {
            "type": "launch",
            "parameters": {
                "command": "ncat.exe -k -l 0.0.0.0 9222 --sh-exec \"ncat.exe 127.0.0.1 1337\"",
                "shell": true
            }
        },
        {
            "type": "chrome_open_tabs",
            "parameters": {
                "urls_to_open": [
                    "https://news.google.com",
                    "https://x.com"
                ]
            }
        },
        {
            "type": "login",
            "parameters": {
                "settings_file": "evaluation_examples/settings/google/settings.json",
                "platform": "googledrive"
            }
        },
        {
            "type": "download",
            "parameters": {
                "files": [
                    {
						"url": "https://drive.google.com/uc?id=1Yy-ZrkMq4pIQq1Y75bD2WVJXxHMTaMqE&export=download",
                        "path": "C:\\Users\\User\\thunderbird-profile.7z"
                    }
                ]
            }
        },
        {
            "type": "execute",
            "parameters": {
                "command": [
					"C:\\Program Files\\7-Zip\\7z.exe",
					"x", "C:\\Users\\User\\thunderbird-profile.7z"
                ]
            }
        },
		{
			"type": "execute",
			"parameters": {
				"command": "rd /s /q C:\\Users\\User\\AppData\\Roaming\\Thunderbird",
				"shell": true
			}
		},
		{
			"type": "execute",
			"parameters": {
				"command": "move C:\\Users\\User\\Thunderbird C:\\Users\\User\\AppData\\Roaming\\Thunderbird",
				"shell": true
			}
		},
        {
            "type": "launch",
            "parameters": {
                "command": [
                    "C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe"
                ]
            }
        }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
        "thunderbird",
        "chrome"
    ],
    "evaluator": {
        "func": "compare_image_list",
        "result": {
            "type": "googledrive_file",
            "settings_file": "evaluation_examples/settings/googledrive/settings.yml",
            "query_list": [
                [
                    "title = 'figures' and trashed = false and 'root' in parents and mimeType = 'application/vnd.google-apps.folder'",
                    "title = '1.png' and trashed = false"
                ],
                [
                    "title = 'figures' and trashed = false and 'root' in parents and mimeType = 'application/vnd.google-apps.folder'",
                    "title = '2.png' and trashed = false"
                ],
                [
                    "title = 'figures' and trashed = false and 'root' in parents and mimeType = 'application/vnd.google-apps.folder'",
                    "title = '3.png' and trashed = false"
                ]
            ],
            "dest": [
                "1.png",
                "2.png",
                "3.png"
            ]
        },
        "expected": {
            "type": "cloud_file",
            "path": [
                "https://drive.usercontent.google.com/download?id=19J5tzWjx9hdo-n0MC3upzAntVMa8WUgk&export=download&authuser=0&confirm=t&uuid=be790579-8db9-4bd2-a757-beb27af386af&at=APZUnTVM2PjNDXhlwFZ6WAFdNVsD:1706497547717",
                "https://drive.usercontent.google.com/download?id=1S04RpR5dk80LylIYGvA4e3sAUBd6wdlQ&export=download&authuser=0&confirm=t&uuid=b302de03-04f7-455c-ab0c-b3cbbeb6929a&at=APZUnTVD8zMZGO1_GWaFUm1cNXul:1706497555463",
                "https://drive.usercontent.google.com/download?id=11NRLh93RTzEd0Cy-cYwMyNJSFG7-vP9c&export=download&authuser=0&confirm=t&uuid=02500115-dea3-481a-af4f-a723d9a62169&at=APZUnTW9-gENlsyfdIPA4PTA0emh:1706497560874"
            ],
            "dest": [
                "1_gold.png",
                "2_gold.png",
                "3_gold.png"
            ],
            "multi": true,
            "gives": [0, 1, 2]
        }
    }
}