You've several options available to you… As you have mentioned AppleScript I will start there…
AppleScript has a faceless app called Image Events you can use this to extract the properties you want…
This app just gives you easier access to SIPS you can do shellscript and do this yourself…
Apple has spotlight that will store metadata about your files again you can do shell script with MDLS…
You could AppleScript PhotoShop to open the files but this is a massive waste ( no need to open them ).
Using extendScript again you could use PhotoShop but the same waste wrong tool for the job.
A Bridge script would be better and faster me thinks…
Using shell is super quick… but you need to search else where to get what you need… ( I've pretty much forgotten the bits I knew oops )