Jump to content


Photo

Type Text not working properly


  • Please log in to reply
9 replies to this topic

#1 Randy Role

Randy Role

    Advanced Member

  • UBot Users
  • PipPipPip
  • 56 posts
  • OS:Windows XP
  • Total Memory:3Gb
  • Framework:unsure
  • License:Pro

Posted 29 March 2012 - 06:28 AM

I'm using the type text command to write text to a text box, but it doesn't work all the time for some reason.

When it doesn't work, it just jumps through it and continues with the script.

The text is taken from ui textbox and it's never empty.

I can't find the problem. Any ideas?

Thanks in advance!

#2 Legend

Legend

    Advanced Member

  • UBot Users
  • PipPipPip
  • 1453 posts
  • LocationJapan
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 29 March 2012 - 07:23 AM

Try putting a wait before the type text command and see if that helps... Posted Image

All Are Welcome To Join Us At The NEW "Uncensored" UBot Forum

__________________________________________

... this message has been approved by me...

ola.gif


#3 Randy Role

Randy Role

    Advanced Member

  • UBot Users
  • PipPipPip
  • 56 posts
  • OS:Windows XP
  • Total Memory:3Gb
  • Framework:unsure
  • License:Pro

Posted 29 March 2012 - 07:25 AM

Already tried that, no success.

I also tried using the click command to click the textbox before the type text command, but no luck as well. :unsure:

#4 gabel

gabel

    Advanced Member

  • UBot Users
  • PipPipPip
  • 263 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 29 March 2012 - 07:32 AM

have you tried the change attribute command ?

#5 Randy Role

Randy Role

    Advanced Member

  • UBot Users
  • PipPipPip
  • 56 posts
  • OS:Windows XP
  • Total Memory:3Gb
  • Framework:unsure
  • License:Pro

Posted 29 March 2012 - 07:52 AM

have you tried the change attribute command ?


Nope! I searched for info how to use it, but I can't find any.

I did find info about 'change chosen attribute', but regarding to scrape info. :blink:

#6 JohnB

JohnB

    Advanced Member

  • UBot Users
  • PipPipPip
  • 3350 posts
  • LocationNJ
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 29 March 2012 - 07:55 AM

You use it the same way as type text...just choose the element with the element selector, change the dropdown to "Value" and insert the text you want to insert into the element.


John

#7 Randy Role

Randy Role

    Advanced Member

  • UBot Users
  • PipPipPip
  • 56 posts
  • OS:Windows XP
  • Total Memory:3Gb
  • Framework:unsure
  • License:Pro

Posted 29 March 2012 - 08:02 AM

You use it the same way as type text...just choose the element with the element selector, change the dropdown to "Value" and insert the text you want to insert into the element.


John


It works! Thanks everyone!

What's the difference between the type text and change attribute? is it recommended to use the change attribute over the type text?

#8 JohnB

JohnB

    Advanced Member

  • UBot Users
  • PipPipPip
  • 3350 posts
  • LocationNJ
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 29 March 2012 - 08:49 AM

It's just another option. It's useful when there is a large block of text...type text simulates typing text so in some cases it's more feasible to use change attribute.


John

#9 Randy Role

Randy Role

    Advanced Member

  • UBot Users
  • PipPipPip
  • 56 posts
  • OS:Windows XP
  • Total Memory:3Gb
  • Framework:unsure
  • License:Pro

Posted 29 March 2012 - 08:57 AM

I see.. and is there another command which does the same as the click command?

#10 JohnB

JohnB

    Advanced Member

  • UBot Users
  • PipPipPip
  • 3350 posts
  • LocationNJ
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Dev

Posted 29 March 2012 - 09:08 AM

Believe it or not you can actually use change attribute, checked and "true" in the last box.

John




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users