Jump to content
UBot Underground

Recommended Posts

Hey everyone,

 

Been trying to see if there is a simplified way to edit/update Ubot code for some time now in its text version.  Personally, I find this is useful to ensure that I don't miss a single instance of any updates I have (e.g. turning a list into a table, etc.).  I have found the following links, but wanted to see if anyone else had a better solution.  While I have found that the Ubot editor in general helps by color coding and displaying text code, it does not allow for advanced functions like 1) hi-light all instances of a found search term, 2) replace all instances of a text, 3) folding of code, etc.

 

I know most here have there own preferred text editor, but was trying to set up a defined language for Notepad++ that would allow for this.  Problem is, I haven't really had a lot of time to set it up.  I just wondered if anyone else had any interest in this arena and if so, would they be willing to help out.  Better yet, if anyone already has a defined Ubot language file, I'd really appreciate it!

 

I am leaving links to what I have found so far below...

 

 

 

 

Link to post
Share on other sites

I was also thinking to do that, since I regularly use Notepad++ when I work with UBot, but I didn't find time for it.

 

However, as Urban mentioned, we might wait for v5 too see if features like search and replace will be available in code view...the problem is that if you use image recognition you need to take care what you copy to Notepad++, since images from code view won't get copied.

 

If this won't be available I'm willing to help with this project.

Link to post
Share on other sites

Got some work done

 

This is WOEFULLY underdone.  So a few things...

 

1) I am colorblind, so either deal with it or format it to your taste :)

2) Comments that span multiple lines are not recognized.  It has something to do with the settings in "Folder & Default" I think.  If not there, then probably "Operators & Deliminators"

3) I had issues with having keywords show up when next to "(".  For instance, "set" was easy to spot, but not "set table cell(" since it was next to an "(".  I was able to fix this by specifying a "Folding in comment style" under the "Folder & Default" tab.  I suspect it may also be doable from the "Operators & Deliminators" tab as well, but am not certain

4) Numbers are not showing up in a different color.  I cannot figure out how to set them to grey or something similar

5) Other default operations beyond the basics I use are not specified, so you'll have to enter them in under "Keywords List", separated by spaces and "s

6) I have not created a "Keyword List" for Ubot Functions in a different color.

7) I have delineated between keywords that are folding (i.e. loop, loop while, and define) to help them stand out more.  If you think of others, just let me know.

 

Let me know what you think.  You'll have to import under "Language">"Define your Language" from within Ubot.

 

Grab the attached file, import, and see what you think.  I'd appreciate any feedback on how to either improve some of the above comments.  That or feel fee to export on your own and re-upload.

 

 

UBOT 4 - Notepad++ CODE View.xml

  • Like 2
Link to post
Share on other sites
  • 2 weeks later...
  • 1 year later...
  • 2 weeks later...
  • 2 years later...

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