ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Post New Requests Here

Clipboard to text file

(1/2) > >>

This I guess is not a request but a noob question  :-[

Running AHK, compiled a exe, what is missing from

FileAppend, %clipboard%, ‪C:\Users\RG\Desktop\clip1.txt

to keep all copied text in the text file?

It works here for me.  However, you're trying to write to a UAC-protected folder so you will have to have either have admin rights or run the executable with admin rights.  Alternately, you could write to a non-UAC-protected folder.  Also, I'd add a CRLF when writing out the clipboard contents like this:

--- Code: Autohotkey ---FileAppend, %clipboard%`r`n, ‪C:\Users\RG\Desktop\clip1.txt

Desktop is UAC protected?  Moved it to Documents and doesn't work either.


Did you try running it with admin rights?

Yes I did, not really sure what is going on, I will try other ready made scripts and see if I can get any hints. My fault for spending more time on windows again  :P


[0] Message Index

[#] Next page

Go to full version