open property inspector of an object in a script

Todd Geist todd at geistinteractive.com
Tue Nov 29 23:36:16 EST 2011


Thanks Ken!

On Tue, Nov 29, 2011 at 7:02 PM, Ken Ray <kray at sonsothunder.com> 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
>



-- 
Todd Geist


(805) 419-9382



More information about the use-livecode mailing list