[APBeta] User Field scripts

Paul Rodman paul at ilanga.com
Fri Jun 21 15:08:37 PDT 2019


It’s a bug. I’m on it.

Paul R.

> On Jun 8, 2019, at 10:29 AM, Sam Finn <lsfinn at gmail.com> wrote:
> 
> APBeta V2.3a32 (64bit)
> Mac OSX 10.14.5
> 
> Hi - 
> 
> I’m trying to create a user field script. As a start I’ve tried the example/template script created by the Script Editor, and reproduced on page 292 of the Scripting Manual (v2.1: is there a later version?). Briefly put, I can’t get the example/template to run. 
> 
> In more detail: 
> * Opening the script editor I use the + button to create a new User Field Script. I give it the name RADec. 
> * I select the checkbox “Include in Script menu, with shortcut: None"
> * Changing nothing I save the script. 
> * I push the “Check For Errors” button: no errors are detected. 
> * I push the “Execute” bottom. In a few moments the script terminates. 
> * Selecting my plan document I create the User-defined field RA*Dec (conforming with the ScriptParameter param field in the example/template)
> * I save the plan document
> * With my plan document as the active window, from menubar Edit>List Columns I add the “User: RA*Dec” column, and confirm that the RA and Dec columns are already selected. 
> * Still with the plan document as the active window use menubar Script>RADec to execute the script. 
> 
> Neither the appropriate column nor the User-defined Fields RA*Dec values appear: i.e., everything was blank before executing the script, and remains blank after executing the script. I get no error messages or other diagnostics. 
> 
> Any help/suggestions/advice? I’m not sufficiently familiar with scripting to know if this is “user error” or a bug that needs reporting. 
> 
> Thanks, 
> 
> Sam
> 
>> Sam Finn
> lsfinn at gmail.com <mailto:lsfinn at gmail.com>
> 
> 
> 
> 
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.astroplanner.net/pipermail/apbeta-astroplanner.net/attachments/20190621/9fbccd59/attachment.html>


More information about the APBeta mailing list