utmapp / utmapp/UTM

MacOS: AppleScript support for UTM to minimize UTM window

Open
#4,089 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

It looks like UTM for macOS does not have AppleScript support.
I'm opening UTM and a VM with a bash script (open://utm...) and want to minimize the VM window with bash. I thought of AppleScript (osascript) using this as a test:
```
tell application "UTM"
set miniaturized of window 1 to true
end tell
```
This results in an error (no properties found for UTM).

Is there any other way to minimize UTM (or start minimized)?
If not, could the "miniaturized" property for AppleScript be added to UTM for macOS?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.