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 

Peeking DragDrop & Clipboard Data

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Sean



Joined: 12 Feb 2007
Posts: 1359

PostPosted: Sat Aug 11, 2007 5:00 am    Post subject: Peeking DragDrop & Clipboard Data Reply with quote

It'll peek the data, especially (unicode)text, of the DragDrop & Clipboard data.
BTW, the length of the text will be limited to 1023 bytes, but it can be easily circumvented using other string-related APIs, so I'll leave it to the users.
And, it may be combined with any HexViewer script as a full DragDrop/Clipboard data viewer.

To see the contents of the DragDrop, just drag and drop the source to the GUI.
And, press the hotkey #c to see the content of the current clipboard.

DOWNLOAD DragDrop.ahk.


Last edited by Sean on Tue Aug 21, 2007 5:13 am; edited 2 times in total
Back to top
View user's profile Send private message
g11414
Guest





PostPosted: Sat Aug 11, 2007 7:17 am    Post subject: Reply with quote

Thanks for sharing! Smile
Back to top
Hardeep



Joined: 02 Jul 2006
Posts: 87

PostPosted: Sat Aug 11, 2007 10:20 am    Post subject: Reply with quote

Very useful Very Happy Thanks for sharing your work.
Back to top
View user's profile Send private message
Sean



Joined: 12 Feb 2007
Posts: 1359

PostPosted: Sat Aug 11, 2007 12:35 pm    Post subject: Reply with quote

Thanks guys!
I updated the script a little to detect unicode strings as possible as it can using Window's provided API.
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4033
Location: Pittsburgh

PostPosted: Sat Aug 11, 2007 4:41 pm    Post subject: Reply with quote

Fantastic! Thanks for figuring it out. Your script got into my list of favorite tools.
Back to top
View user's profile Send private message
skrommel



Joined: 30 Jul 2004
Posts: 180

PostPosted: Tue Apr 01, 2008 6:04 pm    Post subject: Reply with quote

Smile A wish come true! Almost...

Sad It crashes AutoHotkey when copying something from Internet Explorer, or it takes a break before continuing. Any ideas?

Skrommel
_________________
www.1HourSoftware.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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