right at the bottom of the overcards.com AHK page:
http://www.overcards.com/wiki/moin.c...tgresFunctions
My Postgres include function.
you need to make sure to either have "Program files\postgresql\8.x\bin in your PATH environment variable, or (easier) copy "psql.exe" into your script's folder.
Post here if you have trouble with it - there are a few examples of use in the StarsBuddyList script, and in a few others.
dave.