mirrored 13 minutes ago
0
TimothyxxxFix typos and examples in libreoffice_writer examples 1610358
{
  "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": "/home/user/Desktop/H2O_Factsheet_WA.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/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); "
          ]
        }
      }
    ],
    "func": [
      "compare_docx_files",
      "compare_subscript_contains"
    ],
    "result": [
      {
        "type": "vm_file",
        "path": "/home/user/Desktop/H2O_Factsheet_WA.docx",
        "dest": "H2O_Factsheet_WA.docx"
      },
      {
        "type": "vm_file",
        "path": "/home/user/Desktop/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"
      },
      {
        "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"
      }
    ]
  }
}