Re: NSSavePanel oddity
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")
|
_______________________________________________
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