Avoiding a stupid mistake

RM richmondmathewson at gmail.com
Sun May 22 12:00:02 EDT 2016

Ha, Ha, Ha: I'm sure that everybody is dumb enough to do that at least once.

I know that I, being extra skilled, have done it (deleting things 
accidentally)  . . . at least . . . oh, dear, I seem to have run out of 
fingers and toes.

Deleting anything may lead to regrets later: hence  I have about 6 1 
terabyte hard drives in external containers containing
stuff going back to 1993.

This also points out the limitations of 'transparent' cross-platform 


On 22.05.2016 18:31, Graham Samuel wrote:
> Just for general interest -
> I wanted to delete the Preferences folder for an app I’m working on, so I scripted a button as follows:
>     get specialFolderPath("preferences")
>     revdeletefolder it
> What I’d forgotten was that on the Mac version, my preferences were not in a folder dedicated to my app, but just stored in a folder called ‘Preferences’ with all the preferences of all other apps for my whole library! So the result of pressing this button was to delete all the preferences from the machine! Luckily Time Machine came to my aid… but the point is, nothing stopped my script from executing.
> Of course nobody else would be dumb enough to do this, but just in case…
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list