Re: Cannot set Japanese (non-Roman) font in Powerpoint
Re: Cannot set Japanese (non-Roman) font in Powerpoint
- Subject: Re: Cannot set Japanese (non-Roman) font in Powerpoint
- From: "Scott Babcock" <email@hidden>
- Date: Fri, 28 Oct 2005 14:55:43 -0700
- Thread-topic: Cannot set Japanese (non-Roman) font in Powerpoint
Oops! That's what I get for not reading a post carefully enough. Paul is
correct about VBA and its inability to handle Unicode. If you have
PowerPoint 2004, you can use its AppleScript dictionary to set the text
of the combo box directly:
-- create "Pro W3" font name string
set fontName to (<data utxt30D230E930AE30CE89D230B4> as Unicode
text) & " Pro W3"
tell application "Microsoft PowerPoint"
set combobox text of command bar combobox 1 of command bar
"Formatting" to fontName
end tell
I don't know of any reliable way to set this in VB.
> Date: Fri, 28 Oct 2005 10:27:44 -0700
> From: Paul Berkowitz <email@hidden>
> Subject: Re: Cannot set Japanese (non-Roman) font in Powerpoint
> To: Scott Babcock <email@hidden>, AppleScript-Users
> <email@hidden>
> Message-ID: <BF87ADA0.B6D59¾email@hidden>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> On 10/28/05 10:01 AM, "Scott Babcock" <email@hidden> wrote:
>
> > In your non-JPN environment, you have to use some other
representation.
> In
> > order to ensure that translation issues don't muddle the following
> example,
> > I'm using "<<" and ">>" to represent the guillemet characters. You
> create
> > these by typing <option-\> and <option-shift-\>.
>
> Hi, Scott
>
> Just a reminder that for the past two years (or maybe one year, I
forget)
> the AppleScript-Users list does not munge < and > nor any of the other
> non-ASCII characters (including all those used in AppleScript) made by
> option key on an English language keyboard, and then some. From the
> message
> you're responding to, it's clear that that does not include the full
> Unicode
> range however!
>
> >
> > set fontName to (<<data utxt534E65874EFF5B8B>> as Unicode text)
>
>
> I think maybe you might also have added that Rosyna will not be able
to do
> this with the 'do Visual Basic' type of script she submitted, will
she?
> Nor
> with a VBA macro. As far as I recall, the VBA compiler in Word Mac
also
> doesn't do Unicode. However, it should work fine with the new
PowerPoint
> 2004 AppleScript (which she wasn't using). That would require
PowerPoint
> 2004, of course - perhaps she's using X, and would then be stuck, I
think?
>
> --
> Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden