Copy to Notepad

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
japankid3000
Posts: 43
Joined: 14 Nov 2015, 09:58

Copy to Notepad

29 Jan 2016, 15:14

How do i select and copy something and have it "paste" to notepad in a chronological order ....

If: Copy text to Clipboard ; paste to notepad.txt `n
Else: continue
FileAppend, c://scripting/notepad.txt

I have a clipboard viewer but i want to be able to just copy and have it appended to a txt file in my .c://scripting
wizardzedd
Posts: 319
Joined: 23 Jan 2016, 23:03

Re: Copy to Notepad

29 Jan 2016, 15:32

Code: Select all

clipboard = 
send, ^c
clipwait, 1
if (clipboard != space)
{
	fileappend, %clipboard%,  c:\scripting\notepad.txt
}
carno
Posts: 265
Joined: 20 Jun 2014, 16:48

Re: Copy to Notepad

31 Jan 2016, 03:41

Is if (clipboard != space) the same as if (clipboard != "")?
just me
Posts: 9574
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: Copy to Notepad

31 Jan 2016, 03:52

... as long as you don't assign another value to the variable space.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Ralf_Reddings200244 and 270 guests