Clip

Clip() - Send and Retrieve Text using the Clipboard (by berban)

Clip reviews and mentions

Posts with mentions or reviews of Clip. We have used some of these posts to build our list of alternatives and similar projects.
  • Simple hotkey replaces letters
    1 project | /r/AutoHotkey | 14 Sep 2021
    You could use some function that manipulates clipboard, like this one: https://github.com/berban/Clip/blob/master/Clip.ahk Put that in your lib folder, then include it in your own ahk file (via #include at the top of your code). Usage is as follows:`
  • (Noob) I'm Replacing PC Magazine's Robotype, which served me well since the mid-2000's. AHK is confusing me.
    1 project | /r/AutoHotkey | 9 Jun 2021
    ; https://github.com/berban/Clip/blob/master/Clip.ahk ; Clip() - Send and Retrieve Text Using the Clipboard ; by berban - updated February 18, 2019 ; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=62156 Clip(Text="", Reselect="") { Static BackUpClip, Stored, LastClip If (A_ThisLabel = A_ThisFunc) { If (Clipboard == LastClip) Clipboard := BackUpClip BackUpClip := LastClip := Stored := "" } Else { If !Stored { Stored := True BackUpClip := ClipboardAll ; ClipboardAll must be on its own line } Else SetTimer, %A_ThisFunc%, Off LongCopy := A_TickCount, Clipboard := "", LongCopy -= A_TickCount ; LongCopy gauges the amount of time it takes to empty the clipboard which can predict how long the subsequent clipwait will need If (Text = "") { SendInput, c ClipWait, LongCopy ? 0.6 : 0.2, True } Else { Clipboard := LastClip := Text ClipWait, 10 SendInput, v } SetTimer, %A_ThisFunc%, -700 Sleep 20 ; Short sleep in case Clip() is followed by more keystrokes such as {Enter} If (Text = "") Return LastClip := Clipboard Else If ReSelect and ((ReSelect = True) or (StrLen(Text) < 3000)) SendInput, % "{Shift Down}{Left " StrLen(StrReplace(Text, "`r")) "}{Shift Up}" } Return Clip: Return Clip() }
  • Please, help me optimize this script.
    1 project | /r/AutoHotkey | 5 Jun 2021
    NewFunction() { static URLTemplates := {} if !URLTemplates.Count() { URLTemplates.Google := "http://www.google.com/search?q=Define " URLTemplates.WordReference := "https://www.wordreference.com/enar/" URLTemplates.Almaany := "https://www.almaany.com/ar/dict/ar-en/" URLTemplates.MerriamWebster := "https://www.merriam-webster.com/dictionary/" URLTemplates.Wikipedia := "https://en.wikipedia.org/wiki/" } ; I prefer berban's Clip function because it is fast, reliable, adaptable and can input/output ; https://github.com/berban/Clip/blob/master/Clip.ahk ; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=62156 searchText := Clip() for k, v in URLTemplates Run, % "chrome.exe """ v searchText """"
  • Does no clipboard-preserving default of pasting variable contents exist?
    1 project | /r/AutoHotkey | 26 Feb 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic Clip repo stats
4
20
0.0
over 2 years ago

The primary programming language of Clip is AutoHotkey.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com