• 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 16:34:56 +0200

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Convert PC ANSI to Mac Standard Roman
      • From: Peter Waibel <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>)
 >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: Lunching Applescript from Java?
  • 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