seems to meny If

Mark Wieder mwieder at ahsoftware.net
Fri Nov 25 12:50:32 EST 2005


Frank-

Friday, November 25, 2005, 6:41:20 AM, you wrote:

>Another way to handle this is to create a custom property on the
>buttons and assign those stings to the custom property:

...and just for another way to do things, I'd be more inclined to
stuff these into an array and get them from there for easy maintenance
and expandability:

put "NextTrack" into actionsA["JK"]
put "NextTrack" into actionsA["AB"]
put "playpause" into actionsA["JL"]
put "back" into actionsA["JM"]
-- etc.

-- now look up the proper button and take action
put it into tData
get actionsA[tData]
if it is not empty then
  send "mouseUp" to button it
end if

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list