• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Record Access OSA by Ed email@hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Record Access OSA by Ed email@hidden
      • From: SK <email@hidden>
References: 
 >Re: Record Access OSA by Ed email@hidden (From: SK <email@hidden>)

  • Prev by Date: Re: Avoiding repetition
  • Next by Date: Re: Record Access OSA by Ed email@hidden
  • Previous by thread: Re: Record Access OSA by Ed email@hidden
  • Next by thread: Re: Record Access OSA by Ed email@hidden
  • Index(es):
    • Date
    • Thread