Try one of the regular keys like C or something. Also make sure F12 & whichever other key you use is a key released event. I don't have my mac mini handy for testing, so unfortunately I can't check myself. It's currently being used as a media box in the main lounge.
P.S: you can actually check which OS is running with a simple if query, so you could wrap the key events in conditions so that F12 works on PC & C (or whichever key) only works on the mac.
if getProperty("platform") == "win" then
Values["os"].Int = 1
elseif getProperty("platform") == "mac" then
Values["os"].Int = 2
end
Just add the script into the launch actions inside of an execute a script. Don't forget to create a value somewhere & name it "os". & here's an example of the action part usage...
if value "os" is 1
execute/call screenshot script...
end ifShould be enough to go on I think?
As for mac, I think it's recommended to use an actual mac keyboard. I know I had a few issues when I tried using a windows keyboard as the mac layout/input is different.