Console and CHDK ALT positioning - page 2 - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Console and CHDK ALT positioning

  • 18 Replies
  • 588 Views
Re: Console and CHDK ALT positioning
« Reply #10 on: 11 / April / 2021, 10:18:42 »
Advertisements
I’ll have a look and report.

Re: Console and CHDK ALT positioning
« Reply #11 on: 11 / April / 2021, 10:24:42 »
@srsa_4c

 :)

Thanks. Yes on an M3 it changes from 720 to 1024.

Cheers!

Garry

Re: Console and CHDK ALT positioning
« Reply #12 on: 11 / April / 2021, 13:10:45 »
Feedback after testing

Using the get_gui_screen_width works well and I can adjust my drawing accordingly.

I think there is still an issue with the console, however.

Unless I'm mistaken you can't turn the console off or reposition it?

That is you can use Always on or on only in ALT mode to control the console. But that's it.
« Last Edit: 11 / April / 2021, 13:37:37 by pigeonhill »

*

Offline reyalp

  • ******
  • 13237
Re: Console and CHDK ALT positioning
« Reply #13 on: 11 / April / 2021, 13:57:03 »
https://chdk.fandom.com/wiki/Script_commands#set_console_layout ? and perhaps the following function if you want to disable it.
Don't forget what the H stands for.


Re: Console and CHDK ALT positioning
« Reply #14 on: 11 / April / 2021, 14:08:29 »
@reyalp

Yes I tried setting the console size to 0,0,0,0 but no luck.

In the end I implemented the palliative of 0,0,1,1 that is showing the smallest console you can.

Maybe in a future CHDK uplift you can consider recognising 0,0,0,0 as off?

*

Offline reyalp

  • ******
  • 13237
Re: Console and CHDK ALT positioning
« Reply #15 on: 11 / April / 2021, 14:14:17 »
From the description, set_console_autoredraw(-1) should prevent text from being written to it, which I think will effectively make it not displayed.
Don't forget what the H stands for.

Re: Console and CHDK ALT positioning
« Reply #16 on: 11 / April / 2021, 17:56:39 »
@reyalp

Got there in the end.

Many thanks.

Re: Console and CHDK ALT positioning
« Reply #17 on: 12 / April / 2021, 00:10:41 »
It's been a while since I've  looked at it but this script might give you some additional ideas for what can be done with a Lua scripted GUI

https://chdk.fandom.com/wiki/CHDKplus
Ported :   A1200    SD940   G10    Powershot N    G16


Re: Console and CHDK ALT positioning
« Reply #18 on: 12 / April / 2021, 04:09:56 »
@waterwingz

Many thanks for the link

 

Related Topics