Seriously? Have you read this? How to use buttons and scripts from this forum Look for the word 'command' in that article.