Load Event & Configuration Support
#1
Posted 25 February 2012 - 10:18 PM
The first thing I would like to see is a "on load" event, this will allow you to run code while a bot is started but before the run command is hit. This serves a few purposes, but most important my other request.
It would be a big help to have some sort of native functionality to assist with configuration files. For example, I want to store a username & password, the way I typically do it is have a textbox for each under Settings... and the first thing the bot does is loads the config.txt file into a list and assigns it to those text boxes. There is also a "save settings" button that will write out a configuration file. So the first time the bot is run, they enter the settings and hit "save". From then on, the settings are loaded automatically when the bot is run.
But these fields are blank when the bot is initially loaded, and will fill in when the bot is run. This is extremely sloppy, as it is very confusing seeing blanked out fields that get loaded when you "start" the bot. The other option is having a "load settings" button, just to display them. Again sloppy.
What would be ideal, is some system supplied support that allows us to write options to it and it saves it out, then these get loaded upon open. Anything, something that would make writing out persistent settings more manageable. The other option is to just use the config file directly, but you want to make it easier for end users and they should be able to edit settings from within the GUI environment and not be forced to only use a text file to edit these things. More so if you want to store the configuration data encrypted, you can't allow an option to edit the file directly as they can't write it out encrypted.
I'd love to see an onLoad event, but I would also would like to see some function that assists in this very common task that is a pain in the butt every time you need to do it. You only have two options, save the configuration as a list or as a table. Unless you really put a lot of time into the logic and create real complex configuration file, then you spend a lot of time on the write out and read in logic. I'd like a way to create variables that can be serialized easily, in a group and something other than just writing out a list or table object. That's good for simple and few settings, but nothing more than that.
#2
Posted 26 February 2012 - 10:12 AM
pftg4
#3
Posted 26 February 2012 - 10:14 AM
bob you can do this already if you have dev version you can put all that stuff in html panel and it loads when the bot is loaded
pftg4
How do you cause a function to "run" in the html area? I know how to assign one to button, but not to get it to run automatically.
#4
Posted 26 February 2012 - 10:17 AM
let me know how it goes
pftg4
#5
Posted 26 February 2012 - 10:18 AM
i don't have the dev version so i can't show you but instead of onclick() use onload() and assign i sub to it this will load when ui html panel loads at start of bot
pftg4
I'll give that a try and see if it works. I thought i tried that before and it didn't.
#6
Posted 26 February 2012 - 10:19 AM
Pftg4
#7
Posted 26 February 2012 - 10:20 AM
100% works not sure of the syntax tho
Pftg4
Actually I just spoke with someone who tried it, it doesn't work and it is something Eddie is trying to do sometime.
#8
Posted 27 February 2012 - 11:40 AM
100% works not sure of the syntax tho
Pftg4
Should have said 99% because it doesn't work. Then again you don't have dev so not sure why you would be 100% sure.
#9
Posted 27 February 2012 - 04:07 PM
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.
#10
Posted 27 February 2012 - 04:27 PM
Hey Praney,It sure can be done. You have the answer in your title.
Care to elaborate a little more? Or is this something that can only be done with the dev tool?
#11
Posted 27 February 2012 - 04:38 PM
Hey Praney,
Care to elaborate a little more? Or is this something that can only be done with the dev tool?
Mate you already have the Wiki Master Blaster, check the latest update.
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.
#12
Posted 27 February 2012 - 04:39 PM
i don't have the dev version so i can't show you but instead of onclick() use onload() and assign i sub to it this will load when ui html panel loads at start of bot
let me know how it goes
pftg4
Dave already answered it.
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.
#13
Posted 27 February 2012 - 05:21 PM
#14
Posted 01 March 2012 - 04:03 PM
surreal art | art community | adhd | gonilniki | kino spored
#15
#16
Posted 10 July 2012 - 07:41 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












