What is wrong with this script?

charles61 cszasz at mac.com
Thu Nov 4 17:28:23 EDT 2010


I am trying to use the following in another handler to send a mouseUp to
hilited checkboxes on marked cards but it does not work. Any suggestions?

on doStuff3
   put the num of this card into tStartCard
   lock screen
   repeat with y = 1 to the number of cards
      if the mark of card y <> true then
         next repeat
      end if
      lock messages
      go card y  
      unlock messages
      repeat with b = 1 to the number of buttons
         if the style of button b = "checkbox" then
            if the hilite of button b = true then
               send "mouseUp" to button b
            end if
         end if
      end repeat
   end repeat
   lock messages
   go card tStartCard
   unlock messages
   unlock screen
end doStuff3
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-wrong-with-this-script-tp3027821p3027821.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the Use-livecode mailing list