Jump to content
UBot Underground

Default value in a ui text box possible?


Recommended Posts

Hi,

 

 

I'm using a UI text box to allow a user to set a variable value for a time delay in the script. Is there a method to insert a default value into that ui text box? Thanks.

Sadly not. I know this has been requested. The ability to preload these with data would be great.

 

My approach when doing a bot is to code in an if statement that checks if the ui entry is $nothing and if it is then assume a default value.

 

Andy

Link to post
Share on other sites

Hi Andy,

 

 

Thanks, the tip about setting a default when the ui text box is empty is a nice temp solution. When setting up the If(evaluate qualifier)/then check, using value 1 = value 2 where value 2 = $nothing works great. Also found you can just set value 2 = an empty string value.

 

Thanks

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...