AutoHotkey Community

It is currently May 23rd, 2012, 11:59 pm

All times are UTC [ DST ]


Search found 42 matches
Search these results:

Author Message

 Forum: Support   Topic: can AHK write to other files than TXT ?

Posted: October 30th, 2009, 3:28 pm 

Replies: 1
Views: 200


if a file is not ASCII , but HEX format, can AHK write to these files?

such as appending "1F 2D 3A 9C" at the end, or replacing "11 22 33 44" with "FF EE DD CC" ?

 Forum: Support   Topic: how to apply IfWinNotActive to 2 APPs

Posted: October 25th, 2009, 2:00 am 

Replies: 4
Views: 441


this way is convenient :lol:
thanks

 Forum: Support   Topic: how to apply IfWinNotActive to 2 APPs

Posted: October 23rd, 2009, 9:00 am 

Replies: 4
Views: 441


thanks, will try that out.

 Forum: Support   Topic: Simple #ifWinActive question.

Posted: October 23rd, 2009, 9:00 am 

Replies: 7
Views: 406


1) the #ifwinactive expression should be written this way:
#ifwinactive, ahk_class someAPP

2) if "send" doesn't work, try:
send {somekey down}
sleep, 50
send {somekey up}
return

 Forum: Support   Topic: how to apply IfWinNotActive to 2 APPs

Posted: October 23rd, 2009, 7:06 am 

Replies: 4
Views: 441


there are 2 APPs where i don't want some hotkeys, how can i apply IfWinNotActive to these 2 APPs ? originally i write the script like this: ================ #ifwinnotactive ahk_class APP1 $somekey:: do something ================ how about the other APP ? if i write ================ #ifwinnotactive a...

 Forum: Support   Topic: is it possible to treat mouse movement like hotkeys?

Posted: October 12th, 2009, 6:56 pm 

Replies: 1
Views: 185


is it possible to use mouse movement to trigger an action without using loop?

such as, when mouse moves to the right, send down arrowkey RIGHT.

 Forum: Support   Topic: act only when key pressed, no repeat when holding, how?

Posted: October 1st, 2009, 8:05 am 

Replies: 3
Views: 304


thank you both.
now i see.

 Forum: Support   Topic: act only when key pressed, no repeat when holding, how?

Posted: October 1st, 2009, 5:00 am 

Replies: 3
Views: 304


if a script is written this way: ========== $key:: do something exit ========== then if i hold down the key, the action will repeat. if written this way: ========== $key:: do something keywait, key exit ========== then the action won't repeat. but that requires a "keywait" which occupy a t...

 Forum: Support   Topic: how to share a value between 2 processes

Posted: September 4th, 2009, 7:35 pm 

Replies: 4
Views: 324


thank you both. :D
i will try them.

 Forum: Support   Topic: how to share a value between 2 processes

Posted: September 4th, 2009, 4:26 pm 

Replies: 4
Views: 324


i found that AHK can not multi-thread, but i need seperate control of 2 keys, so i made 2 scripts and compile them into 2 EXE files, and let Windows do the multi-threading. but now i want multiple functions for these keys based on some condition, such as if value = 1 key1 do something key2 do someth...

 Forum: Support   Topic: ToolTip dissapears in DX or OpenGL game

Posted: August 31st, 2009, 11:49 am 

Replies: 2
Views: 829


it works, thanks!

 Forum: Support   Topic: ToolTip dissapears in DX or OpenGL game

Posted: August 31st, 2009, 2:59 am 

Replies: 2
Views: 829


ToolTip command shows tooltip for a very short time and then dissapear, is there another way to show something in game with AHK ?

 Forum: Support   Topic: to relpace a certain part of a text file with new text?

Posted: August 26th, 2009, 11:31 am 

Replies: 8
Views: 814


incredible! thanks!
i wish i were better in programming.

 Forum: Support   Topic: to write new value into game memory address

Posted: August 26th, 2009, 11:24 am 

Replies: 16
Views: 632


for other people's reference, here is the working script. the 18 bytes are coordinates, they are divided into 4 + 4 + 4 + 2 + 2 + 2 bytes, the first "2 bytes" are useless so i don't rewrite the memory at that address. =========================== ...... VarSetCapacity(input, 4) input := 170...

 Forum: Support   Topic: to write new value into game memory address

Posted: August 26th, 2009, 10:55 am 

Replies: 16
Views: 632


thanks!
i just realized i can't input 18 bytes as a whole. so i cut it into 4 bytes and convert the hex value, now the script can work correctly!
AHK rocks!
Sort by:  
Page 1 of 3 [ Search found 42 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group