• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert PC ANSI to Mac Standard Roman
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Convert PC ANSI to Mac Standard Roman
      • From: David Bradley <email@hidden>
References: 
 >Convert PC ANSI to Mac Standard Roman (From: David Bradley <email@hidden>)
 >Re: Convert PC ANSI to Mac Standard Roman (From: Yvan KOENIG <email@hidden>)
 >Re: Convert PC ANSI to Mac Standard Roman (From: David Bradley <email@hidden>)

  • Prev by Date: 500 quarkfiles - merge to 1 document
  • Next by Date: Re: Convert PC ANSI to Mac Standard Roman
  • Previous by thread: Re: Convert PC ANSI to Mac Standard Roman
  • Next by thread: Re: Convert PC ANSI to Mac Standard Roman
  • Index(es):
    • Date
    • Thread