Re: Record Access OSA by Ed email@hidden
Re: Record Access OSA by Ed email@hidden
- Subject: Re: Record Access OSA by Ed email@hidden
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 16 Jul 2004 09:15:22 -0700
On 7/16/04 8:35 AM, "SK" <email@hidden> wrote:
>
The only thing I wasn't really aware of since I just started recently
>
was the difference between the classic and OS X osa files. It doesn't
>
seem to say on MacScripter which environment an osa file is for. Some
>
people on the list pointed me towards the new List and Record Tools
>
from Late Night Software, unfortunately it doesn't do the one thing
>
Record Access seemed to do that I need, which is the ability to
>
determine what all the keys are in a record after I read that record in
>
from a property file.
Are you quite sure about that? Of course, you also need the "Property List
Tools" osax from LNS.
set rec to read property list alias ((path to preferences folder as
Unicode text) & "com.apple.helpviewer.plist")
set recLabels to get user property names rec
--> {"WebKitJavaEnabled", "WebKitPluginsEnabled",
"WebIconDatabaseDirectoryDefaultsKey", "NSRecentDocumentRecords",
"WebKitDisplayImagesKey", "WebKitJavaScriptCanOpenWindowsAutomatically",
"WebKitUserStyleSheetEnabledPreferenceKey",
"WebKitAllowAnimatedImageLoopingPreferenceKey",
"WebKitAllowAnimatedImagesPreferenceKey", "WebKitDefaultFixedFontSize",
"WebKitDefaultFontSize", "WindowFramerLastWindowFrameKey",
"WebKitJavaScriptEnabled", "NSToolbar Configuration HelpViewer"}
>
At this point, I'll just have to take another approach until such an
>
option exists or becomes evident.
Try it.
--
Paul Berkowitz
_______________________________________________
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.