• 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: How do I save an array in plist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I save an array in plist?


  • Subject: Re: How do I save an array in plist?
  • From: Brian Christmas <email@hidden>
  • Date: Fri, 30 Nov 2012 17:44:39 +1100

Yes, definitely thanks Ron

I'm going to try and re-install Xcode, but there's a App Store error ATM.

Regards

Santa


On 30/11/2012, at 4:57 PM, Ronald Hofmann <email@hidden> wrote:

is 
on applicationWillFinishLaunching_(aNotification) 

firing at all in your project?

Greetings, Ronald
---

Am 30.11.2012 um 07:15:46 schrieb Brian Christmas <email@hidden>:

Thanks Shane & Ron, but there's something funny going on.

I've copied and pasted the code from Shane's book, restarted Xcode, & re-booted, but I still can't get the code below to add to the pList file.

I'm confused!

Regards

Santa

on applicationWillFinishLaunching_(aNotification)
-- Insert code here to initialize your application before any files are opened
tell current application's NSUserDefaults to set defaults to standardUserDefaults()
        tell defaults to registerDefaults_({bottomButtonChoice:3, bottomText:"Default text"})
        #tell  defaults to registerDefaults_({saveLocalftpArchive:true})#,messagesTop:{{theGraphClient:"Email list"}}
        tell defaults to set SaveLocalftpArchiveOnServer to objectForKey_("saveLocalftpArchive")
        tell defaults to set messagesTopText to objectForKey_("messagesTop") 
        set my messagesBottomtext to "Mail Manager is Running Normally"
        tell windowMain to displayIfNeeded()
        set my buttonStandbyFlag to false
my buttonStandby's setTitle_("Standby for " & theMinutesToStop & " minutes.")
        my displayData()
my setftpButton()
        my runMM()
end applicationWillFinishLaunching_


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >How do I save an array in plist? (From: Brian Christmas <email@hidden>)
 >Re: How do I save an array in plist? (From: Shane Stanley <email@hidden>)
 >Re: How do I save an array in plist? (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: How do I save an array in plist?
  • Next by Date: Re: How do I save an array in plist?
  • Previous by thread: Re: How do I save an array in plist?
  • Next by thread: Re: How do I save an array in plist?
  • Index(es):
    • Date
    • Thread