Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Use an auto-generated plist file with AppleScript System 10.4
While helping out in this thread on the AppleScript.net site, wheerin the original poster wanted to store some prefs in an AppleScript application, I discovered that when I ran the app which would write to a homemade .plist file, I noticed a second file in the user's Preferences folder.

This second .plist file turned out to be an automatically-created plist file, generated by the system. It had entries for recent items and some more odds and ends.

So now when you need to write out to a plist from an AppleScript application, you can use this prefs file to write to. This example from the thread shows how it works.

[robg adds: The test script seems to work, but this is probably of the most use to the dedicated AppleScript programmers out there, as opposed to the occasional muddlers like myself.]
    •    
  • Currently 3.20 / 5
  You rated: 3 / 5 (5 votes cast)
 
[8,545 views]  

10.4: Use an auto-generated plist file with AppleScript | 3 comments | Create New Account
Click here to return to the '10.4: Use an auto-generated plist file with AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bad link?
Authored by: inik on Jul 10, '06 08:11:21AM

The referenced MacScripter thread doesn't seem at all related. How strange.



[ Reply to This | # ]
10.4: Use an auto-generated plist file with AppleScript
Authored by: mark hunte on Jul 10, '06 10:52:40AM
10.4: Use an auto-generated plist file with AppleScript
Authored by: mark hunte on Jul 14, '06 02:15:37AM

Rob kindly fixed the link to the correct one.



---
mh



[ Reply to This | # ]