Search found 14 matches
- 12 Jun 2018, 14:04
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.3
- Replies: 148
- Views: 135431
Re: AHK源代码加密器 v2.1
Would you be interested in figuring out why your encryption messes with this script's encryption/decryption? Frankly your work is beyond my current comprehension and I barely have a grasp on Laszlo's work. Basically if I encrypt Laszlo's SW protection script with your script, I only get two unique f...
- 12 Jun 2018, 02:05
- Forum: Ask for Help (v1)
- Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
- Replies: 7
- Views: 1601
Re: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
Holy moly I'm an idiot. I just noticed that.
- 12 Jun 2018, 00:00
- Forum: Ask for Help (v1)
- Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
- Replies: 7
- Views: 1601
Re: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
I can further confirm that neither A_LastError or ErrorLevel return anything unusual. Perhaps it's my RegExMatch syntax? As far as I can tell it's fine, but what do I know, eh? EDIT: Current script is: UrlDownloadToFile, https://www.timeanddate.com/worldclock/usa/los-angeles, %A_WorkingDir%\date.txt...
- 11 Jun 2018, 23:25
- Forum: Ask for Help (v1)
- Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
- Replies: 7
- Views: 1601
Re: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
Well I can confirm that I'm able to download the URL and also tried changing FileReadLine to the line above and below what I believe I'm looking for just to see if I had the wrong line, but still no results. My RegExMatch syntax also seems to be correct now.
- 10 Jun 2018, 18:12
- Forum: Ask for Help (v1)
- Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
- Replies: 7
- Views: 1601
Re: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
I changed the RegEx line to
but I still get a blank MsgBox. Am I still goofing up?
Code: Select all
RegExMatch(date, "<span id=""ctdat"">(.*)</span>", foundDate)
- 10 Jun 2018, 15:32
- Forum: Ask for Help (v1)
- Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
- Replies: 7
- Views: 1601
First time using RegExMatch. Think I'm doing something wrong. Topic is solved
So like the title says, this is my first time attempting to use RegExMatch. Basically what I'm trying to do is download the current date via UrlDownloadToFile, then search for some unique identifiers within the correct line of text that should have the date between them, and do a simple MsgBox check...
- 09 Jun 2018, 17:57
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.3
- Replies: 148
- Views: 135431
Re: AHK源代码加密器 v2.1
You're right. I just now noticed my stupid mistake. Sorry about that.
- 09 Jun 2018, 15:09
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.3
- Replies: 148
- Views: 135431
Re: AHK源代码加密器 v2.1
Is there any way to have the encrypted script run without a tray icon?
- 31 May 2018, 04:03
- Forum: Gaming Help (v1)
- Topic: ImageSearch returning ErrorLevel 2 Topic is solved
- Replies: 5
- Views: 2952
Re: ImageSearch returning ErrorLevel 2 Topic is solved
Found my solution here: https://autohotkey.com/board/topic/1143 ... orlevel-2/
Apparently Y2 needs to be greater than Y1. Sorry for wasting anybody's time! Should've done my research.
Apparently Y2 needs to be greater than Y1. Sorry for wasting anybody's time! Should've done my research.
- 31 May 2018, 03:38
- Forum: Gaming Help (v1)
- Topic: ImageSearch returning ErrorLevel 2 Topic is solved
- Replies: 5
- Views: 2952
Re: ImageSearch returning ErrorLevel 2 Topic is solved
Still throws errorlevel 2 when using \red.png
- 31 May 2018, 03:15
- Forum: Gaming Help (v1)
- Topic: ImageSearch returning ErrorLevel 2 Topic is solved
- Replies: 5
- Views: 2952
- 31 May 2018, 01:27
- Forum: Gaming Help (v1)
- Topic: ImageSearch returning ErrorLevel 2 Topic is solved
- Replies: 5
- Views: 2952
ImageSearch returning ErrorLevel 2 Topic is solved
First things first, here's the script: CoordMode, Pixel, Screen #SingleInstance force #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Process, Priority, , H SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 Set...
- 25 May 2018, 14:21
- Forum: Gaming Help (v1)
- Topic: Simple PixelSearch script not working correctly Topic is solved
- Replies: 3
- Views: 1073
Re: Simple PixelSearch script not working correctly Topic is solved
They are BGR formatted and I've decided that I only needed one pixel for accurate results, not a 1-wide column. I also implemented CoordMode for other reasons, but I did get it working in the end. Turned out it was an issue with the exe I was trying to PixelSearch from. It was blocking AHK and any o...
- 24 May 2018, 19:50
- Forum: Gaming Help (v1)
- Topic: Simple PixelSearch script not working correctly Topic is solved
- Replies: 3
- Views: 1073
Simple PixelSearch script not working correctly Topic is solved
Heyo. First things first, the script: SetBatchLines, -1 ~*RButton:: Loop { if (GetKeyState("RButton", "P")=0) { Click, up break } PixelSearch, Px, Py, 1047, 585, 1047, 599, 0xacb1b5, 75 if (ErrorLevel=1) { Click, down } PixelSearch, Px, Py, 1047, 585, 1047, 599, 0x4f5a57, 75 if (ErrorLevel=1 and Get...