Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JasonZ

macrumors newbie
Original poster
Aug 28, 2010
2
0
Is it possible to save changes made to a variable from run to run? For example have a certain set of code only run the first time you execute the script?
 

larkost

macrumors 6502a
Oct 13, 2007
534
1
AppleScript technically has something that will do it: OSAStore and OSALoad, but I would recommend relying on this and read/write this in a more conventional way from a file.
 

JasonZ

macrumors newbie
Original poster
Aug 28, 2010
2
0
Im sorry but im lost... I have no idea how to do what either of you suggested... :confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.