DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: Put(ting) cursor at mouse position  (Read 4,662 times)

basc

  • Life Live Love Dough
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 21
IDEA: Put(ting) cursor at mouse position
« on: June 08, 2013, 04:28 PM »
Dear Skrommel,

Seeing the magic with Autohotkey it might be possible to create a "logical (my dad)" Click 'n Type (M$)/Shadow Cursor (Corel WordPerfect) thing (with for example notepad), but I'll donate anyway! Thanks. Bas

Or link the [Enter] key to firs¶
t go to the end of the line, before putting the cursor down one line, in essence, good point. :)

basc

  • Life Live Love Dough
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 21
Re: IDEA: Put(ting) cursor at mouse position
« Reply #1 on: June 08, 2013, 10:41 PM »
Second bit:

I have mapped the Pause key (unused and present) to this sequence:
End (twice) Enter

In Notepad++ this works fine.
(And in this forum, but not with word wrapped text dough, but that's OK;)

Code
pause::
Send, {end}{end}{enter}
return

I'll see what my father thinks. Logic no doubt.
Have a lot of fun.

basc

  • Life Live Love Dough
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 21
Re: IDEA: Put(ting) cursor at mouse position
« Reply #2 on: June 09, 2013, 12:46 PM »
O, one more thing ;)

I forgot about the cursor keys. When pressing {down}, it should create 5? more (new)lines the moment it (the cursor) stays in place (stops moving). Effectively creating newlines on the fly. When pressing a key other than {down}, it resets the max. count (suggested to be 5), so the user wont go too far down, but still can go further this way.

And when pressing {right}, it should add spaces up until it (the cursor) gets close to the right window (frame) border,  on the place of the newline character the second {end} should find. That's about it.. :tease:

Nice to have a click anywhere and type like placing text in Draw (OOorg/LibreOffice).

Yours. Nice forum.

Original address: https://www.donationcoder.com/forum/index.php?topic=35144.0