| View previous topic :: View next topic |
| Author |
Message |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Fri Feb 11, 2005 2:45 am Post subject: |
|
|
Hehe... I didn't say you had to use it. It's just easier for me, partly because those are standard hotkeys that all tabbed applications I know of have. If you really don't like that extra (but sensible) shift, you could use the alternate hotkeys, also shown on my comprehensive hotkey list in the Firefox section:
Ctrl+Page down
Ctrl+Page up
Sometimes I also use a nifty feature of TBE (Tab Browser Extensions) which lets me use the mouse wheel to switch tabs while the mouse is over the tab bar. This feature is springing up in so many extensions lately it's acquired a name of it's own: tab rocking. I don't use it very much though, because I'm a major keyboard fan. |
|
| Back to top |
|
 |
rainy
Joined: 23 Feb 2005 Posts: 4
|
Posted: Wed Feb 23, 2005 1:51 am Post subject: |
|
|
| Is there a way to send messages without using an ahk script? |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Wed Feb 23, 2005 2:04 am Post subject: |
|
|
A little google can be a wonderful thing...
What I found was quite interesting, so I posted in Utilities. Here's a link. |
|
| Back to top |
|
 |
rainy
Joined: 23 Feb 2005 Posts: 4
|
Posted: Wed Feb 23, 2005 3:33 am Post subject: |
|
|
| that was fast. |
|
| Back to top |
|
 |
Guest Guest
|
Posted: Thu Feb 24, 2005 2:59 pm Post subject: Help on Windows Messages |
|
|
For those of you playing around with Windows Messages, if you don't have the Windows SDK, you can download the Help-file here:
ftp://ftp.cs.virginia.edu/pub/lcc-win32/win32hlp.exe (12,9 MB)
PS: Wouldn't it be a good idea to collect the possible Windows Messages per application? That way noone needs to 'reinvent the wheel'... |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Thu Feb 24, 2005 3:18 pm Post subject: |
|
|
On that note, has anyone ever played around with LiteStep (mainstream, 0.24.7)? I haven't been able to get anything useful from Winspector, but I'd really like to have more versatility than the existing hotkey system has. AutoHotkey + OTS2 =  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Fri Feb 25, 2005 3:50 pm Post subject: |
|
|
this might be of use to someone, you can send mouse clicks to minimized windows (probably hidden too) using messages.
the code for left single click is 0x0201.
eg. open the C:\WINDOWS folder (mind the case) and run this:
PostMessage, 0x0201, 1, 6160707, FolderView, C:\WINDOWS
Chris, the updated list of messages that i recently posted (available at end of main post too) is very much improved and comprehensive... i think u should put that in the help file instead of the current one. _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10667
|
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Fri Feb 25, 2005 5:35 pm Post subject: |
|
|
| Rajat, you wouldn't happen to know anything about Litestep, would you? I'm having no luck with Winspector; Litestep has very few messages associated with it, but I don't know of any other way to communicate with it from the outside. It's very configurable as is, but it would still be nice to have AHK's capabilities. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Sat Feb 26, 2005 6:19 am Post subject: |
|
|
i'll try to format it Chris.
i think i've tried LiteStep... isn't it a very configurable windows shell replacement?
actually jonny, a more powerful replacement for WSpy is MS Spy++, which i often use... probably it can capture the msgs reqd here. but its a part of MS visual studio and not free... so i mentioned WSpy in the tut. though if u want spy++ i can privately make it available  _________________

Last edited by Rajat on Sat Feb 26, 2005 10:13 am; edited 1 time in total |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Feb 26, 2005 9:56 am Post subject: |
|
|
Feel free to check this out ---> [x-spy] (Freeware)  |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Sat Feb 26, 2005 5:27 pm Post subject: |
|
|
Lol, don't worry, I have VS. Along with free copies of Office and XP Pro. Guess what profession my father is in.
Anyway, yes, Litestep is very configurable (it's why I'm using it), but it would still be nice to have AHK integration. I'll give Spy++ a try, and if I still can't get anything, I'll just live with it. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Sun Feb 27, 2005 7:09 pm Post subject: |
|
|
Chris,
I re-formatted the messages. txt file. i hope u'll like it better now.
| BoBo wrote: | Feel free to check this out ---> [x-spy] (Freeware)  |
i checked it out, but it seems that the creator paid too much attention on its looks... it crashed 2 out of 3 times i ran it!
by the way does it even do messages? _________________
 |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 280 Location: Hungary, Budapest
|
Posted: Mon Feb 28, 2005 1:12 pm Post subject: |
|
|
| Rajat wrote: | | I'd like ppl who've found out some nice commands to share them here... it'd help ppl not have to rediscover the wheel. |
We can script Total Commander with its internal commands found in the TOTALCMD.INC file in the TC installation folder. The message to post is WM_USER+51, and the wParam is the command. This example lets you auto refresh the active file panel:
| Code: | #Persistent
SetTimer sf_subRefreshTC, 250 ; This is in msec, change if necessary
Return
sf_subRefreshTC:
PostMessage 1075, 540, 0,, ahk_class TTOTAL_CMD
; 1075=WM_USER+51 540=cm_RereadSource
Return |
_________________ Is there another word for synonym? |
|
| Back to top |
|
 |
hs2
Joined: 25 Feb 2005 Posts: 11 Location: Germany
|
Posted: Mon Feb 28, 2005 5:12 pm Post subject: |
|
|
That's cool ! Thank you SanskritFritz.
Now I can rewrite my Totalcommander-workaround script:
| Code: | ; workaround TotalCommander: Ctrl-F8 TreeView -> cd to selected dir in LongView in the SAME panel
+^F8::
IfWinActive, ahk_class TTOTAL_CMD
send !{F8}cd ^{Enter}^{F2}{Enter}
return
|
As I know, you are also an active member of the Totalcommander forum.
Do you think it's worth to submit a poll for this feature as a builtin there ?
HS2 |
|
| Back to top |
|
 |
|