Loly Posts: 22 how to copy the selected text (from a website) as HTML? But you see, in IDEs, if we send("^c") when we highlighting nothing, we will get a line of text; But when we highlighting some text then send("^c"), we get the text highlighted. This script will also paste the currently selected text as a new topic to SuperMemo. Its purpose is to type from your clipboard with a delay between each character being output. Forum rules. Is this correct? #c:: oCB := ClipboardAll ; save clipboard contents Send, ^c ClipWait,1 < do whatever you originally wanted with selected text in "clipboard" variable > ClipBoard := oCB ; return . I'm new to Autohotkey, tried to make a macro to: Copy selection. This script performs the following actions: Copies selected text to clipboard. Hi, Because of large word-copying workload everyday, I am thinking about whether AHK can help to auto-copy any selected words on a text file , pdf file, etc. Select all text, 2. Get help with using AutoHotkey and its commands and hotkeys. EDIT:: SOLVED! The easiest way is to set Ctrl +LButton to double click (which selects the current word under the cursor) copy the word to the clipboard and then use google with the parameters "q=" for the search term and "btnI=I'm+Feeling+Lucky" for using the "I'm Feeling Lucky" function. The workflow I can summarize as follows: Right click on a video for streaming Click on the option to copy the redirection link Switch to a text editor (Slickedit in my case) Paste the copied link Go back to the browser and await next command. If not, send, c will be performed. The issue is that it removes the formatting from the text and then paste it as plain text. Dunno, but you can always save current clipboard contents to another variable, then use copy, save to variable, put original clipboard contents back. So, here's a script to get you started. AutoHotKey Script for SuperMemo 16 This script will also paste the currently selected text as a new topic to SuperMemo. What I what is that when it is sending text to the word, it should be pasted as rich text/unformatted. The text can be selected by either 1)Shift + Arrow Keys (Up, Down, Left, Right), 2)Left Mouse Button, or 3)DoubleClick. Append the pasted text with some predefined finishing text lines. According to the docs, "AutoHotKey doesn't do anything on its own; it needs a script". 6 posts Page 1 of 1. Paste the original text from your clipboard under the previously added text, 5. I want to get the highlighted text in all programs. Copy all the edited text. Also please check out Clipboard Recorder ( http://www.lw-works.com/ ), Very Handy! Playback Notepad++ macro (for formatting) shortcut: Ctrl + Shift + B. However after each pasted e-mail address i want it to add ";" after each e-mail-address in notepad/clipboard so that I can copy and paste all e-mail addresses into the to send field in outlook. I want to automate this with a single key press while I am standing on the link with the mouse. What this script does is, After selecting a text in edge or a PDF, when I press the hotkey Ctrl+Alt+8, it copies the test and send it to word in background. You can simply select some text and it is copied immediately without having to press ctrl+c. AutoHotKey Script for SuperMemo 16. all_mails := "" ^l:: ; store e-mail ;Copy the selected text to the Clipboard. some like. Paste it in Notepad++. You'll want to save it in a .ahk file like type_clipboard_slowly.ahk. Get a Type Slowly From Clipboard Script. The script functionality is really simple: Copy the selected text to the clipboard, insert the the text that I specify at the beginning of it, along with a new line, and at the end of it, a new line, and the text that I specify. as long as the words are highlighted. However, it is slightly more advanced than the scripts above. You want to 1. Checks whether SuperMemo is running. 1. - Robert Ilbrink This is the original script, which also doesn't work consistently in the other programs I mentioned. It would look like this: Copy text to clipboard, 3. with the highlighted text send one or more predefined text lines (replacing the original text), 4. I tried starting with the following code, but I couldn't even get AHK to copy paste my selection to Notepad++. So far my thought for it is to use #persistent to check if clipboard content is same as 0.5 seconds before. Checks whether SuperMemo is running. Paste in Firefox text field. You will always copy some text, even you did not highlight any text. This script performs the following actions: Copies selected text to clipboard. However, it is slightly more advanced than the scripts above. Middlebutton is useful in browsers, so there is a short time (configurable) while you can paste with the middle button after copy, before original middleclick functionality is restored. With a LOT of help from @blauhirn (thanks!!!) Conveinent middle button paste is also provided, but with a twist.