Split path components
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
|
_______________________________________________
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