Re: Convert PC ANSI to Mac Standard Roman
Re: Convert PC ANSI to Mac Standard Roman
- Subject: Re: Convert PC ANSI to Mac Standard Roman
- From: Yvan KOENIG <email@hidden>
- Date: Thu, 17 Aug 2006 14:40:26 +0200
Hello
I don't own Xpress so I can't test.
I wrote the code which does the same task in AppleWorks 6.
It works flawlessly.
May you test this code:
display dialog strCatDesc_General
(*
tell application "Cyclone"
set inputEncoding to Win_ANSI --Win_ANSI Unicode
set destEncoding to Mac_Roman
set convertedData to (convert text strCatDesc_General from
inputEncoding to destEncoding)
end tell
*)
copy strCatDesc_General to convertedData
display dialog convertedData
tell application "QuarkXPress"
tell document 1
tell page iPage
make text box at beginning with properties {name:{"Test
Description"}, bounds:{0, 40, 40, 90}, runaround:{0, 0, 0, 0}}
make new text at beginning of text box ("Test Description") with
properties {contents:convertedData, size:8, font:"Helvetica Light"}
end tell
end tell
end tell
If it works fine, we may assume that the problem sit in the
conversion code
If it fails, perhaps there is something wrong in the code building
the text box and filling it.
Yvan KOENIG
_______________________________________________
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