Hi rupaln,
It's not possible with Image Events. Its crop command always trims equally from the top and bottom (or left and right sides) of the loaded image, so it can't be used to crop off the top or bottom half.
Instead you'll need to use a scriptable image editing program such as Adobe Photoshop (expensiveware) or GraphicConverter (shareware, or available from the App Store). I don't have PS, but the following scripts work with GraphicConverter:
To crop off the top half of an open image:
tell application "GraphicConverter 9"
activate
set full_size to get image dimension of window 1
set W to item 1 of full_size
set H to item 2 of full_size
set half_H to round (H / 2)
set selection of window 1 to {0, half_H, W, H}
crop selectionwindow 1
end tell
To crop off the bottom half of an open image:
tell application "GraphicConverter 9"
activate
set full_size to get image dimension of window 1
set W to item 1 of full_size
set H to item 2 of full_size
set half_H to round (H / 2)
set selection of window 1 to {0, 0, W, half_H}
crop selection window 1
end tell
The downside to this is that the images have to be open on screen in GraphicConverter, so if you're batch converting a lot of images you'll get continuous screen activity while it's working.
Be aware also that if your script is written so that it opens, crops, saves and closes a number of images, this will be a permanent change, so you may want to work on copies rather than originals.
Hope this helps,
H