Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.9 KB
Raw Blame
{
  "id": "f178a4a9-d090-4b56-bc4c-4b72a61a035d-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "Make Times New Roman the default Font",
  "source": "https://ask.libreoffice.org/t/how-do-i-make-times-new-roman-the-default-font-in-lo/64604",
  "_comments": "Tools > Options > LibreOffice Writer > Basic Fonts (Western) and change Liberation Serif to Times New Roman for each instance Default",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/f178a4a9-d090-4b56-bc4c-4b72a61a035d-WOS/config/loa-one-time-submission-sealand.docx",
            "path": "C:\\Users\\Docker\\Downloads\\loa-one-time-submission-sealand.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\loa-one-time-submission-sealand.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "loa-one-time-submission-sealand.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": "find_default_font",
    "expected": {
      "type": "rule",
      "rules": {
        "font_name": "Times New Roman"
      }
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\AppData\\Roaming\\LibreOffice\\4\\user\\registrymodifications.xcu",
      "dest": "registrymodifications.xcu"
    }
  }
}