[APBeta] Running Scripts

Paul Rodman paul at ilanga.com
Sun Mar 1 21:51:29 PST 2009


OK. It looks like I might need to make some minor application changes  
for those. I'm on it. Unfortunately, I slipped and fell in the garden  
today and sprained my wrist, so I'm somewhat digitally challenged  
right now.

Paul R.

On Mar 1, 2009, at 04:37 PM, Bruce Pipes wrote:

> Hi Paul,
>
> The scripts I use a lot are the following:
>
> Guide Stars
>
> Transfer Objects
>
> Thanks,
> Bruce Pipes
>
> On Mar 1, 2009, at 6:13 PM, Paul Rodman wrote:
>
>> I've updated DSS Gallery to run under V2. When I've done a few more  
>> code changes, I'll do some more scripts. I'm taking requests.
>>
>> Paul R.
>>
>> (my incoming mail server has been down for a few hours, so I might  
>> not reply any time soon to incoming mail)
>>
>>
>> On Feb 28, 2009, at 02:00 PM, I.R. van de Stadt wrote:
>>
>>>
>>> I tried DSS gallery, but had no luck
>>>
>>> with sub main() inserted at line 14
>>> and end sub at the end (now line 169)
>>>
>>> There was an error message:
>>>    script error on line 64: Too many parameters
>>>
>>> line 64 is
>>>   c=new Canvas(w,h,"DSS Gallery")
>>>
>>> There it gets to the point that I would have to dive into the  
>>> scripting manual...
>>>
>>> Celestial Mixmaster probably needs the sub main(args() as  
>>> Variant), but what goes into the args()? or is args itself an  
>>> existing function, should there go anything into the ()?
>>>
>>> with either the constants left as as before or moved to within the  
>>> sub main (I tried both ways)
>>>
>>> scipt error on line 44: there is no class with this name
>>>
>>> that is line
>>>   function findObjectInPlan( planIdx as Integer, obj as  
>>> APPlanObjectData, fuzzyMatch as Boolean ) as Integer
>>>
>>> (there are many more !s but maybe (hopefully) for the same problem)
>>> now I'm lost a again
>>>
>>> Any suggestions?
>>> Clear Skies
>>> Inge
>>>
>>> > Date: Sat, 28 Feb 2009 10:31:51 +0100
>>> > From: robin at lauryssen-mitchell.com
>>> > To: apbeta at lists.astroplanner.net
>>> > Subject: Re: [APBeta] Running Scripts
>>> >
>>> > Your script needs to contain a sub called main(). For example
>>> >
>>> > sub main()
>>> > print "Main part of your program goes here"
>>> > end sub
>>> >
>>> > See <http://www.astroplanner.net/reports/details/1500/1533.shtml>
>>> >
>>> > Paul is working on fixing the scripts. If there is one or two in
>>> > particular that are of interest to you, let me know and I'll see  
>>> if I
>>> > can fix them for you if you like.
>>> >
>>> > Regards
>>> > Robin
>>> >
>>> > I.R. van de Stadt wrote:
>>> > >
>>> > > Am I missing something? I can't run any of the scripts, whether
>>> > > converted from V1 or newly downloaded.
>>> > > The error is usually
>>> > >
>>> > > Script must contain a (global) main() method.
>>> > > i.e. one of:
>>> > > Sub main()
>>> > > or
>>> > > Sub main(args() as Variant)
>>> > >
>>> > > Even 'Observing nights' - created in de V2 era gives an error  
>>> message:
>>> > > Script must not contain any calls to the main() method.
>>> > >
>>> > > Clear Skies!
>>> > > Inge
>>> > >
>>> > >  
>>> ------------------------------------------------------------------------
>>> > > Ook nieuwsgierig naar de nieuwe Messenger? Download 'm hier
>>> > > <http://download.live.com/messenger>
>>> > >  
>>> ------------------------------------------------------------------------
>>> > >
>>> > > _______________________________________________
>>> > > 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
>>>
>>> Twee keer zo leuk. Deel foto's terwijl je chat met de nieuwe  
>>> Messenger_______________________________________________
>>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.astroplanner.net/pipermail/apbeta-astroplanner.net/attachments/20090301/0938051a/attachment-0003.htm>


More information about the APBeta mailing list