Exit "ALT" mode at end of script - Script Writing - CHDK Forum supplierdeeply

Exit "ALT" mode at end of script

  • 2 Replies
  • 2038 Views
Exit "ALT" mode at end of script
« on: 10 / November / 2011, 23:54:50 »
Advertisements
Does anyone know how to force an exit from [ALT] mode upon completion of a script.  I was thinking one could call a button press, but I'm not sure how to call the button and the button id scripts do not recognize the proper button.  I currently have the [ALT] button reassigned to the AE Lock button.

Thanks for any thoughts.
 

Re: Exit "ALT" mode at end of script
« Reply #1 on: 11 / November / 2011, 00:08:38 »
Does anyone know how to force an exit from [ALT] mode upon completion of a script.  I was thinking one could call a button press, but I'm not sure how to call the button and the button id scripts do not recognize the proper button.  I currently have the [ALT] button reassigned to the AE Lock button. 

Hmmm .. search function on wiki gives ....  http://chdk.wikia.com/wiki/UBASIC/TutorialScratchpad#The_.22exit_alt.22_Command

Does that do it  ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Exit "ALT" mode at end of script
« Reply #2 on: 11 / November / 2011, 00:27:05 »
I'm very embarrassed.  The comand is "exit_alt".  Listed right in the tutorial scratchpad  :-[.  Thanks for getting me in the right place Waterwingz.

 

Related Topics