Re: Split path components
Re: Split path components
- Subject: Re: Split path components
- From: Shane Stanley <email@hidden>
- Date: Wed, 06 Jul 2016 09:46:07 +1000
On 6 Jul 2016, at 9:38 AM, Andreas Kiel <email@hidden> wrote:
"AppleScript's text item delimiters" or "text item delimiters" - this doesn't make a difference.
I suggest you check your code. This works fine here:
on applicationWillFinishLaunching:aNotification set templFilePath to "/Users/me/Movies/Motion Templates.localized/Titles.localized/Lower Thirds.localized/Boxes/Boxes Copy/Boxes Copy.moti" set AppleScript's text item delimiters to "/" set templPathComps to every text item of (templFilePath as string) set AppleScript's text item delimiters to "" log templPathComps end applicationWillFinishLaunching:
I wonder whether your script is actually starting with an NSString, not an AppleScript string.
|
_______________________________________________
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