Try using the '[b]Convert to New Sampler Track[/b]' command. Select your audio region, right click and choose 'Convert to New Sampler Track'
This will bring up a dialog box, choose [b]Transient Markers[/b]. This will pick up all the transients in the track, and assign each transients to a different key on the EXS24 instrument.
thank you for the feedback, its been really useful! instead of logic doing it automatically, is there any way for me to set\edit the transient markers and then cut them? logic creates a lot more transients than i want.
Take a look at Mike Watkinson's article on Transients
Transient Markers are really easy to edit in the Sample Editor. In the Sample Editor you can double click on each slice and perform edits. You could 'Silence' slices or 'Change Gain' on slices.
Also Logic's Flex Time works quite well. It analyzes the audio file for any transients and then you can adjust these transients manually.
You can also use the Apple Loops Utility (Applications > Utilities) to distinguish the Transients on an audio file and then save it as a Apple Loop file which you can import into projects and it will adjust to the project tempo.