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: David Bradley <email@hidden>
- Date: Thu, 17 Aug 2006 14:26:27 +0100
Yvan,
Yes that code works fine.
David Bradley
Senior Web Programmer
Globe Media
Brookfields Way
Manvers
Wath upon Dearne
Rotherham
S63 5DL
Tel: 01709 768000
Fax: 01709 768011
email@hidden
www.globe-media.com
On 17 Aug 2006, at 13:40, Yvan KOENIG wrote:
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 (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40globe-media.com
This email sent to email@hidden
_______________________________________________
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