Is there a way to use Apple Script to control the brightness of a backlit keyboard on a Macbook?
Illuminated keys are F5and F6.
Edit:
Based on the assumption @Clark, I tried to follow, but it does not work.
NSAppleScript *run = [[NSAppleScript alloc] initWithSource:@"tell application \"System Events\" to key code 96"];
[run executeAndReturnError:nil];
Any suggestions?
David source
share