Search found 16 matches

by Craig
03 Aug 2020, 04:19
Forum: Scripts
Topic: Remote, How to hide Camera Control and Script Editor
Replies: 3
Views: 1634

Re: Remote, How to hide Camera Control and Script Editor

Thanks Fabio, that will be a great addition to how I am using AA. I will send you an email requesting the pre-release.

Craig
by Craig
30 Jul 2020, 08:54
Forum: Scripts
Topic: Remote, How to hide Camera Control and Script Editor
Replies: 3
Views: 1634

Re: Remote, How to hide Camera Control and Script Editor

Checking to see if there has been any update to this request.

Also, is there a way to have AA startup from the last screen position? I have three monitors and use AA on monitor 2 while processing other work. But each time I start AA it goes to Monitor 1.

Craig
by Craig
19 Apr 2020, 06:36
Forum: Scripts
Topic: Stars.Find
Replies: 2
Views: 911

Re: Stars.Find

Thanks. That works.

Craig
by Craig
17 Apr 2020, 04:07
Forum: Scripts
Topic: Stars.Find
Replies: 2
Views: 911

Stars.Find

Is there a way to set the Find stars parameters within the script? For example, something like this: Stars.Find.SNR = 10.0 Stars.Find.ADU = 200 Stars.Find.FWHM = 3.5 Stars.Find Here is what I tried: Manually start AA Load an Image Click Tools|Find stars Change S/N to 10 Test .. get 50 stars found Cl...
by Craig
11 Apr 2020, 23:52
Forum: Scripts
Topic: Image.EstimateRaDec
Replies: 2
Views: 869

Re: Image.EstimateRaDec

Found the problem, the function returns two values and so the correct script call is:

ra,dec = Image.EstimateRaDec
print ra
print dec

works okay now. I think this is why we need examples for each script function call.

Craig
by Craig
11 Apr 2020, 23:47
Forum: Scripts
Topic: Image.EstimateRaDec
Replies: 2
Views: 869

Re: Image.EstimateRaDec

Here is what is in the FITS header: RA = 347.050474559823 / Object Right Ascension in degrees DEC = -48.3669332248298 / Object Declination in degrees CRVAL1 = 347.042102036400000 CRVAL2 = -48.3703387802500000 OBJCTRA = '23 08 12.114' / Object Right Ascension in hms OBJCTDEC= '-48 22 00.960' / Object...
by Craig
11 Apr 2020, 23:25
Forum: Scripts
Topic: Image.EstimateRaDec
Replies: 2
Views: 869

Image.EstimateRaDec

When I put this in a script and print, I see only the RA value. I am assuming the function returns both RA and DEC as a string.

print Image.EstimateRaDec

Craig
by Craig
10 Apr 2020, 04:00
Forum: Image processing and analysis
Topic: Find Stars: ADU filter
Replies: 1
Views: 741

Find Stars: ADU filter

In using the Find Stars function I don't think the ADU filter is being used. If I set the ADU filter to 0 and run Find Stars, I then look at the found stars on the image and center on one that is faint. I then rerun Find Stars but with a larger value for ADU (the min value, left column). It makes no...
by Craig
10 Apr 2020, 00:03
Forum: Scripts
Topic: Remote, How to hide Camera Control and Script Editor
Replies: 3
Views: 1634

Remote, How to hide Camera Control and Script Editor

When opening an image from an external software program, AA automatically opens the Camera Control window and the Script Editor window. Is there a way to override this? I tried this: AASendCommand(AA_SCRIPT_HIDE,nil); thinking that it would hide the windows but it did not work. I could not find any ...
by Craig
09 Apr 2020, 23:09
Forum: Scripts
Topic: Successive Script commands question
Replies: 3
Views: 911

Re: Successive Script commands question

I found a solution: AASendCommand(AA_SCRIPT_RUN, PChar('Image.Close')); while (AASendCommand(AA_SCRIPT_GetStatus,nil) <> AAS_IDLE) do Sleep(50); AASendCommand(AA_SCRIPT_RUN, PChar('Image.Open("' + theImage + '")')); To keep the program from hanging, this would be better: AASendCommand(AA_SCRIPT_RUN,...