• 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: from ASObjC Runner to Yosemite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: from ASObjC Runner to Yosemite


  • Subject: Re: from ASObjC Runner to Yosemite
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 03 Jun 2015 10:52:16 +1000

On 3 Jun 2015, at 5:11 am, Yvan KOENIG <email@hidden> wrote:

Alas, I didn't found a command able to do the job without a loop.

on linkStrings:theList withString:TID
set anNSArray to current application's NSArray's arrayWithArray:theList
set theString to anNSArray's componentsJoinedByString:TID
return theString as text
end linkStrings:withString:

It's probably worth noting that your first two handlers are case-sensitive, so they're not an exact match for the default use of TIDs. The second is relatively easily made case-insensitive, but the first would probably mean using regular expressions to avoid a repeat loop. Yell if you need those versions.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >from ASObjC Runner to Yosemite (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: from ASObjC Runner to Yosemite
  • Next by Date: Re: finder column width not working
  • Previous by thread: from ASObjC Runner to Yosemite
  • Next by thread: Re: from ASObjC Runner to Yosemite
  • Index(es):
    • Date
    • Thread