Listing record keys in 'Execute an AppleScript' actions

My reply, with complete script, has been moved to a new topic: