bring window to front

hi,

I have created one applescript application using xcode while i am running it from terminal, the GUI window won’t come to front…

Can any body tell me, how to do that…

Regards,
Anni