[APBeta] Scripting manual yet?
Jeff Young
jey at adobe.com
Sun Jan 4 09:20:50 PST 2009
Try using APPlanObject.AddUserField(title). It will return an APUserField. Check the Framework Reference for the methods defined on APUserField. (You can also access an existing user field with APPlanObject.UserField(n) or APPlanObject.UserField(title). There doesn't appear to be a way to delete one. Perhaps setting its value to NULL will do that?)
APPlan also has some user field methods, which appear to let you modify the type and units of fields defined for a plan. But I'm not sure what happens if you set a value on one accessed via APPlan.ObjectUserField().
-- Jeff.
> -----Original Message-----
> From: apbeta-bounces at lists.astroplanner.net [mailto:apbeta-bounces at lists.astroplanner.net] On Behalf Of
> Gary A. Ferguson
> Sent: Sunday, January 04, 2009 5:07 PM
> To: 'AstroPlanner Beta Testers'
> Subject: Re: [APBeta] Scripting manual yet?
>
> Actually, I'm specifically interested in working with user-defined fields.
> I'd like to be able to create a field based on other fields, and remove
> user-defined fields from objects in a plan.
>
> Gary
>
> -----Original Message-----
> From: apbeta-bounces at lists.astroplanner.net
> [mailto:apbeta-bounces at lists.astroplanner.net] On Behalf Of RPEHLM
> Sent: Sunday, January 04, 2009 12:23 AM
> To: AstroPlanner Beta Testers
> Subject: Re: [APBeta] Scripting manual yet?
>
> There is no v2 scripting manual available - yet. Finding out how to
> access new features (e.g. user defined fields) can be tricksy. Other
> features are not yet complete e.g. ASCOM. Is there anything in
> particular you are interested in?
>
> Regards
> Robin
>
> Gary A. Ferguson wrote:
> > I recall this being mentioned, but I don't remember what was said: Is
> > there a scripting manual for 2.0 yet? Is it close enough to v1.6 that
> > that manual is usable?
> >
> > Thanks,
> > Gary
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > APBeta mailing list
> > APBeta at lists.astroplanner.net
> > http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net
> >
>
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net
>
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net
More information about the APBeta
mailing list