Entourage Categories

Hey all-

I am new to AppleScript so your help is greatly appreciated! I am trying to file messages in entourage based on category designation. I have looked everywhere–and I cannot figure out how to solve this.

Please take a look:

tell application "Microsoft Entourage"
	set currMsgs to (current messages)
        -- get currMsgs categories (I don't know how to do this?)
        --convert to categories to string: categoryString
       
        if categoryString contains "do" then
              	set destFolder to folder "Action" of Exchange account "Exchange"
        else if categoryString contains "archive" then
              	set destFolder to folder "No Action" of Exchange account "Exchange"   
        End if
	move currMsgs to destFolder
	
end tell

Thanks!