Yes, Alt-F4 is understood but I've no idea what the "%A" line means either.
Thank you for your general confirmation and the link provided, both of which are very useful.
I still can't make this work on Vista, sometimes it does but next time it fails. Anyhow I've more info to go on now, so will play around and if I sort it out I'll pop back.
Thanks again - much appreciated.
Always pop back and let us know the outcome - thanks