Search found 8798 matches

by gregster
Today, 11:46
Forum: Ask for Help (v2)
Topic: What programming languages can be integrated in ahk 2? Topic is solved
Replies: 4
Views: 66

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
Today, 11:17
Forum: Ich brauche Hilfe
Topic: Win 11 Virus Warnung
Replies: 4
Views: 86

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
Yesterday, 10:08
Forum: Ich brauche Hilfe
Topic: Win 11 Virus Warnung
Replies: 4
Views: 86

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
Yesterday, 10:01
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 861
Views: 2034527

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
Yesterday, 09:51
Forum: Ask for Help (v2)
Topic: Windows defender tells me that a virus is in the autohotkey setup file
Replies: 6
Views: 235

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 210 times
by gregster
Yesterday, 09:23
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 861
Views: 2034527

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
Yesterday, 09:12
Forum: Ask for Help (v2)
Topic: Windows defender tells me that a virus is in the autohotkey setup file
Replies: 6
Views: 235

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
Yesterday, 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: 58

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: 80

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: 21

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: 143

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).
by gregster
17 Apr 2024, 11:45
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

I already linked to it above: https://www.autohotkey.com/docs/v2/FAQ.htm#nonascii

in Notepad - Save as:

notepad.png
notepad.png (9.01 KiB) Viewed 137 times
In other editors, look for something similar...
by gregster
17 Apr 2024, 11:38
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

Archimede wrote:
17 Apr 2024, 11:35
I manual copied your and it showed 13.
You are obviously using ANSI encoding for your script file and not the recommended UTF-8 (with or without BOM). I was using UTF-8 with BOM in my test above.
When I try ANSI, I get 13... with UTF-8 and UTF-8 with BOM, I get 16.
by gregster
17 Apr 2024, 11:27
Forum: Ask for Help (v2)
Topic: InStr(...) gives error?
Replies: 24
Views: 305

Re: InStr(...) gives error?

AHK v2.0.12:
instr.png
instr.png (19.45 KiB) Viewed 170 times
by gregster
17 Apr 2024, 08:40
Forum: Ask for Help (v2)
Topic: Boilerplate current time Topic is solved
Replies: 6
Views: 137

Re: Boilerplate current time Topic is solved

Hallo, perhaps?: :?*X:,time::Send A_Hour ":" A_Min Thanks for your quick answer to. I'm using V2 here it seems not to work. The answer of ntepa worked. Should work in v2. Add #Requires AutoHotkey v2.0 and try again (because if you have also installed v1, this hotstring code is likely too ambigious ...

Go to advanced search