Jump to content


Photo

a perfect solution to ui


  • Please log in to reply
90 replies to this topic

#1 Seth Turin

Seth Turin

    Administrator

  • Administrators
  • 1045 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 September 2010 - 12:32 AM

I had a brainstorm just now and I wanted to share it with you guys to see what you think.

What if I created a "ui html" element? The idea here is that when you bring this element into the script, it will replace the entire ui area with an html panel. It would be like a stripped down web browser. The idea isn't to be able to surf the web, but rather to be able to custom design your ui with html, css, and javascript if you so desire.

To get it to interact with your script, you'll use special attributes in your form tags. So for instance:

<input type="text" variable="#username" fillwith="value" />

This would create a text box that fills the #username variable with whatever is in the value attribute whenever you type in the box. I'd like to also implement buttons, which may be used like this:

<button runsub="clearlist">Clear List</button>

This would run the "clearlist" sub every time someone hit the button. Haven't fully decided how I'd implement this, so I may start with the other part first.

Think about the control this would give you. You could really design the ui section exactly how you'd like to. You could put in a logo and a pretty background, you could have a link to your home page (it would have to open in a new window), you could even use javascript and flash if you wanted.

Of course, you could also use all the current commands and not think about the html, if you so choose.

I'm getting excited about it, so let me know what you think, and if it sounds like a winner, I'll get working on it.
All the marvels of the modern world exist because of automation. Automation lets us be more human, and more than human. Visit my blog.

#2 IRobot

IRobot

    Advanced Member

  • Members
  • PipPipPip
  • 511 posts

Posted 18 September 2010 - 03:25 AM

Great idea Seth,

I think that this would be a big improvement on the current UI, if :
- The user could get/set values on the UI, and field validation is possible.
- The user could; code their own CSS to style (including displaying images), and; Javascript to interact with the UI.
- All HTML elements could be implemented.

+1 from me. ;)

#3 Net66

Net66

    Speshal MemBer

  • UBot Users
  • PipPipPip
  • 564 posts
  • LocationSomerset, UK
  • OS:Windows 7
  • Total Memory:6Gb
  • Framework:v4.0
  • License:Dev

Posted 18 September 2010 - 03:53 AM

Sounds like a great idea. Where is the html loaded from? Do we have to host that or can it be built into a variable in the bot so it would be something like...?

set #html "<code here>"
ui html

Also can we have some sort of pre-process that gets run when the ui is being processed so we can potentially load up values from a txt file and fill the input boxes in advance? This way we could save and load the last settings used when the bot was last run?

Andy

#4 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 September 2010 - 04:13 AM

EXCELLENTO !!!

That is exactly how i required.

This would be perfect. I am really excited now :D

absolutely a big +1.

Also if possible I just remembered to mention an icon integration ability to the compiled bots??

Praney :)


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#5 Super Dave

Super Dave

    Advanced Member

  • Members
  • PipPipPip
  • 133 posts

Posted 18 September 2010 - 08:59 AM

+1 from me.

#6 JohnB

JohnB

    Advanced Member

  • UBot Users
  • PipPipPip
  • 3350 posts
  • LocationNJ
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 September 2010 - 09:54 AM

I think that's a great idea Seth! I would echo Andy's question about the loading process. How would the space "constraint" be implemented? In other words, if I created a black background and centered white text on it, would it be centered in the allocated space, or centered on the html page?

I am thinking , despite the immense popularity of css, that tables might work very well in this case to keep aesthetics consistent. Just a thought.

John

#7 Seth Turin

Seth Turin

    Administrator

  • Administrators
  • 1045 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 September 2010 - 02:32 PM

I think the best way to answer some of these questions will be to prototype it in a beta, let you guys play with it, and then we can figure out what else we need to fix.
All the marvels of the modern world exist because of automation. Automation lets us be more human, and more than human. Visit my blog.

#8 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 18 September 2010 - 03:02 PM

Sounds like a plan chief!


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#9 Seth Turin

Seth Turin

    Administrator

  • Administrators
  • 1045 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 September 2010 - 04:40 PM

alright guys it's uploaded. attached is an example bot to show how it works. look through the html and note that the inputs have both the "variable" attribute and the "fillwith" attribute. this is how ubot knows to link them to the script. give it a try, see if you like it, keep an eye out for bugs. note also that since this is a beta release. the update does not to the compiled bots or ubot reader. once we get the bugs worked out, it will apply everywhere.

Attached File  html ui test.ubot   9.54K   99 downloads
All the marvels of the modern world exist because of automation. Automation lets us be more human, and more than human. Visit my blog.

#10 Kreatus (Ubot Ninja)

Kreatus (Ubot Ninja)

    Custombotsolutions.com

  • UBot Users
  • PipPipPip
  • 1825 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 September 2010 - 05:29 PM

Nice one seth! This will be a great alternative for our hunger in UI customization.

I hope you will release a documentation about it soon on which values we can integrate with the script..

Thanks!

Edit: Seth I think you forgot to integrate this function to UI window? I tried to add UI html and it shows nothing..

