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 

An Advanced Technique.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Fri Feb 11, 2005 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message
rainy



Joined: 23 Feb 2005
Posts: 4

PostPosted: Wed Feb 23, 2005 1:51 am    Post subject: Reply with quote

Is there a way to send messages without using an ahk script?
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Wed Feb 23, 2005 2:04 am    Post subject: Reply with quote

A little google can be a wonderful thing... Laughing

What I found was quite interesting, so I posted in Utilities. Here's a link.
Back to top
View user's profile Send private message
rainy



Joined: 23 Feb 2005
Posts: 4

PostPosted: Wed Feb 23, 2005 3:33 am    Post subject: Reply with quote

that was fast.
Back to top
View user's profile Send private message
Guest
Guest





PostPosted: Thu Feb 24, 2005 2:59 pm    Post subject: Help on Windows Messages Reply with quote

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

PostPosted: Thu Feb 24, 2005 3:18 pm    Post subject: Reply with quote

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 = Cool
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Fri Feb 25, 2005 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Fri Feb 25, 2005 5:21 pm    Post subject: Reply with quote

Rajat wrote:
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.
Do you mean this one:
http://www.angelfire.com/ultra2/rajat/messages.txt

If so, it would help me if you or someone else could update the one at http://www.autohotkey.com/docs/misc/SendMessageList.htm (because it has a different format).
Back to top
View user's profile Send private message Send e-mail
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Fri Feb 25, 2005 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Sat Feb 26, 2005 6:19 am    Post subject: Reply with quote

Chris wrote:
If so, it would help me if you or someone else could update the one at http://www.autohotkey.com/docs/misc/SendMessageList.htm (because it has a different format).

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 Wink
_________________


Last edited by Rajat on Sat Feb 26, 2005 10:13 am; edited 1 time in total
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Feb 26, 2005 9:56 am    Post subject: Reply with quote

Feel free to check this out ---> [x-spy] (Freeware) Wink
Back to top
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Sat Feb 26, 2005 5:27 pm    Post subject: Reply with quote

Lol, don't worry, I have VS. Along with free copies of Office and XP Pro. Guess what profession my father is in. Laughing

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Sun Feb 27, 2005 7:09 pm    Post subject: Reply with quote

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) Wink

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
View user's profile Send private message
SanskritFritz



Joined: 17 Feb 2005
Posts: 280
Location: Hungary, Budapest

PostPosted: Mon Feb 28, 2005 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
hs2



Joined: 25 Feb 2005
Posts: 11
Location: Germany

PostPosted: Mon Feb 28, 2005 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 3 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