Biomart! That will give you the coordinates of each gene and the associated Ensembl gene ID. If you need UCSC chromosome names then you'll have to convert them after the fact. You can use the "Text reformatting" tool for that. If you need help with that, just post a couple lines from the history item you need to convert and I'll post the appropriate 'AWK Program'.