Search found 8802 matches

by gregster
Today, 13:04
Forum: Ask for Help (v2)
Topic: MouseClickDrag too fast
Replies: 1
Views: 21

Re: MouseClickDrag too fast

Try ^h:: { SendMode "Event" MouseClickDrag "L", 350, 450, 150, 450, 5 } Speed [...] Speed is ignored for SendInput /Play modes; they move the mouse instantaneously (though SetMouseDelay has a mode that applies to SendPlay). To visually move the mouse more slowly -- such as a script that performs a d...
by gregster
Today, 11:40
Forum: Ask for Help (v2)
Topic: How to map win+i to win+up
Replies: 4
Views: 75

Re: How to map win+i to win+up

@Draken, no worries. You can learn a lot by helping other users, even if you get corrected sometimes.
I would still consider myself a v2 beginner - and I will probably get corrected many times, going forward. ;)
by gregster
Today, 08:57
Forum: Ask for Help (v2)
Topic: How to map win+i to win+up
Replies: 4
Views: 75

Re: How to map win+i to win+up

sachinme , I am not sure what "doesn't work" is supposed to mean in this context. Here, your code seems to work as expected: On my keyboard layout, Win and Up maximizes the active window. Your code does that, too. So what's your goal? Please elaborate. Also, looking at your posted keyhistory , it s...
by gregster
Today, 03:03
Forum: Ask for Help (v1)
Topic: Recording Macros for AHK
Replies: 7
Views: 4813

Re: Recording Macros for AHK

Why so much animosity towards PMC on this forum? We still provide a subforum for it which you could see as a sign of good will (or perhaps bad judgment), although Pulover usually doesn't provide support anymore for his software. Most regular AHK users just don't see the point to learn about a seemi...
by gregster
Yesterday, 11:46
Forum: Ask for Help (v2)
Topic: What programming languages can be integrated in ahk 2? Topic is solved
Replies: 4
Views: 91

Re: What programming languages can be integrated in ahk 2? Topic is solved

