This is a pretty common structure in the English language.
Consider these examples:
he pried open the door of the car to extract the injured guy out of it.
However it's more grammatical to say "pried the door open"
the polic kicked open the door.
It's more grammatical to say "kicked the door open"
he slammed the door shut
So it is in your example:
It's more grmmatical to say:
she hooked the window.. open.
As for the grammar I should say some English verbs are followed by an object and then an adjective to show the result of an action on the object.
verb obj adj
verb adj obj
Are both correct but the former seems to be considered more grammatical according to dictionary entries checked( Cambridge/ Collins/Macmillan)