Parameter showing up as blank space in the script menu - Script Writing - CHDK Forum

Parameter showing up as blank space in the script menu

  • 2 Replies
  • 2013 Views
Parameter showing up as blank space in the script menu
« on: 04 / August / 2023, 15:32:04 »
Advertisements
Hello, I'm having a strange issue where parameter B isn't showing up, I've attached a screenshot and my script, I would appreciate if somebody could help. And yes, it's very unfinished and probably incorrect code.

Code: [Select]
@title Little9070's Intervalvometer
@subtitle Made for fun
@chdk_version 1.6.1
@param a Screen mode:
@values a On NoBcklit Off
@param b Photo
@range b 0 1000

:start
b * 100
sleep 5000
cls
if a = 0 then print "Screen remains on..."
if a = 0 then sleep 1000
if a = 1 then set_backlight 0
if a = 2 then set_lcd_display 0
goto "continous"

:continous
is_key "set" then set_backlight 1 and set_lcd_display 1
shoot
sleep b
goto "continous"
Sent from my Canon PowerShot SX410 IS

Re: Parameter showing up as blank space in the script menu
« Reply #1 on: 04 / August / 2023, 15:53:31 »
This is the second time I've needed to delete a post right after making it, I sincerely apologize

Anyway, I needed to save it as ASCII and not UTF-8
Sent from my Canon PowerShot SX410 IS

*

Offline reyalp

  • ******
  • 14125
Re: Parameter showing up as blank space in the script menu
« Reply #2 on: 04 / August / 2023, 23:20:30 »
This is the second time I've needed to delete a post right after making it, I sincerely apologize
No need to apologize, traffic here is low in any case. Generally, it's fine to just edit or reply with the solution if you figure it out yourself. Even if it seems like a silly problem after you figure it out, someone else may run into the same question.
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal