Installing a script - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum

Installing a script

  • 6 Replies
  • 4101 Views
Installing a script
« on: 22 / June / 2010, 03:30:07 »
Advertisements
Hi folks.
I've managed to get CHDK happily installed on my SX120is by copying the BOOTDISK.BIN to the card which worked perfectly. I'm running OSX and i'd like to install an intervalometer script.

I've found this one

___


rem Author - Keoeeit
rem Upgraded by Mika Tanninen
 @title Ultra Intervalometer
@param a Delay 1st Shot (Mins)
@default a 0
@param b Delay 1st Shot (Secs)
@default b 0
@param c Number of Shots (0 inf)
@default c 0
@param d Interval (Minutes)
@default d 0
@param e Interval (Seconds)
@default e 10
@param f Interval (10th Seconds)
@default f 0
n=0
t=(d*600+e*10+f)*100
if c<1 then let c=0
if t<100 then let t=100
g=(a*60)+b
if g<=0 then goto "interval"
for m=1 to g
 print "Intvl Begins:", (g-m)/60; "min", (g-m)%60; "sec"
 sleep 930
 next m
:interval
 n=n+1
 if c=0 then print "Shot", n else print "Shot", n, "of", c
 shoot
 if n=c then end
 sleep t
 goto "interval"

________

I'm hoping that this is the right spot. or if someone could point me in the right direction to getting this installed.

Thanks in Advance!

*

Offline zeno

  • *****
  • 891
Re: Installing a script
« Reply #1 on: 22 / June / 2010, 04:19:14 »
Hi oui3d

it's pretty simple. Load the script into TextEdit (you can copy and paste it directly from your web browser). Then make sure it's "plain text" (use the "make plain text" option in the Format menu if necessary) and save it as "ultra.bas" in Unicode (UTF-8) format into a folder on your Mac. Finally copy the file from that folder into the CHDK/SCRIPTS folder on the card.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Installing a script
« Reply #2 on: 22 / June / 2010, 06:17:59 »
Nice!
Installed, Thanks for that!
will give it a test.

Re: Installing a script
« Reply #3 on: 22 / June / 2010, 16:30:34 »
Brilliant! Now up and running.

I suspect that because I'm on OSX I had to fiddle a bit with the ultra.bas file. It showed up on the desktop and in the scripts folder as a bas.txt file. Initially deleted the .txt extension but still showed up as a text document. Then used Cmd+I to look at the file's settings. Under Name & Extension removed the .txt and icon changed to the grey box.
Copied this to scripts folder and it worked perfectly.

Thanks to all involved.
Great work.



Re: Installing a script
« Reply #4 on: 06 / July / 2010, 03:49:25 »
I've tried the above and getting the error message 'uBASIC:3 Unk stmt'?
CHDK works fine and I'm using a g-11 and mac platform.

*

Offline zeno

  • *****
  • 891
Re: Installing a script
« Reply #5 on: 06 / July / 2010, 04:22:56 »
The message means there's something wrong with line 3 of the script. It appears to start with a blank, but perhaps there's some other character there?
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Installing a script
« Reply #6 on: 02 / September / 2010, 14:04:31 »
Hello,

I also use ultra.bas script and it works great! There's only one problem, after taking a picture the tv-output signal of the A480 camera shuts down until the next shot... Is there a way to fix this.

So far this forum has been a great help!

Bart Plantinga

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal