>I'm trying to get this to work for me.
>
>
>* TIMER BUTTON CODE
>PRIVATE timevar,cbutton
>timevar = "13:15:00"
>cbutton = "Command62"
>DO WHILE TIME() <> timevar
>loop
>ENDDO
>thisform.cbutton.click
>
>
>And of course c.button is giving me trouble. I've tried quotes, brackets and m. variations with no success.
>How can I get c.button to automatically click while I'm sleeping?
It should be
Thisform.TheActualButtonName.Click
Where "TheActualButtonName" is the name of the button that is on the form.
Your code is trying to click a button named "cbutton" on your form but there is, I assume, no such button. So in your example you want:
Thisform.Command62.Click
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.