I'm trying to set a variable using AppleScript from automator:
do shell script "launchctl setenv LASTMAX \"" & today & "\""
I have a variable today that i want to assign to the variable LASTMAX
but when i check the property with echo $LASTMAX i keep getting the initial value, even after i reboot.
How can i set variables with AppleScript?
Is there a different way to store persistant variables with automator?
Thanks!