On WIndows you can use AutoIt or AutoHotKey to create a mouse/keyboard script to automate these kind of tasks. If you need to build from outside of MyEclipse, and continue with package and deploy, then either Ant or Maven is most usefull, with Ant also very usable from inside MyEclipse. (Maven support is coming with ME 6.5). Unfortunately there is no script-wizard for Ant (or at least I haven’t found it yet in ME), so you’ll have to hand-craft something, based on the samples on the ant site (http://ant.apache.org) Same goes for Maven (http://maven.apache.org), but that’s much easier to get rolling on a Continuus Integration server (build automation).
HTH
Ton