NSStatusItem

how can you set a menu to a NSStatusItem in applescript?