Skip to content

Instantly share code, notes, and snippets.

View clemone210's full-sized avatar

Timo clemone210

  • Trier, Germany
  • 15:26 (UTC +02:00)
View GitHub Profile
@JurajNyiri
JurajNyiri / utm_pass_usb_device
Last active November 6, 2023 09:26
UTM Pass USB Device via apple script
#---- MODIFY BELOW ----#
set application_name to "Home Assistant" # Set to your UTM VM Name
set button_name to "USB" #Description of the button, can be found by using Accessibility Inspector from Xcode, you probably want this set to "USB"
set usb_select to "Conbee" #Name of the device you wish to pass to VM
#---- MODIFY ABOVE ----#
#---- APPLICATION CODE, DO NOT TOUCH BELOW----#
set foundVM to false
repeat while foundVM = false