Jump to content

zorglub

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by zorglub

  1. Would it be possible to add a new option to substitute a string by another string when koda generates/imports the form code: in Koda, options: _PO_ = "[" _PD_ = "[$" _PC_ = "]" in Koda, checkbox name: GUIArray_PD_IDCHECKNIGHT_PC_ Those substitution strings could even be user definable to be compatible with every script. Not pretty, but it may work
  2. Hello, I'm a happy Koda user but couldn't find a way around this (except manually renaming the variables after the GUI is imported into my .au3) so I here's a small request: - Allow arrays to be used as object name, not only variables It would be useful to read/write from GUI controls by index and not only by specific variable name. Here's an example (but maybe there is a better way of doing this?) In Koda: checkbox 1 could be named GUIArray[iD_CHECK_NIGHT] instead of ID_CHECK_NIGHT checkbox 2 could be named GUIArray[iD_CHECK_DAY] instead of ID_CHECK_DAY In the .au3: Dim $OptionArray[10] Dim $GUIArray[10] Global Const $ID_CHECK_NIGHT = 1 Global Const $ID_CHECK_DAY = 2 $OptionArray[0] = 2 For $i = 1 to $OptionArray[0] $OptionArray[$i] = GUICtrlRead($GUIArray[$i]) Next instead of: $OptionArray[1] = GUICtrlRead($ID_CHECK_NIGHT) $OptionArray[2] = GUICtrlRead($ID_CHECK_DAY) and so on... Thanks
×
×
  • Create New...