From: Milton Aupperle <maupperl@gmail.com>
Date: January 23, 2015 3:46:30 PM MST
To: Astro_IIDC@yahoogroups.com
Subject: Re: [Astro_IIDC] Imaging triple transit ? [1 Attachment]
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)) ≥ nextgrabtime then
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