Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending multiple lines of text
#8
Do we need two lines of code?
I even think supporting multiline text should be set as default, as it includes single-line text.
Also, the following function, by default, supports multiline text, and it doesn't seem to have any adverse effects.
Quote:var e2 = w.Elm["web:TEXT", "Message ChatGPT…"].Find(1);
e2.MouseClick(); e2.SendKeys("Ctrl+A", $"!{text}");

e2.SendKeys is more stable to use than keys.sendt


Messages In This Thread
Sending multiple lines of text - by Davider - 03-08-2024, 05:07 AM
RE: Sending multiple lines of text - by Davider - 03-08-2024, 05:52 AM
RE: Sending multiple lines of text - by Gintaras - 03-08-2024, 05:59 AM
RE: Sending multiple lines of text - by Gintaras - 03-08-2024, 06:40 AM
RE: Sending multiple lines of text - by Davider - 03-08-2024, 07:08 AM
RE: Sending multiple lines of text - by Gintaras - 03-08-2024, 09:28 AM
RE: Sending multiple lines of text - by Gintaras - 03-09-2024, 07:39 AM
RE: Sending multiple lines of text - by Davider - 03-28-2024, 08:58 AM
RE: Sending multiple lines of text - by Gintaras - 03-28-2024, 09:13 AM
RE: Sending multiple lines of text - by Davider - 03-28-2024, 09:16 AM
RE: Sending multiple lines of text - by Gintaras - 03-28-2024, 09:28 AM
RE: Sending multiple lines of text - by Davider - 03-30-2024, 10:35 AM
RE: Sending multiple lines of text - by Gintaras - 03-30-2024, 12:09 PM
RE: Sending multiple lines of text - by Davider - 03-30-2024, 02:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)