Cambiar la apariencia de tu Mac desde AppleScript
Hace unos días comencé a programar en AppleScript, con esta excelente herramienta puedes automatizar hasta las tareas más inimaginables.
En seguida les presento uno de mis primeros scripts que a pesar de no ser tan útil es bastante divertido.
El objetivo de este es cambiar la apariencia del ambiente de la Mac: blue o graphite.
View CodeAPPLESCRIPT | |
1 2 3 4 5 6 7 8 9 10 11 12 | tell application "System Events" tell appearance preferences set the actualProps to get properties set the currentAppearance to appearance of actualProps if currentAppearance = blue then set properties to {appearance:graphite} else set properties to {appearance:blue} end if end tell end tell |
No comments yet. Be the first.
Leave a reply


Suscribete por correo