Search found 187 matches
- 14 Sep 2023, 03:13
- Forum: Scripts and Functions (v1)
- Topic: HourGlass
- Replies: 3
- Views: 1103
Re: HourGlass
Thanks dude for the time and effort. Gonna use this tool
- 29 Jul 2022, 13:45
- Forum: Ask for Help (v1)
- Topic: Something like autohotkey.com/download/1.1/version.txt
- Replies: 2
- Views: 544
Something like autohotkey.com/download/1.1/version.txt
I'm doing unit tests for some of the libraries I use in my project. One of the libraries contains function: web_downloadToFile(url, path, overWrite:=0, timeout:=60000){ [...] } I'd like to test it passing to the function some web address that directs to some light-sized, preferably text file. That w...
- 26 Jun 2022, 05:15
- Forum: Ask for Help
- Topic: Windows defender prevents compilation Topic is solved
- Replies: 1
- Views: 1912
Windows defender prevents compilation Topic is solved
So look, for x64 executable I use AutoHotkeySC.bin. This file is marked 26/68 on VirusTotal . Since the project is opensource and I don't have similar issues for x32 compiler I assume these are all false positives. In the Windows Virus and Threat protection I already marked both compiler and destina...
- 24 Jun 2022, 13:48
- Forum: Ask for Help (v1)
- Topic: Ahk2exe from command line Topic is solved
- Replies: 2
- Views: 454
- 24 Jun 2022, 13:45
- Forum: Ask for Help
- Topic: Ahk2exe_H from command line Topic is solved
- Replies: 1
- Views: 1548
Re: Ahk2exe_H from command line Topic is solved
Ok, I solved it. Solution: 1) Recompile Ahk2exe.ahk to x64 executable with standard Ahk2exe.exe gui v1.1.333.10 2) Name it Ahk2Exe_64.exe 3) Provide exact paths to each required parameters (full command below) "E:\C4D\projects\compiler\ahkdll-v1-release-master\Compiler\Ahk2Exe_64.exe" /in "C:\Users\...
- 24 Jun 2022, 00:23
- Forum: Ask for Help
- Topic: Ahk2exe_H from command line Topic is solved
- Replies: 1
- Views: 1548
Ahk2exe_H from command line Topic is solved
Full command: E:\C4D\projects\compiler\ahkdll-v1-release-master\Compiler\Ahk2Exe.exe /in C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\edit\main.ahk /out C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\output\main.exe /bin E:\C4D\projects\compiler\ahkdll-v1-release-ma...
- 23 Jun 2022, 14:40
- Forum: Ask for Help (v1)
- Topic: Ahk2exe from command line Topic is solved
- Replies: 2
- Views: 454
Ahk2exe from command line Topic is solved
Full command: E:\C4D\projects\compiler\ahkdll-v1-release-master\Compiler\Ahk2Exe.exe /in C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\edit\main.ahk /out C:\Users\MT\Documents\C4D\release\Draft\v0.9.07\20220623203422\output\main.exe /bin E:\C4D\projects\compiler\ahkdll-v1-release-ma...
- 18 Dec 2021, 11:24
- Forum: Ask for Help (v1)
- Topic: Dynamically creating labels inside a function Topic is solved
- Replies: 1
- Views: 453
Dynamically creating labels inside a function Topic is solved
For some application it's convenient for me to use function to create guis / widgets. One example could be plotting graphs. I want user to be able to open for example up to 10 guis with different plots at the same time and I don't want to create 10 labels for GuiClose, 10 labels for each button, 10 ...
- 06 Nov 2021, 13:24
- Forum: Ask for Help (v1)
- Topic: Why this is ok and this is not?
- Replies: 1
- Views: 224
Why this is ok and this is not?
; this works array_A := [] array_A["first", "second", "third"] := "value_A" msgbox % array_A.first.second.third ; this doesn't array_B := [] array_B.first.second.third := "value_B" msgbox % array_B.first.second.third Sorry if this is dumb or obvious, but seriously, why I can't declare a struct in t...
- 04 Aug 2021, 07:18
- Forum: Ask for Help (v1)
- Topic: Header .h file with structures definitions to ahk array Topic is solved
- Replies: 2
- Views: 350
Re: Header .h file with structures definitions to ahk array Topic is solved
Yes, I also thought about it, that's probably the way to go. Thanks for time you spent on analyzing my problem. Anyway, if anyone pass through this topic with the same question as mine, here's a code I will use to extract structure names https://www.autohotkey.com/boards/viewtopic.php?f=75&t=63624 i...
- 04 Aug 2021, 02:25
- Forum: Ask for Help (v1)
- Topic: Header .h file with structures definitions to ahk array Topic is solved
- Replies: 2
- Views: 350
Header .h file with structures definitions to ahk array Topic is solved
Hi! I know that chances are low but I'll ask anyway. I have a header .h file that contains typedefinitions for structures that we use in our embedded code for electronics stuff. I'm not allowed to share the code, but example is shown below: typedef struct { CAR Peugeot206; CAR Peugeot407; CAR Peugeo...
- 16 May 2021, 10:55
- Forum: Ask for Help (v1)
- Topic: AHK PDF get position of a string
- Replies: 1
- Views: 338
AHK PDF get position of a string
I use xpdf to extract text/images from pdf file. So I have main pdf file (a scientific article, white paper) and have output files from xpdf: file_content.txt and six .png files for each of six page of the article. What I'd like to achieve is to: 1) find string of interest in the file_content.txt fi...
- 31 Jan 2020, 13:06
- Forum: Ask for Help (v1)
- Topic: Many labels one after another Topic is solved
- Replies: 2
- Views: 549
Re: Many labels one after another Topic is solved
> what good is a simplified bugged code example if u cant even run it to try and reproduce the bug Well, if problem doesn't look complicated its sometimes easier to post just part of a problematic procedure than >100 lines that could potentially fuzzy things. I'm not a professional ahk-scripter but ...
- 30 Jan 2020, 15:46
- Forum: Ask for Help (v1)
- Topic: Many labels one after another Topic is solved
- Replies: 2
- Views: 549
Many labels one after another Topic is solved
Simplified bugged-code example: LABEL1: LABEL2: LABEL3: LABEL4: LABEL5: sleep, 100 Console("Press space...") KeyWait, space, d Console("You pressed the space button.") sleep, 100 return Label1, label2 and so on are gLabels from the gui buttons. Bug goes like this: 1) When I press a button it does sh...
- 31 Mar 2019, 08:51
- Forum: Ask for Help (v1)
- Topic: Object - limited key size problem Topic is solved
- Replies: 2
- Views: 746
Re: Object - limited key size problem Topic is solved
Got it. You are completely right. It was by my own mistake I assumed it was impossible. As for strings longer than 16 digits it returned me some strange numbers 0 or -120945231 or similar so I assumed I must have crossed the line. Haha, thanks for clarification. Now everything works just fine!
- 31 Mar 2019, 08:21
- Forum: Ask for Help (v1)
- Topic: Object - limited key size problem Topic is solved
- Replies: 2
- Views: 746
Object - limited key size problem Topic is solved
Hello! Let's say I have a lot of items that I identify by its unique id. Id's are usually in format like this: ID1: OVVOVONNVWORROVVUVOVVVOOVVVVVUVORVOVNNVVVROOVVVOORVRVRVRUOOOVRNVVRNVVU ID2: OWOVVPVOUNVVVVPOUVOMWOSVSOPVNOSVOOUVWOOONOSNVNVSWUVOOWPOVWVVWOWWVSSOVO ID3: VUNUVUOOUWUVUVUNUVVUWVUOVVUOUVUU...
- 29 Mar 2019, 05:44
- Forum: Ask for Help (v1)
- Topic: How can I display an array with an Input or MsgBox? Topic is solved
- Replies: 10
- Views: 5287
Re: How can I display an array with an Input or MsgBox? Topic is solved
To display an array or object I use this:
https://www.autohotkey.com/boards/viewtopic.php?t=35124
https://www.autohotkey.com/boards/viewtopic.php?t=35124
- 27 Mar 2019, 10:57
- Forum: Ask for Help (v1)
- Topic: How to zoom image without any loss Topic is solved
- Replies: 4
- Views: 1832
Re: How to zoom image without any loss Topic is solved
If anyone interested in solution here you go, tbh it took me three days, yet it's still not elegant solution. Keep it mind it isn't that universal. It was designed for 9 zoom levels, for exact size of init image: 2400x2400px, and for destination image of 400x400px. Hopefully it works really fast, wi...
- 25 Mar 2019, 16:44
- Forum: Ask for Help (v1)
- Topic: How to zoom image without any loss Topic is solved
- Replies: 4
- Views: 1832
Re: How to zoom image without any loss Topic is solved
Update: Have created this matrix algorithm that works as expected except for that it takes about 5 sec to prepare an image what is unacceptable. ; create some random bitmap 400x400 that will later be used as ground for the new bitmap pBitmap3 := Gdip_CloneBitmapArea(pBitmap, 0, 0, 400, 400) if (mfac...
- 25 Mar 2019, 14:54
- Forum: Ask for Help (v1)
- Topic: How to zoom image without any loss Topic is solved
- Replies: 4
- Views: 1832
Re: How to zoom image without any loss Topic is solved
I don't really know what do you mean by scale 'all elements' in Windows? You have built-in magnifier in windows. Of course it's possible to create your own magnifier using script I made. You just need to: 1) get current mouse position, 2) read bitmap from that position with use of gdip function: Gdi...