open property inspector of an object in a script

Bob Sneidar bobs at twft.com
Wed Nov 30 11:35:49 EST 2011


Jeeze Ken is there anything you don't know? About Livecode I mean?

Bob


On Nov 29, 2011, at 7:02 PM, Ken Ray wrote:

> 
> On Nov 29, 2011, at 8:49 PM, Todd Geist wrote:
> 
>> Hello,
>> 
>> How do you open the property inspector of an object in a script.  I can
>> open the script editor with
>> 
>> edit the script of ObjectRef
>> 
>> 
>> How do I do the same for the Properties Palette?
> 
> First you select an object (interestingly, you can 'select' cards and stacks, too!)  and then execute: 
> 
>  send "revBuildPropertyPalette" to stack "revTemplatePalette"
> 
> So here's an example of showing the Property Inspector for card 1 of the stack "MyStack"
> 
> on mouseUp
>  select card 1 of stack "MyStack"
>  send "revBuildPropertyPalette" to stack "revTemplatePalette"
> end mouseUp
> 
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/	
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list