Re: Split path components
Re: Split path components
- Subject: Re: Split path components
- From: Shane Stanley <email@hidden>
- Date: Wed, 06 Jul 2016 09:17:01 +1000
On 5 Jul 2016, at 11:56 PM, Andreas Kiel <email@hidden> wrote:
set text item delimiters to "/"
You need to be specific:
set AppleScript's text item delimiters to "/".
The ASObjC equivalent would be something like:
set templFilePath to current application's NSString's stringWithString:"/Users/me/Movies/Motion Templates.localized/Titles.localized/Lower Thirds.localized/Boxes/Boxes Copy/Boxes Copy.moti" return (templFilePath's componentsSeparatedByString:"/") as list
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden