• 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: SK <email@hidden>
  • Date: Fri, 16 Jul 2004 10:00:26 -0700

That worked perfectly. Thank you very much for your help. I think I just misinterpreted his examples a bit.

Thanks again,
Sean

------------------------------------------------------------------------ -----------------------
spk email@hidden
------------------------------------------------------------------------ -----------------------
"When we destroy something man has created we call it vandalism......
When we destroy something that Gaia has created we call it progress."
On Jul 16, 2004, at 09:15, Paul Berkowitz wrote:

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.
_______________________________________________
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.


References: 
 >Re: Record Access OSA by Ed email@hidden (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Record Access OSA by Ed email@hidden
  • Next by Date: How to script Safari to download a file
  • Previous by thread: Re: Record Access OSA by Ed email@hidden
  • Next by thread: Need an AppleScript way to do this shell script
  • Index(es):
    • Date
    • Thread