Re: Storing preferences...
Re: Storing preferences...
- Subject: Re: Storing preferences...
- From: Philip Aker <email@hidden>
- Date: Tue, 27 Aug 2002 21:22:18 -0700 (PDT)
- Composer: Philip Aker
I think you can use:
do shell script "defaults read ...."
and
do shell script "defaults write..."
Cheers,
Philip Aker
www.aker.ca
On Tue, 27 Aug 2002, Jim Burton wrote:
}Working with OSX -- and it's a relatively simple script, and I really
}only need to store two items, so I'd prefer to stay away from Studio.
}
}On Tuesday, August 27, 2002, at 09:09 PM, Jaime Magiera wrote:
}
}> Are you working with Script Editor or ASS? OS 9 or X?
}>
}> If OSX/ASS, I'd start looking at the PLIST/XML avenues. I use them for
}> my apps. It's very efficient and best of all it's portable. Some of
}> this requires Cocoa code, but not very much. Also, using Cocoa will
}> give you access to NSUserdefaults().
}>
}> take with a grain of salt,
}>
}> Jaime
}>
}> On Tuesday, August 27, 2002, at 10:12 PM, Jim Burton wrote:
}>
}>> Anyone have any pointers for the best way to store a user's
}>> preferences in an Applescript?
}>> _______________________________________________
}>> applescript-users mailing list | email@hidden
}>> Help/Unsubscribe/Archives:
}>>
http://www.lists.apple.com/mailman/listinfo/applescript-users
}>> Do not post admin requests to the list. They will be ignored.
}_______________________________________________
}applescript-users mailing list | email@hidden
}Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
}Do not post admin requests to the list. They will be ignored.
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.