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 

R/Click, Filepath to Clipboard

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Wed Jan 12, 2005 2:46 am    Post subject: R/Click, Filepath to Clipboard Reply with quote

Here's a great script writing tool!!!

This adds a little item to your "send to" menu.
It copies the full path to any file or folder into clipboard.

All you do is right-click on anything, anywhere,
& select "send-to / clip-this".

Now paste that full path into your script, or wherever you need it!!!

http://www.download.com/Clip-This/3000-2384_4-8938479.html?tag=lst-1-10
_________________
-buttons, buttons,...
I like to push all the buttons!!!
Back to top
View user's profile Send private message
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Wed Jan 12, 2005 2:55 am    Post subject: Reply with quote

...a helpful note-

You must extract this download into your "send to" folder.

This can usually be found here:
C:\Documents and Settings\[Profile Name]\SendTo

Or, just hit: "Start/Search" to find it.
(type in: send to)

& then fire it up with a big "Oh Hell Yeah"
_________________
-buttons, buttons,...
I like to push all the buttons!!!
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Wed Jan 12, 2005 3:07 am    Post subject: Reply with quote

try windows power tools... besides this it has lots of other goodies, including copy 'contents' to clipboard.
_________________
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Jan 12, 2005 3:36 am    Post subject: Reply with quote

Or you could just make an extremely simple little script that converts it. If you didn't already know, the "clipboard" variable automatically converts non-ascii clipboard contents to their filenames. So, by way of example...

Code:
^!j::
clipboard = %clipboard%
return


Tested; I would've commented if it had been possible. Laughing But if you specifically want a SendTo item, I dunno... you could make a regular menu item, using the registry, to do it. (Ask if you're interested, I'll show how to do this)
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Jan 12, 2005 4:59 am    Post subject: Reply with quote

Nice. I use a similar hotkey: pressing Win+C copies the files onto the clipboard and sorts them (since they tend to be out of order):

#c:: ; Win+C hotkey.
clipboard =
Send, ^c
ClipWait, 2
Sort, clipboard ; Make alphabetical (this also converts them to text).
return

Once you get used to it, it seems much faster and easier than "Send To".
Back to top
View user's profile Send private message Send e-mail
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Jan 12, 2005 5:09 am    Post subject: Reply with quote

Guess Win+C makes more sense than Ctrl+Alt+J... Laughing I usually make 'em something ridiculous, to encourage the end-user to pick his own.
Back to top
View user's profile Send private message
mAdDoG



Joined: 29 Dec 2004
Posts: 62

PostPosted: Thu Jan 13, 2005 1:00 am    Post subject: Reply with quote

Pretty sweet, guys!

I kinda like the mouse click access, though.
I'm too lazy to leave the mouse &
reach for a key if I can click.

Hey, maybe that's a good project.
Build a small clickable "script-shortcut-menu".

But hmmm,... how to access it,...
R/click, I suppose...
Maybe within different windows produce different menus?

-any cool ideas for this?
-how bout the GUI for editing the shortcuts?
_________________
-buttons, buttons,...
I like to push all the buttons!!!
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Jan 13, 2005 2:34 am    Post subject: Reply with quote

You might know that you can already add items to standard Windows context menus using the registry... too lazy to look up a reference page right now. If I run across it later, I'll post it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources 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