I am trying to use the applescript event RFLD to return multiple results (to optimise the performance of my Bookends Tools scripts), but I'm finding the order is returned differently to the order in the request. This demonstration uses 4 UIDs to return the same UIDs, but the order returned isn't the same:
Code: Select all
tell application "Bookends"
set uid to «event ToySRFLD» "47648,5100,36271,27008" given string:"uniqueID"
end tell
Code: Select all
uid = "47648 5100 27008 36271"
[p.s. of course I do not need to use RFLD to return uniqueID (as I already have them) this is just for demonstration of the problem, I do need to return title, thedate, authors etc. with the same order as the request]