VZVirtualMachineView window and system function keys

HI, I am trying to send system function keys like F10, F11 to VzVirtualMachineView window and it is not registering system assigned function keys. The function keys that are not assinged by mac are being send correctly. Is there a way i can send system assigned function keys to VZVirtualMachineView Window?

Thanks and Regards

Have you tried riffing off the technique you described in your earlier thread?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Oh, before you do that, can you try with the capturesSystemKeys property set, just in case that changes this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Oh, before you do that, can you try with the capturesSystemKeys FYI : I have already set this to true.

I have already set this to true.

OK.

I’d like to clarify the actual goal here. On macOS function keys behave [1] in one of two different ways:

  • Without the fn modifier, the function keys perform built-in actions. For example, pressing F10 on my MacBook Pro perform a mute action.
  • With the fn modifier, the function keys generate traditional function key events. For example, pressing fn + F10 generates an F10 function key event.

Which of these are you trying to route to the guest?

Also, you specifically called out F10 and F11. Were those just examples? Or are you seeing different behaviours for different function keys?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] You can reverse these two options with System Settings > Keyboard > Keyboard Shortcuts > Function Keys > Use F1, F2, etc. keys as standard function keys. Wow, we really buried that one deep (-:

my goal is to prvoide a browser based remote control solution for VZVirtualMahineView. So that user can connect to vms from anywhere. i am almost done with this.

I think i have to live with this limitation Every web-based remote desktop solution (VNC web clients, NoMachine web, etc.) has this exact same limitation.

the mac os host assigned shortcuts takes precedence over web browser key press event. we cant do anything about this.

pressing the fn key with f1, f2, f3 sends key codes correctly. there is no probem with this. if it is reserved by mac os(ex. cmd + space, F11 etc) it takes precedance over browser.

we have to live with this limitation. thanks for your help so far.

VZVirtualMachineView window and system function keys
 
 
Q