this macro would cast cure on the first party member in your list:

/ac "Cure" <P1>

this one would cast fire on the currently selected target:

/ac "Fire" <t>

as an example you can chain skills via a macro like this:

/ac "Fire" <t>
/wait 2
/ac "Fira" <t>


is that what you need?