#11 Seth Turin

Seth Turin

    Administrator

  • Administrators
  • 1045 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 September 2010 - 06:32 PM

Nice one seth! This will be a great alternative for our hunger in UI customization.

I hope you will release a documentation about it soon on which values we can integrate with the script..

Thanks!

Edit: Seth I think you forgot to integrate this function to UI window? I tried to add UI html and it shows nothing..


I didn't really forget.. I just haven't done it yet. probably next update.

as far as documentation is concerned, it's really pretty simple. I'll probably do a tutorial, but essentially, you just design it in html, and you put the variable and fillwith attributes in the things you wanna use as ui elements.
All the marvels of the modern world exist because of automation. Automation lets us be more human, and more than human. Visit my blog.

#12 Gogetta

Gogetta

    Advanced Member

  • Moderators
  • 581 posts
  • OS:Windows Vista
  • Total Memory:4Gb
  • Framework:v3.5
  • License:Dev

Posted 19 September 2010 - 07:03 PM

First off I want to say thank you for adding this into Ubot. Next I want to share some things I would ike to see added to this.

I think we should be able to drag and customize the browser window. I know that you guys don't want to give us the option to remove the browser due to security reasons, but please make it so that we can customize the size of the window.

It would also be great if we can have the option to show the UI at the top of the browser, or underneath. Also for along time I have requested a way to start the subs and scripts with buttons instead of the play button, well with our own UI can you create away the we can link a variable to start the scripts and subs from buttons?

Edit: Anyone else seeing this new feature opening the door for Ubot skins? Hey Seth maybe offer some default skins down the road, and also add an option to allow users to purchase skins from the ubot store.

#13 Kreatus (Ubot Ninja)

Kreatus (Ubot Ninja)

    Custombotsolutions.com

  • UBot Users
  • PipPipPip
  • 1825 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 September 2010 - 09:59 PM

I think we should be able to drag and customize the browser window. I know that you guys don't want to give us the option to remove the browser due to security reasons, but please make it so that we can customize the size of the window.


+1 on this. Bigger UI area on compiled bot the better. I think users didnt really need a big browser area in compiled bot.. I know seth will implement this soon.. :)

#14 AKprogrammer

AKprogrammer

    Member

  • UBot Users
  • PipPip
  • 24 posts
  • LocationUSA

Posted 19 September 2010 - 11:51 PM

Would it be possible to have the option to set an external URL as the source of the Html? And still have the Fill-Field command pull information from the HTML?

This would solve my problem of having a custom UI because I could pull any data I want from my database and pass it to UBot. That would be awesome... :lol:

#15 Seth Turin

Seth Turin

    Administrator

  • Administrators
  • 1045 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 19 September 2010 - 11:58 PM

the html parameter resolves, which means you can put sub parameters in it, which means you can load files, call subs, or do whatever else you need to do. so you can do a lot with making the html dynamic.
All the marvels of the modern world exist because of automation. Automation lets us be more human, and more than human. Visit my blog.

#16 Net66

Net66

    Speshal MemBer

  • UBot Users
  • PipPipPip
  • 564 posts
  • LocationSomerset, UK
  • OS:Windows 7
  • Total Memory:6Gb
  • Framework:v4.0
  • License:Dev

Posted 20 September 2010 - 02:43 AM

This sounds great. Unfortunatly I've got a live bot to finish up today so I can't upgrade to the beta just yet. But hopefully I'll be in a position to update and try it out soon!

Andy

#17 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 September 2010 - 02:44 AM

WOW!! That was quick, I feel like saying I love you Seth but you know in a brotherly manner.

Haven't tried it yet but I am just jumping on it now..

Will get back to say more.

THANKS SETH!!


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#18 Praney Behl

Praney Behl

    Master Blaster

  • UBot Users
  • PipPipPip
  • 2371 posts
  • LocationBrisbane, Australia
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 September 2010 - 03:25 AM

Hey Seth would this HTML area be fixed like the size of the normal UI or can it be changed. It will be really good to be good to be able to increase it and decrease the size of the browser instead, as I think you said before?

Praney


Complete WordPress Management Tool - WP Master Blaster
Get 100's of links from Powerful Wiki Sites : Wiki Master Blaster

The number of possibilities to do something with a tool you master, are only limited to your imagination. Try to think outside of the box.


#19 New Guy

New Guy

    Advanced Member

  • UBot Users
  • PipPipPip
  • 314 posts
  • LocationAtlanta, Ga
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 September 2010 - 04:44 AM

Ok so here's the real question here. I am not very savy with HTML or CSS so are there any Ubot guys here who are going to be willing to do custom UI designs?

This could be pretty profitable for you HTML/CSS gurus in the long run..

#20 New Guy

New Guy

    Advanced Member

  • UBot Users
  • PipPipPip
  • 314 posts
  • LocationAtlanta, Ga
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 20 September 2010 - 04:58 AM

Also Seth,

Can you take a look at this??

http://ubotstudio.co...way-to-do-this/




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users