Cool,there was also a discussion of a similar macro on the FF ARR forums.

Except it is a script and doesn't cancel the queue.

http://ffxivrealm.com/threads/made-a...17-error.6082/