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 

Comprehensive list of Windows hotkeys.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Thu Jan 04, 2007 11:14 pm    Post subject: Reply with quote

Quote:
Cool is there any default shortcut to command prompt?


Not that I know of. The shortest way is probably Win+R, then "cmd.exe{Enter}". And as garry illustrates, you can always make your own.
Back to top
View user's profile Send private message
BETLOG



Joined: 27 Nov 2006
Posts: 218
Location: Queensland, Australia

PostPosted: Fri Jan 05, 2007 3:41 am    Post subject: Reply with quote

The MS TweakUi page has a util that makes a registry addition for "command prompt here"
Not a keyboard shortcut, but a right click context menu. Could be modified though.
the util: http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/CmdHerePowertoySetup.exe
the page: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

I am not certain where i sourced/extracted this code from (probably kellys corner or from the changes the tweakui util made), but iirc it works.
the registry entry:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here]
@="Command &Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6702
Location: France (near Paris)

PostPosted: Fri Jan 05, 2007 9:38 am    Post subject: Reply with quote

jonny wrote:
The shortest way is probably Win+R, then "cmd.exe{Enter}". And as garry illustrates, you can always make your own.
Just cmd is shorter and still works... Smile
A way to improve garry's code is to drop the WinGetClass command and use %comspec% instead of cmd.exe.
And I would surround the hotkey with
#IfWinActive ahk_class ExploreWClass|CabinetWClass
and
#IfWinActive
(in RegEx title match mode).
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Wed Jan 10, 2007 10:23 am    Post subject: Reply with quote

A replacement or complement for this resource (depending on how it develops) has been started here on the wiki.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Wed Jan 10, 2007 1:40 pm    Post subject: Reply with quote

In case it's of use to anyone, I've been using the following registry file for a few years. It creates two new right-click menu items for all types of files: "Command" and "Open Its Folder". The first one (Command) opens a command prompt in the selected file's directory. The second one (Open Its Folder) opens a new Explorer window with the current file pre-selected (which is especially useful when done from a FileSelectFile dialog or a Search window).
Quote:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Command]
[HKEY_CLASSES_ROOT\*\shell\Command\command]
@="cmd.exe /k cls \"%1\""

[HKEY_CLASSES_ROOT\*\shell\Open Its Folder]
[HKEY_CLASSES_ROOT\*\shell\Open Its Folder\command]
; This method pre-selects the target file in the new window:
@="explorer.exe /select,\"%1\""

Similarly, here's a registry file that gives each folder a new context menu item that opens a command prompt there:
Quote:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command]
@=""

[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe \\\"%1\\\""
Back to top
View user's profile Send private message Send e-mail
Sam
Guest





PostPosted: Sun Jan 21, 2007 3:03 am    Post subject: IE Hotkeys Reply with quote

HI every,
I am using IE for internet surfing but my short keys like ctrl + Enter is not working.
Can you guys hot to activate my IE hotkeys.

Thnks
Back to top
BoBo
Guest





PostPosted: Thu Jan 25, 2007 1:25 pm    Post subject: Reply with quote

Not checked if this has been posted already Embarassed

Quote:
How to Control the Mouse Pointer Without a Mouse in Windows XP

If you want to control your mouse pointer with the keyboard, Windows XP provides a way:

Press Alt+Left Shift+Num Lock all at once and a prompt will appear telling you that you have activated mousekeys, select ok then you can control the mouse with the numpad.

The controls are:
1,2,3,4,6,7,8,9 = move the mouse
5 = mouse button click
+ = double click
insert = hold down mouse button
delete = release mouse button (after holding it down with insert)
/, * or - = select which mouse button the above controls will click (left, both or right respectively)
numlock = disable mousekeys
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Thu Jan 25, 2007 6:08 pm    Post subject: Reply with quote

I had briefly mentioned it, yes.

Quote:
Left Alt + Left Shift + NumLock: Toggle MouseKeys on and off. MouseKeys must be enabled.


I plan to include more details on this and other hotkeys that really activate "modes," like control of the system tray or taskbar, when I completely transfer this list to the wiki. Thanks for providing the full description of this great feature.

Also, I tested it on Win2k, so I suspect it works on NT/2k/XP, not just XP.
Back to top
View user's profile Send private message
007
Guest





PostPosted: Mon Feb 12, 2007 9:02 am    Post subject: disabling hotkeys Reply with quote

how can i disable the windows hotkeys in windows xp service pack 1?
Back to top
Grumpy
Guest





PostPosted: Mon Feb 12, 2007 10:20 am    Post subject: Reply with quote

What do you call "windows hotkeys"?
Anyway, with AutoHotkey, you can disable any key with the following idiom:
Code:
<key name>::Return
eg.:
Code:
#l::Return
HTH.
Back to top
pepoluan



Joined: 12 Jun 2006
Posts: 18
Location: Jakarta, Indonesia

PostPosted: Wed Mar 07, 2007 6:48 pm    Post subject: Firefox: Open last closed tab Reply with quote

I think this hasn't been posted yet.

You perhaps already know, in Firefox

Ctrl + T = open a new tab.

Do you know:

Shift + Ctrl + T = reopens last closed tab.


Edit: Added "in Firefox" to prevent confusion.


Last edited by pepoluan on Wed Mar 07, 2007 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Grumpy
Guest





PostPosted: Wed Mar 07, 2007 7:19 pm    Post subject: Reply with quote

Are there standard Windows shortcuts? Or does this work only in a given program? In the ater case, what does this do here?
Back to top
keybored



Joined: 18 Jun 2006
Posts: 67
Location: Phoenix, AZ

PostPosted: Thu Mar 08, 2007 3:46 am    Post subject: ^Backspace Reply with quote

Ctrl + Backspace
Deletes the previous word. Works in many programs.

To make it system wide I added this to my ini file. This does act weird in excel and possibly other programs though I've never had anything bad happen.

Code:
^BS::
Send, {CTRLDOWN}{SHIFTDOWN}{LEFT}{CTRLUP}{SHIFTUP}{BACKSPACE}
return
Back to top
View user's profile Send private message
drmurdoch



Joined: 10 Nov 2006
Posts: 86

PostPosted: Sun Mar 18, 2007 9:05 pm    Post subject: Re: ^Backspace Reply with quote

keybored wrote:
Ctrl + Backspace
Deletes the previous word. Works in many programs.

To make it system wide I added this to my ini file. This does act weird in excel and possibly other programs though I've never had anything bad happen.

Code:
^BS::
Send, {CTRLDOWN}{SHIFTDOWN}{LEFT}{CTRLUP}{SHIFTUP}{BACKSPACE}
return


Added it to what .ini file ?
As I start to accumulate AHK code I want to run all the time ... is there a way of doing this well ? I don't want a million Green H's on my system tray.

Smile
Back to top
View user's profile Send private message
TheIrishThug



Joined: 19 Mar 2006
Posts: 347

PostPosted: Sun Mar 18, 2007 9:36 pm    Post subject: Reply with quote

AutoHotkey.ini in your AutoHotkey directory.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
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