mirrored 20 minutes ago
0
tsuky_chenminor fix 2f87aae
{
  "id": "d53ff5ee-3b1a-431e-b2be-30ed2673079b",
  "snapshot": "libreoffice_writer",
  "instruction": "I am currently engaged in text processing and require assistance in converting all uppercase text to lowercase within my document. This precision is critical for maintaining a uniform and polished presentation. Could you help me on this?",
  "source": "https://ask.libreoffice.org/t/how-to-convert-all-uppercase-to-lowercase/53341",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.google.com/uc?id=1j6Gx6KCxA9Cp-TE1uZ5lKcTSKVRPW-CB&export=download",
            "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "libreoffice_writer"
  ],
  "evaluator": {
    "func": "compare_docx_files",
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "presentation_instruction_2023_Feb.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); "
          ]
        }
      }
    ],
    "expected": {
      "type": "cloud_file",
      "path": "https://drive.google.com/uc?id=1bB1N2TWN0puZ6DwUFS_TDjvRWchaGP9T&export=download",
      "dest": "presentation_instruction_2023_Feb_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx",
      "dest": "presentation_instruction_2023_Feb.docx"
    }
  }
}