My AppleScript works when I am just using my MacBook Pro Retina, however if i have my Thunderbolt Display attached the script does not work.
Here is the script which works perfectly on just the laptop:
######## turn screen bright repeat 25 times tell application "System Events" key code 113 end tell end repeat
Terminal will display this if i am running on the Thunderbolt Display:
Does any one know the key code to adjust brightness on the Thunderbolt Display or where I may find it?
Thanks in advance