You don't want to use "me", you want to use "the target". And you don't
really even need to use "abbr name"; you can just say:

on mouseUp
  put first word of the target into fld "Field 1"
end mouseUp

HTH,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Michael Young
> Sent: Sunday, September 28, 2003 8:50 PM
> To: [EMAIL PROTECTED]
> Subject: Keep track of object type
> 
> 
> Hello,
> 
> I can use snippet "abbr name of me" to learn an object type. 
> But how can I keep track of the object type to use this 
> information in a script located at the card object level 
> rather than for example at the button object level?
> 
> A concrete example of differences in button mouseup functioning:
> 
> Button object script:
> on mouseup
>   put first word of abbr name of me into fld "Field 1"
> end mouseup
> 
> Field 1: button
> 
> Card object script with no button object script on mouseup 
> handler: on mouseup
>   put first word of abbr name of me into fld "Field 1"
> end mouseup
> 
> Field 1: card
> 
> I have no problem with the Field 1 answers that I am getting, 
> however I would like the Field 1 results in both situations 
> to be button. How can I achieve that result?
> 
> Thanks for your input,
> 
> Michael
> 
> 
> 
> 
> _______________________________________________
> 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