Jump to content
UBot Underground

Check The Checkbox With Settings From File


Recommended Posts

Hello fellow uBotters,

 

My bot creates a settings file which is saved in the same root folder as the bot. One of the settings in this file is suppose to check the checkbox when I read the file and import all user-defined settings before the bot starts working. The variable that handles this checkbox value is being populated correctly, but I want the checkbox to be checked from the UI as well. I am using the UI HTML Panel.

 

Any thoughts you could share?

 

 

Thanks!  :)

Link to post
Share on other sites

Here's how you can have a checkbox that can be checked from UI or set from a variable

ui html panel("Married? <input type=\"checkbox\" variable=\"#isMarried\" fillwith=\"checked\">",100)
comment("read file")
set(#isMarried,"true","Global")
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...