Afaics, cURL is more like a command line tool and a library (libcurl) for a specific kind of task than a programming language, but I have seen several v2 topics which might be what you are looking for (but I haven't tried them so far): For example: Extend Your Scripts/Programs with Lua! (by Delta Py...
by gregster
Yesterday, 11:17
Forum: Ich brauche Hilfe
Topic: Win 11 Virus Warnung
Replies: 4
Views: 96

Re: Win 11 Virus Warnung

Ich weiß nicht, ob dir das jemand abschließend beantworten kann. Die Kompilierung von AHK-Dateien ist ja nur eine relativ einfache Rekombination von Interpreter und Textdatei zu einer ausführbaren Datei - und keine Kompilierung im landläufigen Sinne. Ob jetzt Antivirus-Heuristiken - die vermutlich i...
by gregster
22 Apr 2024, 10:08
Forum: Ich brauche Hilfe
Topic: Win 11 Virus Warnung
Replies: 4
Views: 96

Re: Win 11 Virus Warnung

Vielleicht als vermutetes false positive bei Microsoft einreichen? https://www.autohotkey.com/boards/viewtopic.php?f=17&t=62266 Aber das kann natürlich dauern, fürchte ich... Oder es mal mit einer älteren AHK-Version kompilieren? 🤷‍♂️ Zur Zeit hat AHK leider wieder mal schwer zu kämpfen mit den allm...
by gregster
22 Apr 2024, 10:01
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 861
Views: 2039609

Re: Issues with registering, Post your username here...

@prototype_zero
No need to delete your post. If these are the posts you were lokking for, it's all fine.

Edit: Since you created another topic, I deleted the original one which didn't get any response yet.
by gregster
22 Apr 2024, 09:51
Forum: Ask for Help (v2)
Topic: Windows defender tells me that a virus is in the autohotkey setup file
Replies: 6
Views: 327

Re: Windows defender tells me that a virus is in the autohotkey setup file

There are different utilities which can do this. If you have a recent MS Powershell version installed, this should work: https://www.se.com/us/en/faqs/FAQ000244427/
Worked here (where Windows Defender also originally quarantined the latest AHK installer and I had to restore it):

ps.png
ps.png (15.79 KiB) Viewed 302 times
by gregster
22 Apr 2024, 09:23
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 861
Views: 2039609

Re: Issues with registering, Post your username here...

I am having issues with posting. When I submit a new topic post, I get neither a rejection or approval, it just disappears into the void. If you are looking for your last two posts/topics from a few days ago, they have been moved here, from AHK v2 help to v1 help: https://www.autohotkey.com/boards/...
by gregster
22 Apr 2024, 09:12
Forum: Ask for Help (v2)
Topic: Windows defender tells me that a virus is in the autohotkey setup file
Replies: 6
Views: 327

Re: Windows defender tells me that a virus is in the autohotkey setup file

Unfortunately, AutoHotkey gets regularly false positives from AV software, especially (but not limited to) new releases. https://www.autohotkey.com/docs/v2/FAQ.htm#Virus https://www.autohotkey.com/boards/viewtopic.php?f=17&t=62266 If you download from this page or the github release page (https://gi...
by gregster
22 Apr 2024, 05:55
Forum: General Discussion
Topic: looking for a list of shortcut letters that are not already assigned by MS Word or Excel
Replies: 2
Views: 60

Re: looking for a list of shortcut letters that are not already assigned by MS Word or Excel

Welcome to the AHK forums! Seems futile, I would rather look into context-sensitive/window-specific hotkeys: https://www.autohotkey.com/docs/v2/Tutorial.htm#s22 https://www.autohotkey.com/docs/v2/lib/_HotIf.htm (imo, if I don't know or already use a specific Excel or Word shortcut, there seems no ha...
by gregster
20 Apr 2024, 16:53
Forum: Ask for Help (v2)
Topic: Keybiard substitution containing braces?
Replies: 3
Views: 60

Re: Keybiard substitution containing braces?

Just to clarify once again, this would be a hotstring actually, not a hotkey.
But T or text mode is available for both, just the syntax differs.
by gregster
20 Apr 2024, 11:38
Forum: Ask for Help (v2)
Topic: help with KeyWait please Topic is solved
Replies: 4
Views: 88

Re: help with KeyWait please Topic is solved

The parentheses of functions are only optional if you don't need the return value and the function name is at the start of the line.
See https://www.autohotkey.com/docs/v2/Language.htm#function-call-statements
by gregster
20 Apr 2024, 00:48
Forum: Ask for Help (v2)
Topic: Using LShift + LButton for RButton as well as be able to drag
Replies: 1
Views: 23

Re: Using LShift + LButton for RButton as well as be able to drag

KeyWait doesn't use braces.
(Send needs to use that syntax because it's also able to send multiple keys in a row and without braces you would have ambiguity; this doesn't apply to KeyWait which only accepts one single key.)

PS: Please use code tags, next time. Thank you!
by gregster
19 Apr 2024, 06:01
Forum: Ask for Help (v2)
Topic: Msgbox syntax help
Replies: 1
Views: 42

Re: Msgbox syntax help

In expressions , which you have a lot in v2, you should only quote strings (literal text) - but if you want to evaluate a variable , you shouldn't quote its name. MsgBox(A_ScriptName " updated", "Notice", "T1") Btw, that's a general rule for expressions and not specific to msgboxes. See also: concat...
by gregster
18 Apr 2024, 02:42
Forum: Ask for Help (v2)
Topic: Clipboard unvisible items
Replies: 6
Views: 134

Re: Clipboard unvisible items

My script is certain in v2 the #Requires AutoHotkey v2+ is on thet top of my script Well, we don't know your actual script and have to go with the information provided. We actually encounter a lot of v1 questions which are initially posted in the v2 help subforums. When I moved your script, I based...
by gregster
17 Apr 2024, 18:25
Forum: Ask for Help (v2)
Topic: Open a pdf file in Chrome New tab
Replies: 8
Views: 144

Re: Open a pdf file in Chrome New tab

I was pretty sure I posted this in AHK 2.0 section [Mod action: Topic moved from "Ask for Help (v2)" since this is v1 code.] :shock: Can I please get this script for AHK 2.0 I moved the topic back to v2 help. Generally, if you post v1 code and want it translated to v2, it would be good to state thi...
by gregster
17 Apr 2024, 12:04
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

I used the v1 some years without seeing this problem... I think this is a very important thing, then is important to explain it on the hel manual, usage and syntax. There are plenty of topics on the v1 forums about this. But if people don't read the docs - and the FAQs are an important part of the ...
by gregster
17 Apr 2024, 11:55
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

It is in the FAQ 🤷‍♂️ - and before it has been for ages in the AHK v1 FAQ (then, only UTF-8 with BOM was recommended; v2 doesn't necessarily need the BOM).

Go to advanced search