Jump to content


Photo

upload list and print text


  • Please log in to reply
15 replies to this topic

#1 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 05:20 PM

How do I type text from a list into a field? :blink:

I am using the ui command "open file" so the user can choose a list topic.txt

I then want to "type text" into a field from the list one item at a time.

I get the following message when I "type text"


"Warning you have exceeded the range of the list"

(see attached)
B)

Attached Files


It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#2 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 12 June 2012 - 05:46 PM

Did you add list to list first? I don't see that in the screenshots...

Then use whatever variable your open file is set as, as the list to add?

#3 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 05:56 PM

yeah that is what I thought, but I am not having any luck. Probably just something simple. I will probably figure it out after a nap. :huh:

It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#4 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 12 June 2012 - 06:05 PM

If you want to post up a little of what you got, I will be more than happy to help you.

#5 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 07:36 PM

Thanks!

I set-up a little test loop. (see attached)

ui open file("test:", #test)
loop(2) {
add list to list(%testing, %test, "Delete", "Global")
type text(<name="text0">, $next list item(%testing), "Standard")
}

Attached Files


It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#6 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 12 June 2012 - 07:53 PM

Here you go:

ui open file("test:", #test)
add list to list(%testing, $list from file(#test), "Delete", "Global")
loop(2) {
type text(<name="text0">, $next list item(%testing), "Standard")
}

You left out $list from file when you were adding list to list. ;)

I also moved the add list to list outside of the loop.

HTH,
Justin

#7 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 08:03 PM

boooyahhh! mwaha ha ha ha!

It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#8 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 08:08 PM

It gave me some really weird looking output - attached.

Attached Files


It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#9 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 12 June 2012 - 08:12 PM

It gave me some really weird looking output - attached.

That has something to do with the format of your file.

Is it in standard UTF format?

#10 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 12 June 2012 - 08:21 PM

.txt file

It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#11 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 12 June 2012 - 09:44 PM

What is it encoded with?

Does it have foreign characters?

Try restarting your bot and trying again...

Working perfectly fine on my end.

#12 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 13 June 2012 - 05:07 PM

weird. it is still doing it. not sure about encoding; i just typed regular words into a .txt file.

Attached Files


It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#13 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 13 June 2012 - 05:20 PM

When I tried out a .rtf file instead I got this

Attached Files


It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#14 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 13 June 2012 - 10:46 PM

What is the website that you are typing text into... And the specific field?

That might be the culprit.

#15 AutomationNinja

AutomationNinja

    Advanced Species

  • UBot Users
  • PipPipPip
  • 1243 posts
  • LocationCanada
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Dev

Posted 14 June 2012 - 06:48 AM

well I was doing this in aweber, but I thought that might of been the problem as well so I tried the search field in google with the same results.


I don't know if it could have anything to do with windows (Is that even a possibility?). I created a file a file on a mac and brought that into windows but same result.


I am kinda stumped on this one.
:huh: :blink: :huh:

It is never too late to click the like button ---------------------------------------------------------------------------------------------->

UbotObfuscatorBanner.png

Happiness is the real goal
 
 
 
 
 



 


#16 a2mateit

a2mateit

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1450 posts
  • OS:Windows Vista
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 14 June 2012 - 12:16 PM

Not sure whats going on here...

Working fine on my end.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users