Re: Ordering names
Re: Ordering names
- Subject: Re: Ordering names
- From: Emmanuel LEVY <email@hidden>
- Date: Fri, 20 Nov 2009 10:26:44 +0100
If you can use a (free) third-party addition, then use Satimage.osax,
make your data into lists, and use Satimage.osax' "sortlist" command:
sortlist {{"Dave", "Paul", "Emmanuel"}, {"MULLINS", "BERKOWITZ",
"LEVY"}} with respect to 1
-- {{"Dave", "Emmanuel", "Paul"}, {"MULLINS", "LEVY", "BERKOWITZ"}}
sortlist {{"Dave", "Paul", "Emmanuel"}, {"MULLINS", "BERKOWITZ",
"LEVY"}} with respect to 2
-- {{"Paul", "Emmanuel", "Dave"}, {"BERKOWITZ", "LEVY", "MULLINS"}}
Emmanuel (LEVY)
Hi,
I am new to applescript and have a requirement
for use within InDesign CS3
What I need to do is be able to list people’s names alphabetically
BY THEIR SURNAMES
Although the first/Christian name would remain at the front
So:
Adam Smith
Lucy Green
Miles Langton
Wendy Applegate
Would become:
Wendy Applegate
Lucy Green
Miles Langton
Adam Smith
Any help would be appreciated
Many thanks,
Dave
Dave Mullins
Digital Asset Manager
Proximity London
191 Old Marylebone Road London NW1 5DW
t: +44 (0)20 7298 1060
email@hidden
Cannes Lions Silver Winner 2009
RNLI 'Mystery Packages'
Social Media Campaign
Find us on Twitter at www.twitter.com/atproximity
www.proximitylondon.com
--------------------------------------------
Please consider our environment before printing this email.
Members of:IPA, DMA, BIMA, ISP and MCCA.
This email its contents and any files or images with it are intended
solely for the addressee(s) and are confidential. If you have received
this email in error you may not copy or use the contents,
attachments or information in any way. Please destroy it and contact
the sender on the number printed above, via the Proximity London
switchboard or via email return.
DISCLAIMER. Material contained in this email may be copyright
material of Proximity London or protected by other intellectual
property rights. It may only be reproduced with the express
permission of Proximity London. Proximity London does not accept
responsibility for
any changes made to this email by unauthorised parties after it was
sent. Whilst Proximity London runs antivirus software on all internet
emails it is not liable for any loss or damage caused by an infected
email. The recipient is advised to run their own antivirus software.
All information contained in this email has been prepared using
information believed by the author to be reliable and accurate, but
Proximity London makes no warranty as to accuracy and completeness.
Any opinions expressed in this email are those of the author
and do not necessarily reflect the opinions of Proximity London or
its affiliates.
Company Secretary: Sally-Ann Bray
Registered number: 2617496 VAT No: 538 8096 06 Registered in England
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden