Welcome, Guest. Please Login
Tinderbox
  News:
IMPORTANT MESSAGE! This forum has now been replaced by a new forum at http://forum.eastgate.com and no further posting or member registration is allowed. The forum is still accessible via read-only access for reference purposes. If you wish to discuss content here, please use the new forum. N.B. - posting in the new forum requires a fresh registration in the new forum (sorry - member data can't be ported).
  HomeHelpSearchLogin  
 
Pages: 1
Send Topic Print
Specifying shapes in an Action (Read 3057 times)
Andrew Saffer
Full Member
*
Offline



Posts: 62

Specifying shapes in an Action
May 4th, 2009, 2:44am
 
I'd like to make a few agents that specify various Shapes for notes and containers.

How do I specify them?

OnAdd Action:
Shape=?

Thanks, Andrew
Back to top
 
« Last Edit: May 04th, 2009, 3:26am by Andrew Saffer »  
  IP Logged
Mark Anderson
YaBB Administrator
*
Offline

User - not staff!

Posts: 5689
Southsea, UK
Re: Specifying shapes in an Action
Reply #1 - May 4th, 2009, 5:44am
 
You are correct that it is the Shape attribute you want. Note however that only notes can have shapes - not containers, agents or indeed attributes. To set a Shape via OnAdd, you need to know the name of the shape type youe require. If you don't know these see here and here. Let's assume you want to set a 'lozenge' shape:

v4.6+ OnAdd:  $Shape="lozenge"

pre-v4.6 OnAdd:  Shape=lozenge
Back to top
 
 

--
Mark Anderson
TB user and Wiki Gardener
aTbRef v6
(TB consulting - email me)
WWW shoantel   IP Logged
Pages: 1
Send Topic Print