scripting Freehand

Hi people

Unfortunately I need to script Freehand 10 and MX.
the only problam I have now, is to choose a spacific page.
then to choos a spacific selected object of few selected.

I know it is not as simple as scripting Adobe Illustrator, but it is not up to me here.
so any help will be very much appreciated