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: [email protected]
Web Site: http://www.sonsothunder.com/  

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to