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.

2.4 KB
Raw Blame
{
  "id": "fcd3d211-80f9-53eg-bf85-c603529e65g5-1-WOS",
  "snapshot": "base_setup",
  "instruction": "My VLC player window automatically resizes and gets bigger than my screen for certain videos due to their resolution. Can you set up VLC to not automatically resize its native interface size?",
  "source": "https://superuser.com/questions/368743/how-to-prevent-vlc-from-automatically-resizing-its-window-according-to-viewed-co  OR all settings > main interface > Qt > uncheck Resize interface to native video size...",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vlc/fcd3d211-80f9-53eg-bf85-c603529e65g5-1-WOS/config/Interstellar%20Movie%20-%20Official%20Trailer.mp4",
            "path": "C:\\Users\\Docker\\Downloads\\Interstellar Movie - Official Trailer.mp4"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "vlc",
          "--start-time=120.5",
          "--stop-time=121",
          "--play-and-pause",
          "C:\\Users\\Docker\\Downloads\\Interstellar Movie - Official Trailer.mp4"
        ]
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 1
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Interstellar Movie - Interstellar Movie - Official Trailer - VLC media player"
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.click(500, 500); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vlc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "launch",
        "parameters": {
          "command": ["powershell", "-Command", "Stop-Process", "-Name", "vlc"]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 1
        }
      },
      {
        "type": "launch",
        "parameters": {
          "command": "vlc"
        }
      }
    ],
    "func": "check_qt_video_resize",
    "expected": {
      "type": "rule",
      "rules": {
        "qt-video-autoresize": 0
      }
    },
    "result": {
      "type": "vlc_config",
      "dest": "vlcrc"
    }
  }
}