Re: String to list conversion
Re: String to list conversion
- Subject: Re: String to list conversion
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 14 Sep 2004 10:51:52 -0700
On 9/14/04 10:44 AM, "Robert Poland" <email@hidden> wrote:
>> On 9/14/04 8:57 AM, "Emmanuel" <email@hidden> wrote:
>>
>>> At 7:58 AM -0700 14/09/04, Paul Berkowitz wrote:
>>>>
>>>> Do you know where the default values for AS formats are stored?
>>>
>>> Sorry, no.
>>>
>>> Why would you want to know that?
>>
>> So that Gnarlie (who asked the question in the first place) will know how to
>> populate her default list for when the user's .plist is empty of AppleScript
>> formatting entries. It may not be the only way of doing things - I guess she
>> can just figure it out from the UI for AS Format prefs - but it would have
>> been quicker to just fetch them from somewhere, if available. I had wondered
>> whether maybe you knew where this was in order to write your own "AS format"
>> commands in Smile. Since I asked you, Chris N. has replied that "Hopefully,
>> Smile is using the API to get the styles, so it doesn't have to know where
>> they're stored." If that's correct, what API is he referring to? Chris's
>> other statement that the defaults are currently "hardcoded" (presumably in
>> the AppleScript.component somewhere) would mean they'd be inaccessible to
>> ordinary users and scripters. These APIs would be Carbon routines to get
>> inside the component?
>>
>> --
>> Paul Berkowitz
>
> Would the AppleScriptFormatting.osax be useful here?
If you're in OS 8 or 9, yes. Otherwise no. All of us participating in the
discussion so far - including the person who started it off using a 'do
shell script' which is available only in OS X - are in OS X.
Not only is the AppleScriptFormatting.osax no longer viable or in place in
OS X, but the formatting defaults are very different - and also changed
between OS 10.2 and 10.3.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden