originalSong’s setFont_(current application’s NSFont’s fontWithName_size_(“Courier”, 12)) changes font and size.
How do I retain the existing size and only change the font?
originalSong’s setFont_(current application’s NSFont’s fontWithName_(“Courier”) does not work.
originalSong is the text view.
I want to force a monospace font into it but maintain the size my user chooses.
originalSong’s setFont_(current application’s NSFont’s fontWithName_size_(“Courier”, 12)) changes font and size is good for both but I only want to change the font.
Like the doctor ordered!
Thanks Shane
PS:
Where the hell is that info in the docs?
Is there a manual for AppleScriptObjC coding?
It would be much simpler if I could just read it instead of having to bother others.
Do you know?
Thanks for the lead to your book and your help to resolve this.
I feel I’ll finish writing my last app in ASOC and then move on to OC.
Tricky it may be but at least you have documentation.