This seems like almost a duplicate of your other post, which I answered. Based on the slightly different content of this post, however, I'd suggest that you're barking up the wrong tree. Learn to make a button work. If the button should invoke a system function, then put the "system" function in the button's code.

As you can see, the type of response you get depends upon how well you phrase your question. Explaining what you're trying to do and how you're failing to accomplish it is not a Bad Thang.