plist files

Mac OS X is creating .plist files in my ~/Library/Preferences folder for AppleScripts saved as applications that use the “Choose” command, (choose file or choose folder). A similar issue was happening in the first release of Mac OS X 10.2, it was fixed in 10.2.1 see Mac OS X Hints. To test it just save the script below script as an application to your desktop then double click it and choose a folder.

choose folder

Naming it will cause it to go to the top of the list in List View of the Preferences folder, making it easier to find. The file will be named “”.
I’m not sure if this is a bug or a feature, I’ve noted that when using 'Choose Folder" in a script, that the script always remembers which folder was chosen on the last run and gives you the option of selecting that folder as the default folder on the next run of the script. But this means that by using the “Choose” command in a script that it is writing to a .plist file everytime it is run, hmmm.

I’ve noticed this too. I don’t mind that it happens for scripts that I use regularly (I consider it a feature), but I don’t like it when it happens on every script that I write for test purposes only (I consider it a bug). :rolleyes:

– Rob