Jump to content
UBot Underground

Convert a block-text-UI field in a List


Recommended Posts

Hi guys,

 

I'm getting nuts.

 

I have a block text filled like this :

 

____________________

keyword 1

keyword 2

keyword 3

_____________________

 

How can I make a list out of it ???

 

I have tried :

ADD TO LIST

$list from text

But $list from text doesn't seem to work with a carriage return as separator :unsure: (or i couldn't find a way to tell Ubot that the separator was a carriage return)

 

I have found this, which works but is plain stupid imho :

SAVE TO FILE

content of the block-text in a temporary folder

ADD TO LIST

content of the temp file created

But this second solution is SOOOOO stupid :o that I can't believe it's the only one working.

 

Any idea ?

 

Thanks !

 

Cheers,

Link to post
Share on other sites

Can you provide the URL you're trying to pull the data from?

 

 

Hi,

 

i'm not trying to pull anything so far.

 

I just want a UI block text from Ubot containing items on each lines to become a list variable in Ubot... without doing anything weird.

 

Thanks,

 

Cheers,

Link to post
Share on other sites

Hi,

 

i'm not trying to pull anything so far.

 

I just want a UI block text from Ubot containing items on each lines to become a list variable in Ubot... without doing anything weird.

 

Thanks,

 

Cheers,

 

Ohhhh, I'm an idiot, I didn't understand your question. I thought you were trying to pull data from a URL that was in block text format and turn it into a list.

 

There is an incredibly easy way to turn a set of block text from the UI of uBot into a list. Here it is:

 

http://img442.imageshack.us/img442/8683/userinterfaceexample.jpg

  • Like 1
Link to post
Share on other sites

Ohhhh, I'm an idiot, I didn't understand your question. I thought you were trying to pull data from a URL that was in block text format and turn it into a list.

 

There is an incredibly easy way to turn a set of block text from the UI of uBot into a list. Here it is:

 

http://img442.imageshack.us/img442/8683/userinterfaceexample.jpg

 

THANNNNNNNNKKKKKSSS YOU !!!!

Link to post
Share on other sites

Ohhhh, I'm an idiot, I didn't understand your question. I thought you were trying to pull data from a URL that was in block text format and turn it into a list.

 

There is an incredibly easy way to turn a set of block text from the UI of uBot into a list. Here it is:

 

http://img442.imageshack.us/img442/8683/userinterfaceexample.jpg

 

Could you repost this image? I'm interested in knowing how to do this too, but it looks like the posted image no longer is showing up...

 

Thanks!

Link to post
Share on other sites

Ohhhh, I'm an idiot, I didn't understand your question. I thought you were trying to pull data from a URL that was in block text format and turn it into a list.

 

There is an incredibly easy way to turn a set of block text from the UI of uBot into a list. Here it is:

 

http://img442.imageshack.us/img442/8683/userinterfaceexample.jpg

 

Sorry for the double post. Weird...now I can see the image from my home computer. Nevermind! :)

Link to post
Share on other sites
  • 4 years later...

Damn, I needed just this but the image is gone. Now I know why everyone uses code view examples here! :P

 

Try this:

ui block text("", #block)
add list to list(%block, $list from text(#block, $new line), "Delete", "Global")
  • Like 1
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...