3 ms·
In AppleScript you can mark a variable as a property, and then its value is automatically remembered across runs. For example a script can easily remember how m
by ridiculous_fish 4y ago
In AppleScript you can mark a variable as a property, and then its value is automatically remembered across runs. For example a script can easily remember how many times it has run:
property runCount : 0
set runCount to runCount + 1
So natural to use!
https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_variables.html#//apple_ref/doc/uid/TP40000983-CH223-SW2 https://developer.apple.com/library/archive/documentation/Ap...
- nathancahill 4y agoI feel like AppleScript could have really shown if things had played out differently in Mac OS automation. I learned to code with AppleScript on OS 9 and it really got me in to programming. MacScripter.net was my old hangout. Good times.