Perhaps a destination path the script hasn't permissions for? Did you change the installation path from 'Programs'?
Or an antivirus program is interfering - unfortunately, false postiives are pretty common for AHK.
Search found 8858 matches
- Today, 17:32
- Forum: Ask for Help (v2)
- Topic: 2.0.15 setup failing
- Replies: 1
- Views: 87
- Yesterday, 16:43
- Forum: Ask for Help (v1)
- Topic: Scroll through open windows issue when Task Manager or Services.msc windows active
- Replies: 10
- Views: 633
Re: Scroll through open windows issue when Task Manager or Services.msc windows active
Don't think so, v1 and v2 can live happily together. Your script is v1 - it wouldn't run on v2 and v2 isn't involved in executing it. I have both installed (latest versions v1.1.37.02 and v2.0.15).
Just to be sure, what does this msgbox say, if you add it to the top of the script?
Just to be sure, what does this msgbox say, if you add it to the top of the script?
Code: Select all
msgbox % A_IsAdmin
- Yesterday, 16:27
- Forum: Ask for Help (v1)
- Topic: Scroll through open windows issue when Task Manager or Services.msc windows active
- Replies: 10
- Views: 633
Re: Scroll through open windows issue when Task Manager or Services.msc windows active
Can't reproduce it (on WIn11). With admin rights, the script works as expected, afaics - even with elevated windows.
Perhaps you need to describe in more detail what you do, what happens and what you want to happen instead.
Perhaps you need to describe in more detail what you do, what happens and what you want to happen instead.
- Yesterday, 16:15
- Forum: Ask for Help (v1)
- Topic: Scroll through open windows issue when Task Manager or Services.msc windows active
- Replies: 10
- Views: 633
Re: Scroll through open windows issue when Task Manager or Services.msc windows active
Your script needs elevated rights when an elevated window is active. If you follow the link above, you'll find a few options.gregster wrote: ↑Yesterday, 15:38But a guess: a permissions issue because Task Manager and other system windows run with elevated rights -> https://www.autohotkey.com/docs/v1/FAQ.htm#uac
- Yesterday, 15:38
- Forum: Ask for Help (v1)
- Topic: Scroll through open windows issue when Task Manager or Services.msc windows active
- Replies: 10
- Views: 633
Re: Scroll through open windows issue when Task Manager or Services.msc windows active
What's the issue? Which code did you try? (Hint: When you create a post, there is an edit field for your actual post and the detailed description of your problem. You could even add the code you have tried - between code tags, please. This will help your helpers to help you.) But a guess: a permissi...
- Yesterday, 10:29
- Forum: Ask for Help (v2)
- Topic: Read, write and alert script
- Replies: 5
- Views: 243
Re: Read, write and alert script
Anyway, the most reliable (and allowed) solution would probably be to use the official Discord APIs - which seem to offer some automation techniques for your own channel: https://discord.com/developers/docs/intro I don't know the details, but it's probably not trivial.
- 16 May 2024, 01:19
- Forum: General Discussion
- Topic: System call in Operating System
- Replies: 5
- Views: 460
Re: System call in Operating System
smith2 , I think this is a central problem of your (rather suspicious) posting history on this forum, especially including the posts which I already disapproved. Your posts seem mostly or completely unrelated to AutoHotkey, and they seemed to add no additional value to existing topics (at most, sli...
- 14 May 2024, 15:01
- Forum: Ask for Help (v1)
- Topic: Can't edit script
- Replies: 3
- Views: 416
Re: Can't edit script
Yeah, you should post some code which allows to reproduce a clearly defined problem.
This works with v1.1.37.02, the tooltip counts up while I hold v:
This works just the same for t.
This works with v1.1.37.02, the tooltip counts up while I hold v:
Code: Select all
v::
while (GetKeyState("v", "P"))
tooltip % A_Index
return
- 14 May 2024, 13:54
- Forum: Ask for Help (v2)
- Topic: Toggle window transparant
- Replies: 4
- Views: 204
Re: Toggle window transparant
For comparisons in expressions, use =, and not the assignment operator := (which wouldn't check but overwrite the value of the variable).
- 14 May 2024, 12:50
- Forum: Ask for Help (v2)
- Topic: Toggle window transparant
- Replies: 4
- Views: 204
Re: Toggle window transparant
You have a typo there. It's WinSetTransparent with an e towards the end, not ...rant
Same for WinGetTransparent. If you need a return value, you'll have to use the function syntax with parentheses, though:
Same for WinGetTransparent. If you need a return value, you'll have to use the function syntax with parentheses, though:
Code: Select all
dz := WinGetTransparent("A")
- 13 May 2024, 16:17
- Forum: Ask for Help (v1)
- Topic: Can someone please add undo function to this drawing tool
- Replies: 2
- Views: 265
Re: Can someone please add undo function to this drawing tool
@Sarhad, please use code tags when posting code, especially (but not only) when you post larger amounts of code like above. Thank you!
- 13 May 2024, 15:26
- Forum: Off-topic Discussion
- Topic: Report False-Positives To Anti-Virus Companies
- Replies: 121
- Views: 996453
Re: Report False-Positives To Anti-Virus Companies
amenu , probably. To feel safer, you can check the SHA256 hash for the downloaded file - look for it toward the end of the latest release post (or whatever you are using): https://www.autohotkey.com/boards/viewtopic.php?f=24&t=111779&p=570714#p570714 or on github https://github.com/AutoHotkey/AutoH...
- 10 May 2024, 02:24
- Forum: 请求帮助
- Topic: 錯誤怎麼處理 Topic is solved
- Replies: 2
- Views: 710
Re: 錯誤怎麼處理 Topic is solved
这不完全正确。
https://www.autohotkey.com/docs/v2/Variables.htm#ref
https://www.autohotkey.com/docs/v2/lib/MouseGetPos.htm#Examples
您可能试图用 AHK v1 运行 AHK v2 脚本。
https://www.autohotkey.com/docs/v2/Variables.htm#ref
https://www.autohotkey.com/docs/v2/lib/MouseGetPos.htm#Examples
您可能试图用 AHK v1 运行 AHK v2 脚本。
- 08 May 2024, 18:46
- Forum: Ask for Help (v2)
- Topic: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
- Replies: 4
- Views: 384
Re: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
I can't reproduce this. Nothing crashes here with v2.0.14. The code above works as expected. (But of course, down shouldn't be used on the left side of :: , following a key name. And for a remapping , up shouldn't be used either, as already noted. It could still be used for a hotkey definition.) Wha...
- 08 May 2024, 12:36
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 15120
Re: AutoCorrect for v2
@kunkel321, for a real mention, you need mention-tags around the user name.
You can also type @ and then the beginning of the user name, and then choose from the dropdown as soon as it populates. This will add the tags automatically:
-->
You can also type @ and then the beginning of the user name, and then choose from the dropdown as soon as it populates. This will add the tags automatically:
-->
- 08 May 2024, 11:50
- Forum: Ask for Help (v2)
- Topic: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
- Replies: 4
- Views: 384
Re: [v2.0.13+ bug] "up" and "down" states make hotkeys invalid
Your remappings used to rely on a bug or rather missing error detection, which is now fixed since v2.0.13: The purpose of a remapping is to remap one key to another, not the release of a key to another key. Try instead: + up::Send("{WheelUp}") - up::Send("{WheelDown}") Space up::Send("{Enter}")
- 07 May 2024, 15:13
- Forum: Gaming
- Topic: Solving a captcha that appears in an idle game I dabble in
- Replies: 4
- Views: 327
Re: Solving a captcha that appears in an idle game I dabble in
I have no experience with automating games - but this looks hard to solve with AHK. I can't help here.
- 07 May 2024, 10:56
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 25
- Views: 1711
Re: Help With script. Topic is solved
Since you always posted v1 code in your posts above, I would expect that you have AHK v1 already installed (apparently along with AHK v2, which is fine) and used it before. The shown error message seems to indicate that now you tried to run the script from an editor like eg SciTE4AHK; so make sure t...
- 07 May 2024, 08:51
- Forum: Gaming Help (v1)
- Topic: Help With script. Topic is solved
- Replies: 25
- Views: 1711
Re: Help With script. Topic is solved
You are obviously trying to run AHK v1 code with AHK v2. Either use v1 or change the syntax to v2.
btw, please use code tags when posting code:
btw, please use code tags when posting code:
- 07 May 2024, 07:43
- Forum: Ich brauche Hilfe
- Topic: Formatierte Signatur in Thunderbird Topic is solved
- Replies: 14
- Views: 701
Re: Formatierte Signatur in Thunderbird Topic is solved
Ich habe gesehen das es z.B. Word programmspezifisch funktionieren soll. Ich muss ehrlich gestehen, das suchen in diesem Forum ist eine Qual und funktioniert zum teil gar nicht. Ich bekomme immer die Meldung ich hätte eben schon gesucht und solle es in 30 Sekunden noch mal versuchen. Benutz doch un...