Page 2 of 2

Re: command not send / puzzle

Posted: Thu Jul 10, 2014 6:59 am
by snm
set the label ... ?

Marek

Re: command not send / puzzle

Posted: Thu Jul 10, 2014 12:01 pm
by Klaus
Hi Rob,

why do you not take a look into the dictionary under "label" to understand what that means?
That would have saved us some time.
The dictionary won't bite, I know that! 8)

Buttons have:
1. A NAME, use that to addess the button in scripts.
So using a short and descriptive name is a good idea!

2. A LABEL, which is what the USER will see on the card, so this can be a long as neccessary.

You are looking for Nr. 1 obviously.
But you will need to query "the SHORT name fo btn xyz"

To see why, create a button and add this script to see and believe:

Code: Select all

on mouseup
  put "The NAME of me:" & CR & the NAME of me & CR & "The SHORT name of me:" & CR & the short name of me into tAnswer
  answer tAnswer
end mouseup
Best

Klaus