controling the positon of dialog windows

I believe all of you guys know the "display dialog “My Message” comand.

Question:

Is there a way of forcing the dialog window to a specific position on the screen?

I mean, for example x =10pixels y=20pixels.

Your posts will be apreciated.

Hey, fundidor.

Dialogs are very primitive interface objects, and there’s no good method in basic applescripts to control their location. They are by default, centered and automatically sized. There may be an older osax to handle this, but to have more control over your interface you should consider using xCode. In xCode, you can set the ‘bounds’, which defines the location and size of the window.

j