Re: Choose Font
Re: Choose Font
- Subject: Re: Choose Font
- From: Luther Fuller <email@hidden>
- Date: Mon, 31 Mar 2008 09:06:42 -0500
On Mar 30, 2008, at 9:44 PM, Philip Aker wrote:
On 08-03-30, at 15:33, Luther Fuller wrote:
I needed a way for a user to set fontName and fontSize preferences
in a script. Many applications have a font dialog to do this and
they all look very similar. Have I overlooked such a dialog in the
StandardAdditions osax? So I looked ... it's not there!
Time for you to move on over to AppleScript Studio Luther.
If only AppleScript Studio had a 'run' handler. I've looked in all
the Studio documentation ... it's not there.
On Mar 30, 2008, at 9:49 PM, Ed Stockly wrote:
If I understand the question, this would give you the font names
for whatever font families you provide.
---------
set postScriptNames to FontsToUse({"Courier", "Courier New",
"American Typewriter"})
choose from list postScriptNames
In the belief that simple is better, I've used ...
choose from list {"Andale Mono", "Courier", "Courier New",
"Monaco"} ...
Only fixed-width fonts are useful in my current application. But, if
I needed something more general in the future, it would be nice to
have a 'choose font' command.
_______________________________________________
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