Hi,
I want to “play” with dictionaries and anagrams, with ApplescriptObjC.
I managed to save a file that can be read as an array.
But each object of the array happens to be a NSCFString ; following Shane Stanley’s books, I understand that I want to have NSString because NSCFString are not suitable for ASOC.
How can I get NSStrings ?
Here is the code to get the array :
set monTableau to current application's NSArray's arrayWithContentsOfFile:"/Users/nicolas/Desktop/DicoTest.rtf"
The file DicoTest.rtf includes :
<?xml version="1.0" encoding="UTF-8"?> aa aah aahed aahing aahs aal aalii aaliis aals aardvark aardvarks aardwolf aardwolves aarghThanks for your help !
Nicolas