Search found 22 matches
- 15 Sep 2023, 12:50
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
Re: AHK2EXE Compiled Script False Positives... Again Topic is solved
Create a new bat file :@ECHO OFF :: Ensures a consistent starting directory. CD /D "%~dp0" :: Keep variables local to this app :SETLOCAL :: Set temp var SET "TEMP=T:\Temp\" SET "TMP=T:\Temp\" start "" "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /gui /in %* Holy Zombie Thread, Batman! I was k...
- 16 May 2021, 20:31
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
Re: AHK2EXE Compiled Script False Positives... Again Topic is solved
This is a viable solution. I also added upx.exe to allow the compression to hit. Thanks!
EDIT: I didn't even realize you could add processes.
- 16 May 2021, 18:28
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
Re: AHK2EXE Compiled Script False Positives... Again Topic is solved
Are you sure if you point it somewhere else windows defender wont alert? Why do you think its just a a_temp issue? I have a directory, D:\Output - which is where all my output compilations go. I added that path, plus D:\Scripts, to my WD Exclusions list. They won't scan there. When I have the %temp...
- 16 May 2021, 17:48
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
Re: AHK2EXE Compiled Script False Positives... Again Topic is solved
It will cycle through a few false virus alerts and if you allow each one it will leave you alone for a while Yeah and I totally get that I could, one at a time, do TOFU like that, but it's a terrible approach to security and frankly I'm at the point where it's about a 50/50 whether I get an EXE or ...
- 16 May 2021, 17:26
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
Re: AHK2EXE Compiled Script False Positives... Again Topic is solved
Yes, you can set a destination path and then exclude the directory from Defender. I have my AHK scripts in one directory that is excluded. You can omit UPX if needed-- tends to be a problem. The problem I'm running into is I used compiler directives in my script to set the destination path. Both my...
- 16 May 2021, 17:12
- Forum: Ask for Help (v1)
- Topic: AHK2EXE Compiled Script False Positives... Again Topic is solved
- Replies: 15
- Views: 1327
AHK2EXE Compiled Script False Positives... Again Topic is solved
I know this is a running issue, but I'm trying to figure this out. I got onto a new system, so I figured updating AHK and A2E and everything else, along with Studio and all the other editors, would do me some good. Every time I compile now, my EXE gets flagged and banned in %temp% because of Windows...
- 30 Sep 2020, 19:18
- Forum: AHK Studio
- Topic: XML Class
- Replies: 22
- Views: 28920
Re: XML Class
I found the problem with the formatting on the pages of Joe Glines website. If you view the source the content is there in proper formatting. HTML fucks formatting. using a pre tag or other similar code tag would fix it. Anyhow, here's the contents: (Edited a few times to fix spacing converting from...
- 25 Aug 2020, 10:09
- Forum: Ask for Help (v1)
- Topic: Sorting Objects in an Array by a property Topic is solved
- Replies: 8
- Views: 2874
Re: Arrays of Arrays complex issue Topic is solved
So, it turns out I was making this more complicated than it needed to be... With my original code, I was trying to push the object I pulled from the original array, into the sorting array. Then complaining I lost the index. What I forgot was two things: 1. In the loop, I have access to the index num...
- 24 Aug 2020, 15:28
- Forum: Wish List
- Topic: Better Window "exclude" functionality
- Replies: 0
- Views: 615
Better Window "exclude" functionality
Either of the two scenarios right now would be amazing: 1. In appropriate commands and functions which make use of "ExcludeTitle", expand ExcludeTitle to take WinTitle syntax. This way, the following would be valid. Say I have 2 windows open, where the title text of the two might be similar enough t...
- 23 Aug 2020, 22:49
- Forum: Ask for Help (v1)
- Topic: Sorting Objects in an Array by a property Topic is solved
- Replies: 8
- Views: 2874
Re: Arrays of Arrays complex issue Topic is solved
id sooner switch to using a rdbms rather than attempting to emulate one in code I'm starting to feel that way too, but I don't really have an ability to swap out what I'm doing. This is basically doing a really cruddy sort function, which... I mean, if I could build a sort function in AHK that was ...
- 23 Aug 2020, 01:49
- Forum: Ask for Help (v1)
- Topic: Sorting Objects in an Array by a property Topic is solved
- Replies: 8
- Views: 2874
Re: Arrays of Arrays complex issue Topic is solved
Sounds like You have Array := [["Chair", 10, true], ["Hat", 5, false], ["Car", 10, true]] personally I would prefer Array := [{"name": "Chair", "cost": 10, "bool": true}, , {"name": "Hat", "cost": 5, "bool": false}, , {"name": "Car", "cost": 10, "bool": true}] Because you don't have to remember in ...
- 22 Aug 2020, 13:20
- Forum: Ask for Help (v1)
- Topic: Sorting Objects in an Array by a property Topic is solved
- Replies: 8
- Views: 2874
Sorting Objects in an Array by a property Topic is solved
EDIT: named the title something more descriptive. ** WARNING: this post is probably long, but maybe I need this much detail to explain it all ** Okay, I'm going to try to explain this as best as I can, because at this point my project has become confused and wrapped around itself. First, I have an o...
- 18 Aug 2020, 22:43
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 616339
Re: AHK Studio
I had a strange issue - I unzipped the zip file provided in the downloads, and it had two files that self-overwrote - there is a commands.xml, and a Commands.xml. W10, despite its development, is still not a case sensitive OS. How do we reconcile that? EDIT: I know that we can enable case sensitivit...
- 26 Jul 2020, 18:26
- Forum: Ask for Help (v1)
- Topic: Send not working ? Topic is solved
- Replies: 16
- Views: 5265
Re: Send not working ? Topic is solved
Not sure i understand what you meant, but i tried without the click, no change. Looks like you figured out where he was going at least. So, it sounds like whatever app or game may be doing a keyboard hook of some type? There's this: https://www.autohotkey.com/docs/commands/_InstallKeybdHook.htm May...
- 26 Jul 2020, 13:09
- Forum: Ask for Help (v1)
- Topic: Problems getting windows by ahk_pid... Topic is solved
- Replies: 4
- Views: 2142
- 26 Jul 2020, 12:26
- Forum: Ask for Help (v1)
- Topic: Problems getting windows by ahk_pid... Topic is solved
- Replies: 4
- Views: 2142
Re: Problems getting windows by ahk_pid... Topic is solved
Hallo, perhaps with: PageWindow := WinExist("ahk_pid " the_pid) Oh my god... I was using legacy syntax without thinking about expression syntax, and I thought I had to do that because i used to do IfWinActive / IfWinExist, and I still use WinActivate... Honestly, some days I TRULY wish that AHK wou...
- 26 Jul 2020, 12:16
- Forum: Ask for Help (v1)
- Topic: Send not working ? Topic is solved
- Replies: 16
- Views: 5265
Re: Send not working ? Topic is solved
Very possibly. It could be that the application has keyboard hooks directly rather than accepting sendinput, which sometimes is broken with modern DirectInput stuff? Maybe look into SendPlay instead if it's a game? What happens if you create a hotkey (liek F7 or whatever that isn't already part of t...
- 26 Jul 2020, 11:18
- Forum: Ask for Help (v1)
- Topic: Send not working ? Topic is solved
- Replies: 16
- Views: 5265
Re: Send not working ? Topic is solved
*RButton:: KeyWait RButton, T0.1 ; Wait until the button is released If ErrorLevel ; Why? { Click, down ; So you send a down click Send, {1} <-- This doesn't work, why ? ; And then send 1? } return ~RButton UP:: Click, up return TBH I'm not sure why you're checking error level at that point. So, wh...
- 26 Jul 2020, 11:09
- Forum: Ask for Help (v1)
- Topic: Problems getting windows by ahk_pid... Topic is solved
- Replies: 4
- Views: 2142
Problems getting windows by ahk_pid... Topic is solved
Hey so I've been puzzling over this for a little while. I have a browser that opens a local static page (Trying to code this to work with any browser). I have no problem capturing the ID of that window because the title is known and is probably very unique to this project (a specific ID is included ...
- 20 Jul 2020, 16:30
- Forum: Notepad++
- Topic: Setup Notepad++ for AutoHotkey
- Replies: 167
- Views: 514440
Re: Setup Notepad++ for AutoHotkey
jNizM Hey, I thought I'd suggest this: In your Github page, your readme.md suggests the following lines for making a .reg file (and the corresponding AHK script)... Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command] @="C:\\Program Files (x86)\\Notepad++\\no...