Modify

Opened 13 years ago

Closed 13 years ago

#2106 closed Feature Request (Rejected)

Document how to insert newlines (multi-line strings) in ClipPut, Send etc.

Reported by: ddascalescu+autoit@… Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

I'm new to AutoIt, so forgive me if I'm missing something.

From my perusal of the CHM, I see that there's no mention on how to deal with multi-line strings. For instance, I want to fill in a text area in a web form with a few lines of text. How can I do that?

  1. Using Send() and {ENTER} for newlines. Should be documented perhaps.
  2. Using ClipPut(). {ENTER} here is passed on verbatim. \n as well.
  3. Just breaking the string with a LF character doesn't work (this works in Perl): Send("Line 1

Line 2") generates an error.

Also, the documentation on strings (Language referece -> Data Types) should mention how to include newlines, if that's possible at all.

Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by TicketCleanup

  • Version 3.3.8.0 deleted

Automatic ticket cleanup.

comment:2 Changed 13 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

You are missing something. A couple things. First, it is documented how to insert newlines. Second, this is not the forum. You should have asked for help on the forum where you would have been directed to the correct location in the documentation.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.