Jump to content
UBot Underground

Anyway To Open HTML Window From UI?


Recommended Posts

I incorporated The Best Spinner into my bot and used an HTML Window in the tools menu to allow the user to enter their login details. Is there anyway to have a button on my regular UI that if the user clicks will open that HTML Window?

Link to post
Share on other sites

You could use something like this:

 

ui button("Credentials") {

set(#username, $prompt("Please Enter Your Username"), "Global")

set(#password, $prompt("Please Enter Your Password"), "Global")

}

 

 

John

Link to post
Share on other sites

You could use something like this:

 

ui button("Credentials") {

set(#username, $prompt("Please Enter Your Username"), "Global")

set(#password, $prompt("Please Enter Your Password"), "Global")

}

 

 

John

Nice John,

 

That will come in handy for sure!

Link to post
Share on other sites

Hey John I had dreams though of making my UI HTML Windows all different UI's and having the main uBot interface just 1 big options menu to open up the different UI's. That way the UI HTML Windows, now acting as UI's wouldn't have a browser, Run/Stop/Pause buttons and could be size customized and prevented from being maximized and screwing with the layout. That dream can only really happen though if I am able to make the windows open from the regular UI. So think of the regular UI as just 6 big buttons each one would open a different UI HTML Window which would be the actual UI's rather than tabs. If anyone knows a way of doing this it'd be much appreciated.

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