How to open a Document and not showing its window

Hello there

I have a great hack that I cant complete: http://macscripter.net/viewtopic.php?pid=128216#p128216

Do any of you know what I’d do in order to open a document so that it doesn’t show up in a window, that is an app that just opens a document and the document becomes registered in the recent documents list, with the app never receiving keyboard focus?

Thanks

McUsr