Search found 194 matches

by alesyt0h
19 Jul 2016, 10:26
Forum: Ask For Help
Topic: Search in memory for a Text String?
Replies: 8
Views: 2684

Re: Search in memory for a Text String?

The basic code would look something like this: count := 0 address := 0 ; you could also use 'address := memObject.BaseAddress' (skips some useless addresses at the start). ; or if that address is incorrect (rare), 'address := memObject.getModuleBaseAddress()' - read the documentation regarding this...
by alesyt0h
19 Jul 2016, 09:44
Forum: Ask For Help
Topic: Search in memory for a Text String?
Replies: 8
Views: 2684

Re: Search in memory for a Text String?

Example code for finding the address of a string in another process: https://autohotkey.com/boards/viewtopic.php?p=97982#p97976 The required memory class: https://autohotkey.com/boards/viewtopic.php?f=6&t=1177&p=67356#p8083 Thank you it's working! But how I can modify it to do exactly this? There i...
by alesyt0h
19 Jul 2016, 05:06
Forum: Ask For Help
Topic: Search in memory for a Text String?
Replies: 8
Views: 2684

Search in memory for a Text String?

Hello,

There is aniway to search in memory for an specific text string without knowing the specific address??

Thank you!
by alesyt0h
10 Jul 2016, 14:43
Forum: Ask For Help
Topic: How to tilde prefix without sending native key? Topic is solved
Replies: 2
Views: 1150

How to tilde prefix without sending native key? Topic is solved

Hello I have this code:

Code: Select all

~g::
	Send, {PgDn}
	Sleep 300
	Send, g
But when I press "g" key, ill get 2 keypresses, how to make it only with one?

Would be something like: press g (native key function on hold) send {PgDn} , sleep 300 then send "g"

Thanks!
by alesyt0h
06 Jul 2016, 18:22
Forum: Ask For Help
Topic: Else or multiple if?
Replies: 10
Views: 3518

Re: Else or multiple if?

Maybe try this: FileRead, xml, Variables.xml doc := ComObjCreate("MSXML2.DOMDocument.6.0") doc.async := false doc.loadXML(xml) DocNode := doc.selectSingleNode("//Root/Value[@name='Language']") outerXml := DocNode.xml value := DocNode.getAttribute("value") Script_to_run := value = "eng" ? "en.ahk" :...
by alesyt0h
06 Jul 2016, 18:00
Forum: Ask For Help
Topic: Else or multiple if?
Replies: 10
Views: 3518

Re: Else or multiple if?

Thanks for the code!

So if the code was bigger, using the code like that will be a performance boost? also why ELSE IF instead of just ELSE?
by alesyt0h
06 Jul 2016, 17:37
Forum: Ask For Help
Topic: Else or multiple if?
Replies: 10
Views: 3518

Else or multiple if?

Hello :D I have this code FileRead, xml, Variables.xml doc := ComObjCreate("MSXML2.DOMDocument.6.0") doc.async := false doc.loadXML(xml) DocNode := doc.selectSingleNode("//Root/Value[@name='Language']") outerXml := DocNode.xml value := DocNode.getAttribute("value") If(value = eng){ Run, *runas en.ah...
by alesyt0h
05 Jul 2016, 10:55
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

Tried it and seems that way works! Thanks! But It won't be some kind of problem with original files or with some running script? (because I'm planing to move the .exe files to another directory) Still, I had to do it with resource hacker for more than 10 scripts and I will have to do it again everyt...
by alesyt0h
05 Jul 2016, 09:07
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

Double clicking an .ahk file will open it with AutoHotkey.exe which you will see in task manager. to circumvent that you can just copy and rename AutoHotkey.exe to Whatever123.exe . Dragging and dropping an .ahk file on top of the renamed exe will use that name in task explorer. Just running Whatev...
by alesyt0h
05 Jul 2016, 07:35
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

I have more than 20 imagesearch on the same script running every 50~100ms. With compiled exe, takes longer and my script fails because dont found the image in time :/
by alesyt0h
05 Jul 2016, 04:14
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

anyone knows how to do it? Would be much appreciated!!
by alesyt0h
04 Jul 2016, 16:25
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

Try this . Thanks for reply! I can launch it and now it's changing it, but was my bad to say "Process Name", what I'm really looking is for how to change file description of uncompiled scripts (which is always AutoHotkey Unicode 64-bit) On Windows 10 task manager the default tab is "Processes" that...
by alesyt0h
04 Jul 2016, 15:15
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

I see, but what I want is change the name to the process name :/ no way to do it without compiling it??
by alesyt0h
04 Jul 2016, 06:50
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Re: Change Process Name of an .ahk file

Thansk for reply ! ! but The first code doesnt do nothing, besides the script can't even start and the menu code its not what Im looking for :(
by alesyt0h
04 Jul 2016, 04:32
Forum: Ask For Help
Topic: Change Process Name of an .ahk file
Replies: 13
Views: 2824

Change Process Name of an .ahk file

Hey! I have running several scripts on my computer and sometimes I have to close some of them manually, but in taskmanager they always appears as AutoHotkey Unicode 64-bit, I know I can change the process name compiling it to .exe but I like more .ahk files, I can edit them more fast also .ahk is fa...
by alesyt0h
01 Jul 2016, 16:27
Forum: Gaming
Topic: Imagesearch not working with SweetFX
Replies: 11
Views: 2329

Re: Imagesearch not working with SweetFX

gamma (brightness) settings maybe? I can't find gamma settings on CGdipSnapshot or the example.ahk :( What I did was, I put the setting on example.ahk to save the snapshot into png. Then use the built-in ImageSearch using that .png, if I keep the snapshot window preview open I got a 100% match with...
by alesyt0h
01 Jul 2016, 11:15
Forum: Gaming
Topic: Imagesearch not working with SweetFX
Replies: 11
Views: 2329

Re: Imagesearch not working with SweetFX

I dunno how imagesearch works, maybe it gets some pixels from one frame and other pixels from another or something. I have never really used imagesearch myself, but I have done a bunch with pixel detection. I have a library that may help work out what is going on - it makes it easy to grab a "Snaps...
by alesyt0h
30 Jun 2016, 07:14
Forum: Gaming
Topic: Imagesearch not working with SweetFX
Replies: 11
Views: 2329

Re: Imagesearch not working with SweetFX

Yep, thought about that chance and tried it a lot of times too >.<

I still think that the problem itself is the screenshot, I guess there is a high chance that when I take a screenshot, it doesn't take the 100% of the colors showed in the game.

Tried PickPick software too and nothing
by alesyt0h
30 Jun 2016, 06:05
Forum: Gaming
Topic: Imagesearch not working with SweetFX
Replies: 11
Views: 2329

Re: Imagesearch not working with SweetFX

Exactly, but still imagesearch dont recognize it in the game, sometimes dont recognize the picture even in the winodws image photo viewer :(

Go to advanced search