Entering text (a whole paragraph or more) into a web form.

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
jimfrancis
Newbie
Posts: 2
Joined: Tue Apr 24, 2007 2:27 am

Entering text (a whole paragraph or more) into a web form.

Post by jimfrancis » Tue Apr 24, 2007 2:55 am

Hi,

I read the beginners help file and tried searching here but I can't find info on this:

I don't see any way to enter a few paragraphs of text into a web form...

All the examples I've looked at are only entering one line of text like FieldValue = "blah blah"

So, please can you tell me how to do it?

Also, when I did try to paste (ctrl-v) some "blah blah" text into WebRecorder to be used in the macro, it wouldn't paste - is there any reason why?

Thanks for your help.
Jim

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue Apr 24, 2007 3:11 am

Save what you want to enter as a variable:
Let>filldata=This is a single line. And this is a second sentence on the same line..$CRLF%This is a second line, the third sentence.

Set Focus on the web page

Tab to the field for data entry

Use the Send command:
Send>%filldate%
-------------------------------------
Or you could copy %filldate% to clipboard and paste from clipboard after setting focus and tabbing to the data entry field.

PutClipboard>%filldata%
...
...
TAb to data entry field
Press CTRL
Send>v
Release CTRL

----------------------------
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

jimfrancis
Newbie
Posts: 2
Joined: Tue Apr 24, 2007 2:27 am

Post by jimfrancis » Tue Apr 24, 2007 4:15 am

Thanks - I'll try this out.

Does anyone here write custom macros for cash?

Please let me know - thanks.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts