AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy text from closed file to clipboard

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
treecar



Joined: 12 Nov 2009
Posts: 5

PostPosted: Tue Dec 01, 2009 3:14 am    Post subject: Copy text from closed file to clipboard Reply with quote

I had a question, I'm wondering how to create a hotkey that will copy text that's in a text file on my computer to the clipboard without opening the file, is this possible? I have been reading the clipboard documentation but I have a feeling I'm missing something.
Back to top
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 248
Location: Sydney Australia

PostPosted: Tue Dec 01, 2009 3:27 am    Post subject: Reply with quote

Look up FileRead in the help

Code:
FileRead, OutputVar, C:\My Documents\My File.txt

_________________
Paul O
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group