Search found 6 matches
- 02 Jul 2019, 07:05
- Forum: Ask for Help (v1)
- Topic: Image comparation
- Replies: 1
- Views: 583
Image comparation
Hi everyone, I found this amazing code on the archive forum: https://autohotkey.com/board/topic/26361-show-differences-in-two-images/ I'm just wondering if anyone knows how to compare the full size of the images. Currently it works fine, but I'm having image greater than the whole screen resolution ...
- 31 Aug 2018, 07:55
- Forum: Ask for Help (v1)
- Topic: Calling a variable string filepath
- Replies: 3
- Views: 1822
Re: Calling a variable string filepath
So know that with function (which is your SetWallpaper) that it is looking for a variable, so the text you are inputting into the function it thinks a variable and not a string. So if you want a string do this SetWallpaper(A_Desktop "\Wallpaper1.jpg") ; or you can do this File := A_Desktop "\Wallpa...
- 31 Aug 2018, 07:20
- Forum: Ask for Help (v1)
- Topic: Calling a variable string filepath
- Replies: 3
- Views: 1822
Calling a variable string filepath
hi huys! So I I'm trying to build a string that will get a image on the desktop of any user. The idea is that any user will put an .jpg image named "Wallpaper1" on their desktop, and on the script will set it as their background. The closest I could get is the folowing, although it changes the backg...
- 06 Jul 2018, 06:47
- Forum: Ask for Help (v1)
- Topic: Search text in a file and display result
- Replies: 11
- Views: 11009
Re: Search text in a file and display result
Hallo, try: InputBox, FullPath, Search File, Entering the Fullpath of File InputBox, SearchString, Search in %FullPath%, Entering the String to search Lines = Loop, Read, %FullPath% If InStr(A_LoopReadLine, SearchString) Lines .= SubStr(A_LoopReadLine, 1+InStr(A_LoopReadLine,"/",,0)) "`r`n" MsgBox,...
- 06 Jul 2018, 06:47
- Forum: Ask for Help (v1)
- Topic: Search text in a file and display result
- Replies: 11
- Views: 11009
Re: Search text in a file and display result
Hallo, try: InputBox, FullPath, Search File, Entering the Fullpath of File InputBox, SearchString, Search in %FullPath%, Entering the String to search Lines = Loop, Read, %FullPath% If InStr(A_LoopReadLine, SearchString) Lines .= SubStr(A_LoopReadLine, 1+InStr(A_LoopReadLine,"/",,0)) "`r`n" MsgBox,...
- 05 Jul 2018, 09:48
- Forum: Ask for Help (v1)
- Topic: Search text in a file and display result
- Replies: 11
- Views: 11009
Re: Search text in a file and display result
And now? InputBox, SearchString, Search in laison.txt, Entering the string to search Line := False Loop, Read, C:\laison.txt { If !Trim(A_LoopReadLine) Continue If InStr(A_LoopReadLine, SearchString) { Line := A_LoopReadLine Continue ;second concerned line } If Line { Line .= "`r`n" . A_LoopReadLin...