따라서 AppleScript Editor 에서 Command + R 로 거듭 실행하면 그때마다 값이 올라간다.
substitute()인용 :
property var : 0
on substitute()
set var to var + 1end substitute
return var
Hi there, with applescript you can declare variables as properties. this means that the value of the variable is not reset every time you restart a script but every time you recompile it. this offers a convenient way to store data.
레퍼런스 :
applescript property declaration
Basic AppleScript information and syntax - built-in basic events
No comments:
Post a Comment