berban / Clip

Clip() - Send and Retrieve Text using the Clipboard
22 stars 8 forks source link

Update Clip.ahk #2

Open Gewerd-Strauss opened 3 years ago

Gewerd-Strauss commented 3 years ago

Changes:

  1. Inserting String "&|" into a string that is pasted using fClip() will result in the cursor jumping back to that position. Not perfect yet, depending on window and/or computer speed.
  2. added subfun f_unstickkeys as the OG version had the tendency to make my modifier keys sticky. ymmv
  3. When fetching selected text into a variable using Var:=fClip() the clipboard is by default not overwritten. Use Var:=fClip(,,0) to overwrite the clipboard again. Parameter has no effect when pasting text fClip(Var)