Search found 281 matches

by Reloaded
18 Aug 2019, 14:25
Forum: Ask For Help
Topic: A bit complicated :D Topic is solved
Replies: 2
Views: 148

Re: A bit complicated :D Topic is solved

flyingDman wrote:
18 Aug 2019, 13:01
Would something like this work?:

Code: Select all

~w::
input,oVar,L1T5
sendinput, % oVar = "r" ? "wwwwwwwwwwwwwwwwwwwww" : oVar
return
Its working really!! :dance:

Thannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnkss :D:D:D:D:
by Reloaded
18 Aug 2019, 10:06
Forum: Ask For Help
Topic: A bit complicated :D Topic is solved
Replies: 2
Views: 148

A bit complicated :D Topic is solved

Hii i found a way to make my work easier but i dont get it how to program it. That's what i got but its doesnt work and isn't finished. ; if i press w than r in a time of 5 sec than i spam w else nothing cd := 5 ; 5 sec pressed := true ; when i press its get "pressed" KeyWait, w, D ; wait for pressi...
by Reloaded
09 Jan 2019, 09:26
Forum: Ask For Help
Topic: Delete a line Topic is solved
Replies: 10
Views: 810

Re: Delete a line Topic is solved

DRocks wrote:
09 Jan 2019, 08:46
Then where is the ending part of file after that?

If the line is in the middle and you only keep front wheres the rest? Sorry for my stupidity :D
I think its just doesnt need anymore or so ._. i dont know xD
by Reloaded
09 Jan 2019, 08:43
Forum: Ask For Help
Topic: Delete a line Topic is solved
Replies: 10
Views: 810

Re: Delete a line Topic is solved

do you mean something like this? DeleteLine(File, Pos) { FileRead, Content, %File% Loop, Parse, Content, `n, `r If (A_Index != Pos) Front .= A_LoopField "`n" FileDelete, %File% FileAppend, % Front, %File% } Note that this is not tested, just the basic idea to see if I am on the right track. THAANKK...
by Reloaded
08 Jan 2019, 08:23
Forum: Ask For Help
Topic: Delete a line Topic is solved
Replies: 10
Views: 810

Re: Delete a line Topic is solved

DRocks wrote:
08 Jan 2019, 08:11
damn this is something I tried too, it was always overlapping with the next content in the file when i tried to replace a line. I'll follow other replies
Jeah.. i search like every day for a answer but found nothing yet :d. When you find something tell me xD
by Reloaded
08 Jan 2019, 07:24
Forum: Ask For Help
Topic: Delete a line Topic is solved
Replies: 10
Views: 810

Delete a line Topic is solved

Hey!, Lets say i have a .ahk file and i want to delete a line Until the end of the line, its hard to say but i show you how i mean ._. Here is a def that i found, but its just add a new line. Maybe its help you. ; test 123 ; another just for fun ; And the def InsertLine(Line, File, Pos) { FileRead, ...
by Reloaded
07 Jan 2019, 11:46
Forum: Ask For Help
Topic: WinActivate with Pid Topic is solved
Replies: 2
Views: 344

Re: WinActivate with Pid Topic is solved

Helgef wrote:
07 Jan 2019, 08:56
hello, try, ahk_pid %var%

Cheers.
Thanks <3
by Reloaded
07 Jan 2019, 08:48
Forum: Ask For Help
Topic: WinActivate with Pid Topic is solved
Replies: 2
Views: 344

WinActivate with Pid Topic is solved

Hey, ^^ I have here my Code and i just want to get the Pid of the programm that i use at the moment, than start the game and than switch to the saved pid, but its dont work! Its just saves the Pid, starts the game but dont switch back. Line 5! Numpad1:: WinGet, var, PID, a ; Get the pid of the scree...
by Reloaded
07 Dec 2018, 09:22
Forum: Ask For Help
Topic: Create a floating window liket this here Topic is solved
Replies: 2
Views: 478

Re: Create a floating window liket this here Topic is solved

i found a pretty cool script, and i want to create a "Floating window" like this But i understand nothing from it xD can somebody "encode" it that i can create my own window? Or do you know scripts like this here? I have no idea what part of that script you think is cool and that you want to copy. ...
by Reloaded
06 Dec 2018, 13:21
Forum: Ask For Help
Topic: Create a floating window liket this here Topic is solved
Replies: 2
Views: 478

Create a floating window liket this here Topic is solved

Hey, i found a pretty cool script, and i want to create a "Floating window" like this settitlematchmode 2 SetWorkingDir, %A_ScriptDir% SetBatchLines, -1 status:=0 If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system ExitApp...
by Reloaded
01 Dec 2018, 12:34
Forum: Ask For Help
Topic: Insert text at end of line Topic is solved
Replies: 2
Views: 385

Re: Insert text at end of line Topic is solved

Rohwedder wrote:
01 Dec 2018, 03:48
Hallo,
replace:

Code: Select all

FileAppend, % Front Line "`n" Back, %File%
by:

Code: Select all

FileAppend, % SubStr(Front,1,-1) Line "`n" Back, %File%
Thank you <333 :superhappy:
by Reloaded
30 Nov 2018, 12:49
Forum: Ask For Help
Topic: Insert text at end of line Topic is solved
Replies: 2
Views: 385

Insert text at end of line Topic is solved

Hey :) Let´s say i have a line of code and i have a button, and when i press the button is insert a piece of text at the end of the line. here is the code that i already have :/ #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assis...
by Reloaded
30 Nov 2018, 12:19
Forum: Ask For Help
Topic: Insert line dont work corectly Topic is solved
Replies: 2
Views: 311

