Tracatak.... You need to read the manual :D everything you need is there man!

http://www.fruityloops.com/help

A whole section on automation.