Post the macro your working on in here.
Is this for a dashboard command or a specific game? If so maybe try the record and playback function on your macro controller. You can record and it will save your settings in timeline format allowing u to tweek the playback if needed. This is the way I would do it as it will get the timing down perfect for the command you want to archive.