AutoHotkey Community

It is currently May 27th, 2012, 8:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: February 3rd, 2012, 5:36 pm 
Offline

Joined: November 27th, 2009, 3:31 pm
Posts: 46
Hello

To copy a selection we must send ^c to copy and ^v to paste... there's is an official dllcall for that or another way to do that?

^c & ^v are shortcut in windows what is the target to thoses shortcuts?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2012, 5:38 pm 
Offline

Joined: August 10th, 2009, 2:44 pm
Posts: 170
Location: Minnesota, USA
Documentation is your friend.

http://www.autohotkey.com/docs/misc/Clipboard.htm

_________________
PLEASE READ IF YOU'RE NEW: How to Get Answers Effectively
http://www.autohotkey.com/forum/viewtopic.php?t=4986


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2012, 8:23 pm 
Offline

Joined: November 27th, 2009, 3:31 pm
Posts: 46
My question is not how to retreive content in the clipboard but how to put content in the clipboard without sending ^c...

which DLL ^c call when I press it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2012, 8:47 pm 
Offline

Joined: August 7th, 2011, 1:23 pm
Posts: 754
Quote:
Copying Information to the Clipboard

In the Label application, the application-defined EditCopy function copies the current selection to the clipboard. This function does the following:

Opens the clipboard by calling the OpenClipboard function.
Empties the clipboard by calling the EmptyClipboard function.
Calls the SetClipboardData function once for each clipboard format the application provides.
Closes the clipboard by calling the CloseClipboard function...

From Using the Clipboard at MSDN.

_________________
Win7 - Firefox 10.0.2 - AHK_L 1.1.07.00
Please bear with me and my English which is so bad at times that even I don't understand myself


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, hyper_, immunity, migz99, sjc1000 and 71 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group