AutoHotkey Community

It is currently May 23rd, 2012, 4:34 am

All times are UTC [ DST ]


Search found 33 matches
Search these results:

Author Message

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 3rd, 2012, 1:13 pm 

Replies: 13
Views: 194


Yeah, I know, but I prefer my last code (without loops by the way) than this , how should I best call it, redundant(?) or non-specific(?) hotkey approach. I just feel bad when I know some ahk function is triggered each time i press h. :oops: Though I like the code very much! Short and good use of AH...

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 3rd, 2012, 12:55 pm 

Replies: 13
Views: 194


I meant your are using arrays and so on (not beginer things) but you don't find the easy thing with GetKeyState. ;-) It was a kind of joke. ;-) I see now. Well, arrays are kind of standard in other languages and that GetKeyState and use of it is AHK experienced specific, not? And seeing that a lot ...

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 3rd, 2012, 12:36 pm 

Replies: 13
Views: 194


Hmmm... Nice looking solution, CodeKiller, but I wonder about the (long term) effect of making "h" a global hotkey. Feels wrong..

Why not use arrays?
Where do I block with GetKeyState?

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 3rd, 2012, 12:16 pm 

Replies: 13
Views: 194


Thanks, nimda. And don't shoot me, but the PITA I am, I didn't like the win hotkey to "linger" like that, so I improved it a bit. <#h:: if !InDateCycle { DateCycle := [A_Hour . ":" . A_Min, A_YYYY . "-" . A_MM . "-" . A_DD, A_DDD] i := 0, InDateCycle := t...

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 2nd, 2012, 10:40 pm 

Replies: 13
Views: 194


Thanks, tidbit.

Though I dislike the inefficiency of that kind of loop, I think no-one can do better, it's just a AHK deficiency.
And I admit I am a PITA about efficiency! :-)

Anyone disproving this AHK deficiency gets my allmost respect!

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 2nd, 2012, 10:37 pm 

Replies: 13
Views: 194


[code]i := 0 <#h:: arr := [A_Hour . ":" . A_Min, A_YYYY . "-" . A_MM . "-" . A_DD, A_DDD] ToolTip % arr[i = arr.MaxIndex() ? i := 1 : ++i] return ~LWin Up:: Send % arr[i] ToolTip Quoting your latest code from irc, there is still the problem that LWin now always sends s...

 Forum: Support   Topic: [SOLVED, mostly] KeyWait releasing one OR another.

Posted: January 2nd, 2012, 9:51 pm 

Replies: 13
Views: 194


The manual for "KeyWait" says To wait for any one key among a set of keys to be pressed down, see the examples section of the Input command But how do I do that for released keys? Here is what I need it for: I want to press LWin + h, which shows a tooltip with a date variable. Keeping LWin...

 Forum: Support   Topic: Tray Icon (or tip) mouse over event without timer?

Posted: February 14th, 2011, 3:48 pm 

Replies: 2
Views: 237


I don't see how that would evade using a timer.
I will still have to check if the mouse position is over it every x msec or am I missing something?

 Forum: Support   Topic: Tray Icon (or tip) mouse over event without timer?

Posted: February 14th, 2011, 1:43 pm 

Replies: 2
Views: 237


When I talk about the traytip below, I am not talking about a custom ballon that you can set with the command TrayTip, but the one that appears only after moving your mouse over the tray icon (that you can change via command Menu,TRAY, Tip, ..). Is there any way to change the traytip when or just b...

 Forum: Scripts   Topic: Script reload (hotkey) with confirmation after full reload

Posted: December 15th, 2010, 8:45 pm 

Replies: 0
Views: 527


I found the reload fail solution from the example in the help file not adequate. I wanted to have a confirmation if and when it was reloaded and not only when the reload command fails. Also feels much better for an AHK coder who uses this alot. :roll: Here it is. Quite simple actually. I hope you li...

 Forum: Support   Topic: Hotkey to display list of existing hotkeys?

Posted: December 6th, 2010, 12:16 pm 

Replies: 4
Views: 312


Thanks!

:oops: And why did I not find the right keywords in this forum search before!! :cry:
;-)

 Forum: Support   Topic: Hotkey to display list of existing hotkeys?

Posted: December 6th, 2010, 11:46 am 

Replies: 4
Views: 312


Sorry to revive this, but is there a way to give a "title" or "description" for eacht hotkey? I need this for a cheat-sheet, a simple sheet that quickly gives me an overview of my (AHK) hotkeys and what they do . (I have so many I sometimes forget and looking at the script is muc...

 Forum: Support   Topic: How to "WinWaitClose" several windows at once? (Th

Posted: November 25th, 2010, 11:32 am 

Replies: 6
Views: 396


Thank you for your answers, guys! Positivily surprised. I a wondering though. Are you people suggesting I use the WinTrigger script itself or just to solve my problem in a similar way ? If you mean " WinTrigger script itself ": I don't really see the solution since I do a normal close and ...

 Forum: Support   Topic: How to "WinWaitClose" several windows at once? (Th

Posted: November 22nd, 2010, 10:27 pm 

Replies: 6
Views: 396


Hello, I made this nice function to close several applications at once. First the safe way with WinWaitclose, then "force closing" them. (A bit like a Windows shutdown.) It already works, but I want to "evolve" the WinWaitClose part. So, I would appreciate some help / advice. I m...

 Forum: Issues   Topic: XButton1 firing after combination XButton1 & RButton Up

Posted: September 28th, 2010, 12:36 pm 

Replies: 5
Views: 816


I was trying to check and test Lexikos comments, but now my XButton1 doesn't do anything anymore!! Not even when I close autohotkey... (It used to do Browser_Back)... I am getting crazy as I have NO idea why. I didn't do any changes to my system... Aaarg... Well, so far, thanks, people. You'll hear ...
Sort by:  
Page 1 of 3 [ Search found 33 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group