| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 2007-06-02, at 14:18:19, deivy petrescu wrote:
on tid(theDelimiter) set AppleScript's text item delimiters to theDelimiter end tid tid("@") set emails to {} tell application "Mail" to set m to content of item 1 of (get selection) set q to text items of m tid(space) repeat with j from 1 to ((count q) - 1) if (text item -1 of text item j of q) ≠ "" and (text item 1 of text item (j + 1) of q) ≠ "" then set end of emails to (text item -1 of text item j of q) & "@" & (text item 1 of text item (j + 1) of q) end repeat emails Result: {"\"@\"", "it. Here <script> tid(\"@\") </script> I", "(email@hidden) Help/Unsubscribe/Update", "email@hidden "} Philip Aker 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: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
| References: | |
| >Re: Searching a Mail message (From: Jeffers <email@hidden>) | |
| >Re: Searching a Mail message (From: Luther Fuller <email@hidden>) | |
| >Re: Searching a Mail message (From: Michelle Steiner <email@hidden>) | |
| >Re: Searching a Mail message (From: Luther Fuller <email@hidden>) | |
| >Re: Searching a Mail message (From: Michelle Steiner <email@hidden>) | |
| >Re: Searching a Mail message (From: Luther Fuller <email@hidden>) | |
| >Re: Searching a Mail message (From: deivy petrescu <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.