Re: Insert line dont work corectly Topic is solved

swagfag wrote:
30 Nov 2018, 09:27
This is a function. Just type textt
Thaaankkksss <33
by Reloaded
30 Nov 2018, 08:28
Forum: Ask For Help
Topic: Insert line dont work corectly Topic is solved
Replies: 2
Views: 311

Insert line dont work corectly Topic is solved

Hey, I want to copy a part of text in a other file, the insert code works fine InsertLine("Hello", "text.ahk", 13) but when i want to insert a full text textt = ( if (Choice = "%Name%") path := "Runes\%Name%.ahk" ) than i use the the code InsertLine(%textt%, "text.ahk", 13) but i get a error because...
by Reloaded
06 Feb 2018, 13:38
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

Re: AHK and MemoryWrite Topic is solved

SnowFlake wrote:Reloaded you need to find a static adress, like this, https://www.youtube.com/watch?v=N44nk9URoG8
Thanks SnowFlake i will watch and learn hope its work than!.
And one time more, thanks ! because the MemoryWrite and MemoryRead function that you Posted !. Cheers
by Reloaded
06 Feb 2018, 13:36
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

Re: AHK and MemoryWrite Topic is solved

It is every time a different Value :) It doesn't matter, it is just a blank variable unless you assigned it a value, which I doubt, see (maybe) variables or Concepts - Variables . Example, msgbox % 039AF8B0 ; blank 039AF8B0 := "hello" msgbox % 039AF8B0 ; hello msgbox % 0x039AF8B0 ; the number Cheer...
by Reloaded
06 Feb 2018, 10:57
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

Re: AHK and MemoryWrite Topic is solved

Helgef wrote:039AF8B0 :arrow: 0x039AF8B0?
It is every time a different Value :)
by Reloaded
06 Feb 2018, 08:20
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

Re: AHK and MemoryWrite Topic is solved

MemoryWrite(hwnd, 038EFE90,int) :arrow: MemoryWrite(hwnd, 0x038EFE90, "int") :?: Cheers. Edit, looking at snowflake's code I see MemoryWrite(hwnd, address, writevalue, datatype="int", length=4, offset=0) , so you seem to be missing one parameter as well. Thanks Helgef i tryed it so MemoryWrite(hwnd...
by Reloaded
06 Feb 2018, 07:08
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

Re: AHK and MemoryWrite Topic is solved

hi this is an example of one of my script i use: IF NOT A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ExitApp } setSeDebugPrivilege(enable := True) #SingleInstance Force ; http://prntscr.com/i6s00z picture of working ProcessName := "CS2D.exe" hwnd := MemoryOpenFromName(ProcessName) X = 0x08B582AC Y =...
by Reloaded
05 Feb 2018, 14:13
Forum: Ask For Help
Topic: AHK and MemoryWrite Topic is solved
Replies: 10
Views: 1255

AHK and MemoryWrite Topic is solved

Hello!, I just found this Post here < https://autohotkey.com/board/topic/33888-readmemory-function/ > about ReadMemory and WriteMemory and i found it Interesting that AHK can Read/Write memory so i Tryed out myself with CheatEngine and the Simple Tutorial in CheatEngine. I found out that the Address...

Go to advanced search