Search found 1308 matches
- 17 Nov 2017, 06:58
- Forum: Offtopic
- Topic: AHKathon! [AHK Hackathon] 12/17
- Replies: 80
- Views: 21800
Re: AHKathon! [AHK Hackathon] 12/17
I have a big assignment due the 6th, so I won't be able to attend, not that this is much of a problem as I am the least creative person in the community.
- 16 Nov 2017, 16:55
- Forum: About This Community
- Topic: Rule Poll
- Replies: 59
- Views: 57364
Re: Rule Poll
Require Open Source : I agree that we should be open-source, but I think some things make more sense to share closed, such as DLLs and machine code used in a script or provided for convenience. e.g. fast image search, wrappers made in other languages that expose functionality to AHK, etc. Regarding...
- 10 Nov 2017, 18:00
- Forum: Offtopic
- Topic: Test your Forum Posts
- Replies: 392
- Views: 148930
- 26 Oct 2017, 13:54
- Forum: Scripts and Functions
- Topic: create circular image cut out
- Replies: 12
- Views: 2835
Re: create circular image cut out
Windows 10 Pro 64 bit
- 26 Oct 2017, 12:58
- Forum: Scripts and Functions
- Topic: create circular image cut out
- Replies: 12
- Views: 2835
Re: create circular image cut out
All I can tell you is that this code snippet makes it work on my system. If I don't use it the image is never saved.ramonstart wrote:It did not work here![]()
I also ran AutoHotkeyU32 and nothing
- 26 Oct 2017, 12:06
- Forum: Scripts and Functions
- Topic: create circular image cut out
- Replies: 12
- Views: 2835
Re: create circular image cut out
This is looking great.
I think that it only works with ahk 32, try adding this at the top of the script.ramonstart wrote:Where is the avatar saved?
I can not find
Code: Select all
if(A_PtrSize != 4) {
SplitPath, % A_AHKPath, , folder
Run, % folder "\AutoHotkeyU32.exe " """" A_ScriptFullPath """"
ExitApp
}
- 09 Oct 2017, 03:45
- Forum: Ask For Help
- Topic: need help with doing math using variables
- Replies: 3
- Views: 615
Re: need help with doing math using variables
You don't use % to retrieve the value of a variable in an expression, basically remove the % in the middle line.
- 25 Sep 2017, 14:33
- Forum: Ask For Help
- Topic: Simple Script is Way Too Complicated
- Replies: 3
- Views: 898
Re: Simple Script is Way Too Complicated
It is probably shift to capitalise the f.
- 25 Sep 2017, 08:12
- Forum: Ask For Help
- Topic: Capture a longer hotstring before a shorter one ?
- Replies: 10
- Views: 1759
Re: Capture a longer hotstring before a shorter one ?
the president in the white house in the night
the white snow in the night
This was written using the above code.
white house + Tab + in the night
white + Tab + in the night
the white snow in the night
This was written using the above code.
white house + Tab + in the night
white + Tab + in the night
- 25 Sep 2017, 06:15
- Forum: Ask For Help
- Topic: Capture a longer hotstring before a shorter one ?
- Replies: 10
- Views: 1759
Re: Capture a longer hotstring before a shorter one ?
Code: Select all
#Hotstring EndChars-()[]{}:;'"/\,.?!`n `t
::white house::the president in the white house
::white::the white snow
- 25 Sep 2017, 05:19
- Forum: Ask For Help
- Topic: Script: auto create folder with file name ...
- Replies: 9
- Views: 2237
Re: Script: auto create folder with file name ...
Try
Code: Select all
FileMove, % ClipBoard, C:\Users\Farmacia San Paolo\Documents\AHK\Prova\
- 25 Sep 2017, 04:23
- Forum: Ask For Help
- Topic: Capture a longer hotstring before a shorter one ?
- Replies: 10
- Views: 1759
Re: Capture a longer hotstring before a shorter one ?
The problem is that Space is a Ending Character meaning that by hitting space you are telling the script that a hotstring may have ended. Try removing the Space from the end chars. (I have already removed it) #Hotstring EndChars-()[]{}:;'"/\,.?!`n `t You can execute the hotstring by typing any of th...
- 25 Sep 2017, 03:37
- Forum: Ask For Help
- Topic: Capture a longer hotstring before a shorter one ?
- Replies: 10
- Views: 1759
Re: Capture a longer hotstring before a shorter one ?
The syntax is correct, but it sets the "thread's" priority, which determines which other threads can interrupt it.
Edit: It may be more accurate to say, it determines which threads it can interrupt.
Edit: It may be more accurate to say, it determines which threads it can interrupt.
- 20 Sep 2017, 04:13
- Forum: Ask For Help
- Topic: Trying to get ctrl+m to work and other things..
- Replies: 7
- Views: 1291
Re: Trying to get ctrl+m to work and other things..
It does terminate regardless of F10
Edit: when you press ^F10 it starts sending ^m every 1/10 of a second. The script always check every second whether or not the program exists.
Edit: when you press ^F10 it starts sending ^m every 1/10 of a second. The script always check every second whether or not the program exists.
- 20 Sep 2017, 04:08
- Forum: Ask For Help
- Topic: %A_ThisMenuItem% needs to be fixed?
- Replies: 9
- Views: 1274
Re: %A_ThisMenuItem% needs to be fixed?
Think of it this way, if you want to change something regarding a sub-menu you will use. Menu, MyMenu, Add, &AHK, MenuHandler return MenuHandler: Menu, MyMenu, Add, % A_ThisMenuItem, NewMenuHandler return NewMenuHandler: ExitApp return RButton::Menu, MyMenu, Show Witch only works because the & are i...
- 20 Sep 2017, 03:01
- Forum: Ask For Help
- Topic: Trying to get ctrl+m to work and other things..
- Replies: 7
- Views: 1291
Re: Trying to get ctrl+m to work and other things..
I still don't quite understand, but maybe this is the behaviour you want ?
Code: Select all
SetTimer, Exists, 1000
^F10::SetTimer, SomethingElse, 100
SomethingElse:
Send, ^m
return
Exists:
if(!WinExist("ahk_exe scummvm.exe")) {
ExitApp
}
return
- 19 Sep 2017, 07:02
- Forum: Gaming
- Topic: Help With ImageSearch/PixelSearch PLEASE!
- Replies: 7
- Views: 1312
Re: Help With ImageSearch/PixelSearch PLEASE!
To use relative mouse movements use the option R.
Code: Select all
MouseMove, -10, -10, , R
- 19 Sep 2017, 05:26
- Forum: Gaming
- Topic: Help With ImageSearch/PixelSearch PLEASE!
- Replies: 7
- Views: 1312
Re: Help With ImageSearch/PixelSearch PLEASE!
Answer 1:
Answer 2:
I am sorry but I don't have time right now, but I guess that you could split the screen into segments and search each one.
Code: Select all
RngClick(100, 200, 100, 200)
RngClick(xmin, xmax, ymin, ymax) {
Random, x, % xmin, xmax
Random, y, % ymin, ymax
Click, % x " " y
}
I am sorry but I don't have time right now, but I guess that you could split the screen into segments and search each one.
- 19 Sep 2017, 04:26
- Forum: Ask For Help
- Topic: Copy Protected text from Trading Application Topic is solved
- Replies: 1
- Views: 561
Re: Copy Protected text from Trading Application Topic is solved
You could try looking in the memory of the process, I recommend testing with Cheat Engine before inplimenting any script as this is only possible if the text is stored somewhere in the ram, basically we are gambling on the programmeres not to have cleaned up properly. Edit: If you find the string th...
- 18 Sep 2017, 05:40
- Forum: Ask For Help
- Topic: resize a control window within another window Topic is solved
- Replies: 3
- Views: 757
Re: resize a control window within another window Topic is solved
Is the program free, and if it is can you provide a link ?