Jump to content

myksharma

Active Members
  • Posts

    28
  • Joined

  • Last visited

myksharma's Achievements

  1. thank you so much saudumm.. this really added the needed logic to my program. thanks again.
  2. $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Switch $GUI_CHECKED Case GUICtrlRead($OS) $strOS = True $strOSPlusApps = False Case GUICtrlRead($OSPlusApps) $strOS = False $strOSPlusApps = True EndSwitch ;Case $msg = $OS ;$strOS = True ;$strOSPlusApps = False ;Case $msg = $OSPlusApps ;$strOSPlusApps = True ; $strOS = False Case $msg = $Finish It didn't enumerate the results in the .vbs output-- TSEnv("OSOnly") = "" TSEnv("OSWithApps") = ""
  3. Koda Section-- $OS = GUICtrlCreateRadio("Select OS Only", 110, 312, 129, 25) GUICtrlSetFont(-1, 10, 800, 0, $GUIFont) $OSPlusApps = GUICtrlCreateRadio("Select OS & Apps", 280, 312, 129, 25) GUICtrlSetFont(-1, 10, 800, 0, $GUIFont) GUICtrlSetState($OSPlusApps, $gui_checked) From the function-- $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $OS $strOS = True $strOSPlusApps = False Case $msg = $OSPlusApps $strOSPlusApps = True $strOS = False Vbs filewrite-- IF $strOS Then FileWriteLine($OutFile, "TSEnv(" & Chr(34) & "OSOnly" & Chr(34) & ") = " & Chr(34) & $strOS & Chr(34)) IF $strOS Then FileWriteLine($OutFile, "TSEnv(" & Chr(34) & "OSWithApps" & Chr(34) & ") = " & Chr(34) & $strOSPlusApps & Chr(34)) IF $strOSPlusApps Then FileWriteLine($OutFile, "TSEnv(" & Chr(34) & "OSWithApps" & Chr(34) & ") = " & Chr(34) & $strOSPlusApps & Chr(34)) IF $strOSPlusApps Then FileWriteLine($OutFile, "TSEnv(" & Chr(34) & "OSOnly" & Chr(34) & ") = " & Chr(34) & $strOS & Chr(34))
  4. Thanks Saudumm. this works fine however I'm importing the radio button selection as a variable in a .vbs script that executes after my program finishes. Now, the program has radio button#2 selected as default however when I directly finish the program, it doesn't show me the value of radio button#2 in the .vbs script. If I select radio button#1 then it works as expected.
  5. Hey everyone. looking for some quick answer to this-- I'm using couple of radio buttons created via GUICtrlCreateRadio function. My intent is to have one of those selected by default upon program launch, can this be achieved & if yes, how. thanks in advance..
  6. Your're right Jfish.. I got another one to work that way. .thank you all..
  7. Yes, that's the only purpose I've the .ini for. The executable only will read the static info from the .ini file.
  8. Main section from the .ini file, all the variables which are capturing those from the .ini file, I don't see them in the GUI.
  9. Yes, so now I do see a difference in fonts however it's still not picking up the other settings from .ini file like the description field etc. any suggestions!
  10. inside the koda form section?
  11. I've shared both the files, please lemme know if you find anything..
  12. I've tested a small demo to see if it reads from an .ini & it did however with this program, it's just looking at the .ini file.
  13. I've tried re-checking the code but I really don't know what is not making it to run. looks to be a silly thing, probably someone could have a look & suggest!
  14. Is there anything that's required other than keeping the file in the scripts directory. For instance, anything to tick during compilation..
×
×
  • Create New...