From: Ron Pearson <ursamajor_1@mac.com>

Date: January 23, 2015 4:15:07 PM MST

To: Astro_IIDC@yahoogroups.com

Subject: Re: [Astro_IIDC] Imaging triple transit ?


HA!   I repointed the select file folder for the IS camera and now its working normally and the script is running it.   just a stupid user error...    thanks for stripping off the comments on the script and help.     Ron


On Jan 23, 2015, at 4:06 PM, Ron Pearson ursamajor_1@mac.com [Astro_IIDC] <Astro_IIDC@yahoogroups.com> wrote:

Thanks,   something else is going wrong -seems to be my IS DBK camera.  I got the same error when running the script but then tried it without the script, just normally, and got the same error.  Also got an error just trying to grab a frame.  The video does come on though.    I switched to my PGR Scorpion camera and it runs fine -although I haven't tried the script with it yet.   I last used both cameras last Sept. and Oct. for solar imaging and the partial eclipse and didn't have any problems.  I haven't upgraded Mac OS to Yosemite yet or changed anything else since then.    Bah!    Ron


On Jan 23, 2015, at 3:46 PM, Milton Aupperle maupperl@gmail.com [Astro_IIDC] <Astro_IIDC@yahoogroups.com> wrote:


Ron;


On 2015-01-23, at 2:06 PM, Ron Pearson ursamajor_1@mac.com [Astro_IIDC] <Astro_IIDC@yahoogroups.com> wrote:

[Attachment(s) from Ron Pearson included below] 


Milton, I've been trying out the scripts and had no luck.  I tried copy and paste the one in the manual and got a number of syntax errors, tried cleaning those up but no go.


It will depend on what you used to copy and paste the script with. Apple Preview app will sometimes mucks up text, especially if Appleworks created "smart quotes".


And AppleScript editor sometimes gets unhappy if it seems "≤" and not <= or vice versa.


Try this (I stripped all the comments out).


with timeout of 600 seconds

tell application "Astro IIDC"

if (start video) then

set grabforduration to 1800

set increment to 60

set recordtime to 30.0

set totaltime to (time of the (current date)) + grabforduration

set nextgrabtime to (time of the (current date))

repeat while ((time of the (current date)) ≤ totaltime)

delay 1.0

if (time of the (current date)) ≥ nextgrabtimethen

set nextgrabtime to (time of the(current date)) + increment

if (start recording) then

delay recordtime

stop recording

else

say "Recording Movie Failed"

end if

end if

end repeat

end if

end tell

end timeout



 I then loaded the one in the dmg file and it ran but I got an OS-X error -120 and verbal message that it failed.   A screen capture image is attached if that helps any.      Ron


A -120 error is a Directory not found error. Check that theDefault  folder you are saving movies or images to exists on that Mac. You set it in "Preferences" sheet in the "Select default folder for grabbed frames, movies and logs..." button

 HTH..


Milton