create Profile via script?

Jeanne A. E. DeVoto revolution at jaedworks.com
Wed Sep 29 15:07:53 EDT 2004


At 11:33 AM -0600 9/28/2004, Leston Drake wrote:
>I was wondering (hoping) if there is a command to create a new 
>profile for an object using script. I have a bunch of fields in a 
>stack that I need to create an additional profile for, and don't 
>really want to do it by hand.

Check out the revProfile property. If you set an object's revProfile 
to a nonexistent profile, it will be created. (This requires that you 
check the "Create Profiles Automatically" box in Preferences first.)
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list