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: Peter Waibel <email@hidden>
- Date: Thu, 17 Aug 2006 17:58:55 +0200
Try this for the QuarXPress part:
set myText to "xxx yyy zzz"
tell application "QuarkXPress"
tell document 1
tell page 1
set textBoxRef to (make text box at beginning with properties
{name:"Test Description", bounds:{0, 40, 40, 90}, runaround:{0, 0, 0,
0}})
tell textBoxRef
tell text 1
set contents to myText
end tell
end tell
end tell
end tell
end tell
Hello
Only a guess because I don't know Xpress.
May you tadd one instruction:
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
set convertedData to contents of 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
I hope that it will do sufficient tasks on the result to make it OK
for Xpress.
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:
40opix.de
This email sent to email@hidden
Peter Waibel
_______________________________________________
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