Hi,

It's working now, I just didn't realize you had to put the parameters into the string too!

Thanks a lot
Dave


Recently, David Burgun  wrote:

 I can't get this to send the correct paramater handler

 set myRect to 1,2,3,4

 sendMessage "UpdateData " & myRect to group "Update"

 on UpdateData theRect
 end updateData

 UpdateData gets called ok, but "theRect" is set to "1" - the rest of
 the list have gone.

How can I send a Rect as a parameter like this?


I'm not really sure how your script works at all.  If myRect is a custom
property, you have to use "the" in front of it, but I don't think that's
what you're after here.

Try 'put' instead of 'set':

 put 1,2,3,4 into myRect
 sendMessage "UpdateData " & myRect to group "Update"


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to