| View previous topic :: View next topic |
| Author |
Message |
jonny
Joined: 13 Nov 2004 Posts: 3005 Location: Minnesota
|
Posted: Thu Jan 04, 2007 11:14 pm Post subject: |
|
|
| 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 |
|
 |
BETLOG
Joined: 27 Nov 2006 Posts: 218 Location: Queensland, Australia
|
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6702 Location: France (near Paris)
|
Posted: Fri Jan 05, 2007 9:38 am Post subject: |
|
|
| 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...
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 |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3005 Location: Minnesota
|
Posted: Wed Jan 10, 2007 10:23 am Post subject: |
|
|
| A replacement or complement for this resource (depending on how it develops) has been started here on the wiki. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Wed Jan 10, 2007 1:40 pm Post subject: |
|
|
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 |
|
 |
Sam Guest
|
Posted: Sun Jan 21, 2007 3:03 am Post subject: IE Hotkeys |
|
|
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
|
Posted: Thu Jan 25, 2007 1:25 pm Post subject: |
|
|
Not checked if this has been posted already
| 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
|
Posted: Thu Jan 25, 2007 6:08 pm Post subject: |
|
|
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 |
|
 |
007 Guest
|
Posted: Mon Feb 12, 2007 9:02 am Post subject: disabling hotkeys |
|
|
| how can i disable the windows hotkeys in windows xp service pack 1? |
|
| Back to top |
|
 |
Grumpy Guest
|
Posted: Mon Feb 12, 2007 10:20 am Post subject: |
|
|
What do you call "windows hotkeys"?
Anyway, with AutoHotkey, you can disable any key with the following idiom:
eg.:HTH. |
|
| Back to top |
|
 |
pepoluan
Joined: 12 Jun 2006 Posts: 18 Location: Jakarta, Indonesia
|
Posted: Wed Mar 07, 2007 6:48 pm Post subject: Firefox: Open last closed tab |
|
|
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 |
|
 |
Grumpy Guest
|
Posted: Wed Mar 07, 2007 7:19 pm Post subject: |
|
|
| 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
|
Posted: Thu Mar 08, 2007 3:46 am Post subject: ^Backspace |
|
|
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 |
|
 |
drmurdoch
Joined: 10 Nov 2006 Posts: 86
|
Posted: Sun Mar 18, 2007 9:05 pm Post subject: Re: ^Backspace |
|
|
| 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.
 |
|
| Back to top |
|
 |
TheIrishThug
Joined: 19 Mar 2006 Posts: 347
|
Posted: Sun Mar 18, 2007 9:36 pm Post subject: |
|
|
| AutoHotkey.ini in your AutoHotkey directory. |
|
| Back to top |
|
 |
|