you could write a script and use the api
# general
m
you could write a script and use the api