when using BridgePlus’s
indexesOfItems:inArray:inverting:
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set listOrArray to {1, 2, 3, 2, 4, 2, 5, 3}
set theItem to {2, 4}
set theResult to current application's SMSForder's indexesOfItems:theItem inArray:listOrArray inverting:false
ASify from theResult
--> {1, 3, 4, 5}
how can I now use this result in reverse?
IE:
set theResult to anotherListOrArray's objectsAtIndex:{1,3,4,5}
i realize it’s zero based so I’ve used the arrayByAddingInteger:inArray:
but still no go?
thanks