-
Content Count
22 -
Joined
-
Last visited
-
Days Won
2
Posts posted by nichewebstrategies
-
-
What you are saying is that instead of passing in the Document HTML from the built in browser via a variable to your plugin, you want to access the browser document HTML directly from the custom plugin that you are writing, correct?
Looking at the plugin API, there is no way to access the browser HTML directly in a custom plugin using the plugin API. That is something basic that needs to be made available via the plugin API in my opinion.
That said, it might be possible to walk the WPF object tree and gain access to the browser object and retrieve it, but that is a pretty advanced topic and I am not 100% that would even work.
- 1
-
Yes, I just noticed this today. Not good.
As soon as the compile process completes, Kaspersky deletes the file saying its a Generic Win32 Trojan.
-
If you are selling bots and need to test how it works on different operating systems you can take advantage of Microsoft's Free Virtual Machine program.
You can download Windows XP, Vista, Windows 7 and Windows 10 virtual machines here:
https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/
You will save yourself some headaches and support requests by doing a little testing ahead of time.
- 3
-
Are you a developer? If so, you can code your own Firefox/Chrome integration using Selenium.
I believe the other plugins that you mentioned are powered by this toolkit. It's the only way that I know of to add the functionality you are wanting to UBot.
-
Hey Frank,
You will want to take a look at SQL.js to accomplish this.
https://github.com/kripken/sql.js
I've used this, but not in UBot. The challenge is loading the db file and saving the db file and I had to use the persistent database example to make it work for my project. I don't think that method will translate well to UBot though.
https://github.com/kripken/sql.js/wiki/Persisting-a-Modified-Database
Take a look at the web worker example as I think that will be the best bet unless you are using node.js.
Hope this helps.
-
Just a heads up. If you are planning on code signing your ubot exe files you may be in for a surprise. I've tried signing basic bots using my code signing cert and they don't execute after the signing process.
No error, no message. They simply don't work.
If I build a custom c# app and code sign it, everything runs as expected, no issues.
I'd be curious if anyone else has run into the same issues and if it is even possible to get it working.
-
Are the UPC or item stock numbers available and consistent across all sites? That would be one way that you could link the products together without having to match on product title which is going to be extremely hard to do.
-
Give this a try....
navigate("http://ushomeworkforce.com/rss/index.htm","Wait") wait for element(<id="menu">,"","Appear") change dropdown(<id="menu">,"Random") wait(3) set(#theURL,$scrape attribute($element offset($element child(<tagname="h4">),0),"fullhref"),"Global")
Adjust the wait time as needed.
-
Yes I'm just giving the software away as a bonus for something that people were going to buy anyway. Just give them a reason to buy through your link. You can do this with hundreds of affiliate programs especially if your software is unique. It beats having to setup sales funnels and etc. Don't get me wrong i still sell my software but the affiliate income is just so much easier as you don't have to worry about charge backs or dealing with customer service issues.
If you don't mind me asking, how are you reaching buyers? Do you have a large list you send offers to on a regular basis or do you create review web sites and offer your bots as a bonus from there? Social media promotion (twitter, facebook, etc.)?
-
If you are subscribe to ubot updates you can see by clicking "View>Bion console".
It suppose to be for users to create their own plugin.
If you have skype send me your ID and i will invite you to a group that discusses that.
Thanks for the clarification. I'll add it to the list.
-
Nicely done! If hope you tackle bion console on your tutorials as well.
Thanks. Not sure what bion console might be though. Can you explain?
-
At the bottom of the page, there is a dropdown box that shows the number of pages that are available. The value attribute of each option in that dropdown has the url for that particular page.
What I would do is use the following code to grab those urls and put them in a list, then you can loop through the list and navigate to each page to grab the data.
add list to list(%pages,$scrape attribute(<value=w"/en-gb/auction-catalogues/1818-auctioneers/catalogue-id-sr1810075/search-filter*">,"value"),"Delete","Global")
Hope this helps.
- 1
-
I'm putting together a tutorial website centered around web automation, but a big part of that will be based on UBot.
I've created 4 tutorials on how to create UBot plugins which seems to be a pretty popular topic these days. Most people don't know how to get started and what software is involved so hopefully this will help those who want to learn get started.
Let me know if there is a particular concept you would like for me to focus on for upcoming tutorials. I'd much rather write tutorials around what people want to see or want to learn about.
http://www.webbottutorials.com/
- 4
-
Step by step tutorials with more to come. Starting with the basics now, but more complex/real world examples are on the way.
- 1
-
I'd like to know the solution as well - please post to this thread.
Frank
Hey Frank,
The solution for me was to get a DEV key. Once I added the development key to my plugin, I was able to compile and test. Apparently it doesn't work without one.
-
No worries, glad to help.
-
It's pretty simple to do.
In the constructor of your plugin where you are defining your parameters, you will set the options of your dropdown like so:
_parameters.Add(new UBotParameterDefinition("My Awesome Parameter", UBotType.String)); _parameters[0].Options = new List<string> { "option 1", "option 2", "option 3" };
Hope this helps.
- 1
-
Thanks, Nick. Unfortuneatly, this did not resolve this issue for me.
-
Thanks, Jason. I opened a plugin key request ticket. Looking forward to finding out how I can get this working.
-
Thanks, Pash. I've got some great ideas for plugins that I'd like to implement and I'd like to upgrade to the developer version but if I can't compile the bot for testing it really doesn't make much sense to upgrade. Hope this gets fixed soon!
-
Just started to create some custom plugins and when I compile the bot, it crashes when I try and open it up.
It works fine if I am within Ubot studio, but once I compile the bot I can't run it.
Currently, I don't have a plugin registration key. So I guess the question is can I run compiled bots with a plugin that has not been assigned a plugin key?
I thought you could, but you would just get the nag screen. In my case, it opens for 5 seconds and closes with no error.
If I remove the plugin reference, compile the bot and run it, the bot runs fine. It just seems to be when the plugin is activated it won't run,
I am running Ubot Studio Professional, Windows 10, .NET Framework 4.6.
Any help/knowledge would be most appreciated!
Edit Text
in General Discussion
Posted
If you are interested in a JavaScript only solution, give this a try: