• 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: NSSavePanel oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel oddity


  • Subject: Re: NSSavePanel oddity
  • From: Craig Williams <email@hidden>
  • Date: Sun, 17 Jan 2010 19:40:24 -0700


On Jan 17, 2010, at 7:32 PM, John C. Welch wrote:

Okay, so something's not right here.

I've managed to figure out NSSavePanel a bit. I create the save panel, set the message, allowed file types, extension hidden, allows other file types, all this is working okay. Even managed to beat it through my skull that for bools, I need to use 1 and 0 not YES and NO no matter what the nice examples say. Life is good, even though at times, runModal() can take a while (ten seconds or more) to finally pop the dialog.


Is there something I’m missing about setNameFieldStringValue? (I hope it’s not the bloody STring typo, because I compiled and saved it once that way, and as we all know, AppleScript will never, ever let me fix that. So if it’s that, I’m rather buggered.)

Yes, Objective-C method names are case sensitive.
You can put pipes around the name to get it to change to the correct case.

|setNameFieldStringValue_|("File.txt")

Regards,

Craig
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSSavePanel oddity
      • From: "John C. Welch" <email@hidden>
References: 
 >NSSavePanel oddity (From: "John C. Welch" <email@hidden>)

  • Prev by Date: NSSavePanel oddity
  • Next by Date: Re: NSSavePanel oddity
  • Previous by thread: NSSavePanel oddity
  • Next by thread: Re: NSSavePanel oddity
  • Index(es):
    • Date
    • Thread