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

Split path components


  • Subject: Split path components
  • From: Andreas Kiel <email@hidden>
  • Date: Tue, 05 Jul 2016 15:56:45 +0200

Hello,

I'm still  trying to convert an 10 year old ASS app to ASobjc.
I don't have to much experience with ASobjc – so forgive me for the questions I ask.

In the original app a ton of stuff was handled by "call method 'xyz' of blabla" which were used to save time.
I don't know how to translate to ASobjc.
Anyway most of the stuff can be done by Applescript – I thought.

One example is the above question.
This works in Script Editor:

set templFilePath to "/Users/me/Movies/Motion Templates.localized/Titles.localized/Lower Thirds.localized/Boxes/Boxes Copy/Boxes Copy.moti"

set text item delimiters to "/"
set templPathComps to every text item of (templFilePath as string)
set text item delimiters to ""

return templPathComps

in ASobjC though I just get get a list were each character as item.
Any ideas are welcome.

Regards
Andreas


Andreas Kiel
email@hidden


 _______________________________________________
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

  • Follow-Ups:
    • Re: Split path components
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: table select color
  • Next by Date: Re: Split path components
  • Previous by thread: Re: table select color
  • Next by thread: Re: Split path components
  • Index(es):
    • Date
    • Thread