• 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: Split path components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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. 

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

 _______________________________________________
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

References: 
 >Split path components (From: Andreas Kiel <email@hidden>)
 >Re: Split path components (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Split path components
  • Next by Date: [ANN] Script Debugger 6 ASObjC Resources
  • Previous by thread: Re: Split path components
  • Next by thread: [ANN] Script Debugger 6 ASObjC Resources
  • Index(es):
    • Date
    • Thread