User Menu Editor module. - page 2 - General Discussion and Assistance - CHDK Forum

User Menu Editor module.

  • 23 Replies
  • 4139 Views
*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: User Menu Editor module.
« Reply #10 on: 16 / May / 2013, 07:02:55 »
Advertisements
Press ERASE when you are editing the User Menu itself, not when selecting items from the Main menu to add/remove to the User Menu.
Ok, it works, but only for cameras with ERASE button.  Cameras without this button need another button, e.g. SHOOT HALF from the old user menu function.

I assume this was pressing the RIGHT button to add the item to the user menu?
Can you post the German language file for me to test with please.
Now is all fine. I have updated the German language in rev. 2781.

msl
CHDK-DE:  CHDK-DE links

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: User Menu Editor module.
« Reply #11 on: 16 / May / 2013, 07:15:00 »
1) Edge overlay, Zebra & Histogram are really just fancy OSD stuff.   Is there a better way to roll them into the OSD menu? (like Grid, Misc values, state display, ...  and colored icons)

I think, Edge overlay, Zebra & Histogram are important photographic functions => main menu. The other stuff is more like a setting function  => OSD settings.

msl
CHDK-DE:  CHDK-DE links

*

Offline philmoz

  • *****
  • 3138
    • Photos
Re: User Menu Editor module.
« Reply #12 on: 16 / May / 2013, 07:21:50 »
Press ERASE when you are editing the User Menu itself, not when selecting items from the Main menu to add/remove to the User Menu.
Ok, it works, but only for cameras with ERASE button.  Cameras without this button need another button, e.g. SHOOT HALF from the old user menu function.

Nothing is ever easy :(

I'll add an option to the popup menu to remove the current item.

Edit: Popup menu item added. I've also enabled SHOOT HALF to trigger the 'remove item' action.

Phil.
« Last Edit: 16 / May / 2013, 08:08:25 by philmoz »
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: User Menu Editor module.
« Reply #13 on: 16 / May / 2013, 08:33:31 »
Edit: Popup menu item added. I've also enabled SHOOT HALF to trigger the 'remove item' action.
Perfect!!! Thanks for your patience.

111 cameras are a big challenge for each developer.

msl
CHDK-DE:  CHDK-DE links


Re: User Menu Editor module.
« Reply #14 on: 16 / May / 2013, 20:57:12 »
Did you give any thought to the idea of adding an "execute script" menu item in addition the current "select script" menu item ?
I know we've discussed this before; but I'm still unsure how the UI could work for this - any thoughts?
How about this ? 

Changes to the User Menu Editor Select box - add a different line for script load vs script run :


Display script run vs script load with a differnt icon (can icons be disabled though?)


As above but add a Run or Load designation before the script title :
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3138
    • Photos
Re: User Menu Editor module.
« Reply #15 on: 16 / May / 2013, 21:40:08 »
Did you give any thought to the idea of adding an "execute script" menu item in addition the current "select script" menu item ?
I know we've discussed this before; but I'm still unsure how the UI could work for this - any thoughts?
How about this ? 

Changes to the User Menu Editor Select box - add a different line for script load vs script run :

Display script run vs script load with a differnt icon (can icons be disabled though?)

As above but add a Run or Load designation before the script title :

Doesn't that lock you into always handling the script the same way?

I was thinking of a method where you could choose at the time you 'selected' the script from the user menu.
Perhaps the following:
- Press SET on the script item - popup an option box with the 'Load...' and 'Run...' options.
- Press LEFT - load the script as the active script.
- Press RIGHT - load the script and run it.

The SET popup could include instructions for the 'LEFT' and 'RIGHT' shortcuts.

Not sure if this will work, there may be conflicts with other button usage.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

Re: User Menu Editor module.
« Reply #16 on: 17 / May / 2013, 00:12:09 »
Doesn't that lock you into always handling the script the same way?
Well,  I'm always a big fan of leaving flexibility in a UI.  But from my perpective,  I can only really see two things I would want to do from the user menu with a script.  The first is to select what script runs when next I press the shutter button in <ALT> mode.  And the other is to run a script immediately.   The former lets me quickly pick the script I want to use as soon as I power the camera in a shooting situation.  The later lets me run scripts I've written to setup the camera's state - the equivalent of the C1 & C2 setting on the more advance G series cameras.

Quote
I was thinking of a method where you could choose at the time you 'selected' the script from the user menu.
I guess this will come down to user preference.  I realize its a bit ironic as I've made it clear I'm not a big fan of the CHDK key shortcuts ( as my patch to allow users to disable them shows).  But being able to have the user menu launch "On Direct" when entering <ALT> mode lets me really quickly change the setup things related to what I'm working on.  While this is really handy debugging CHDK C code mods (and there are currently only 6 or 7 of us active in that area) its also nice for working with scripts and even more handy once you understand it with setting things up for the day-to-day shooting needs you might have that take a "long time" to navigate in the CHDK menus (see my post from yesterday).

So I guess I'm voting for "one click" mode and hoping that does not violate the Amazon patent.  From the user menu,  I want things to happens when I click on the right away.  More menus / popups to navigate defeats the purpose. KISS.

But as always,  that's just one man's opinion.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: User Menu Editor module.
« Reply #17 on: 17 / May / 2013, 19:15:29 »
Edit: Revision 2778 adds the ability to have simple modules in the User Menu.
Modules that don't appear in the other menus (e.g. CPU INFO) can be added to the user menu for quick access. Probably of most use when developing a new module.
So does this essentially add the ability for someone to create a special function of some sort that can be compiled to a module and distributed separately from the CHDK zip file? 
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline philmoz

  • *****
  • 3138
    • Photos
Re: User Menu Editor module.
« Reply #18 on: 17 / May / 2013, 19:20:30 »
Edit: Revision 2778 adds the ability to have simple modules in the User Menu.
Modules that don't appear in the other menus (e.g. CPU INFO) can be added to the user menu for quick access. Probably of most use when developing a new module.
So does this essentially add the ability for someone to create a special function of some sort that can be compiled to a module and distributed separately from the CHDK zip file?

Yes - so long as it conforms to the 'simple' module paradigm.
It has to be invoked with the 'run' function and can't have any more complex interface.

You don't need to add it to the user menu, you can run it from the file browser. The user menu just makes it more convenient.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)

Re: User Menu Editor module.
« Reply #19 on: 17 / May / 2013, 19:35:14 »
You don't need to add it to the user menu, you can run it from the file browser. The user menu just makes it more convenient.
Okay - thanks.   Not to complain here, but isn't it kind of a very specialized bit of functionality unlikely every to be useful to anyone but someone developing CHDK code?
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics