hotkey for autohotkey

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
joeking
Member
Member
Posts: 35
Joined: 2004 Sep 12, 19:42

hotkey for autohotkey

Post by joeking »

#0::Send,{F2}^c{ESC}^h^v{ENTER}!j{HOME}+{END}

Can you guess what it does?
MegaZapFan
Bronze Member
Bronze Member
Posts: 135
Joined: 2005 Jan 31, 20:03

Post by MegaZapFan »

I gotta tell ya... you got me.  That gave me about a half a second's worth of panic, ya bastaaad. :)

Why would you want to do this?  At least in the folder I ran it in, it proved not only heart-stopping, but worthless, at least to me.  Maybe I am missing something (besides the sense enough to run this script!), but I can't see the value in this.  ???
Dumb all over, a little ugly on the side...
longfellow
Silver Member
Silver Member
Posts: 244
Joined: 2004 Jun 16, 15:09

Post by longfellow »

...and the fish keep on biting. :)

Very interesting!
Can you guess what it does?
Is it a Boss Key to toggle between files you want seen (and those you don't)?
joeking
Member
Member
Posts: 35
Joined: 2004 Sep 12, 19:42

Post by joeking »

Assume you have a set of rar files and have extracted the contents to a directory.

Assumes you have the directory that you extracted selected
#0::Send,{F2}^c{ESC}^h^v{ENTER}!j{HOME}+{END}

#0
hotkey is activated by windows key and 0

Send
Use send function to send keystrokes to focus window (xplorer2)
{F2}
Start rename

^c
Copy the selected text (from start rename)

{ESC}
get out of that mode

^h
visual filter

^v
paste the selected text (the directory we selected)

{ENTER}
start the visual filter - * is pre/appended to filter

!j
hide the folders (so as not to delete any previously created)

{HOME}
go to start of list

+{END}
press shift and select to end of visible filtered list

So, then you can delete them etc.
Post Reply