Quantcast
Channel: AutoHotkey Community
Browsing all 579 articles
Browse latest View live

Bug Reports • Re: Weird critical error

I ran AutoHotkey.exe in debug mode in Visual Studio + the script in debug mode in VSCode with vscode-autohotkey-debug (attach mode), and the stack before the crash was the following:CODE:...

View Article


Scripts and Functions (v2) • Re: [alpha] WinEvent - easily detect window...

Hello! Thanks for this. I stumbled upon this today and already put it to use a few different ways, and just realized how new it is!I will have to experiment what exactly is going on, but I've found a...

View Article


Ask for Help (v2) • Re: logical or usage

this is it, thankyouStatistics: Posted by marypoppins_1 — Today, 15:31

View Article

Suggestions on Documentation Improvements • Re: ahk_class is case-sensitive

@mikeywwWindow titles are case-sensitive, except when using the i) modifier in a RegEx pattern.https://www.autohotkey.com/docs/v2/misc/WinTitle.htm#WinTitleStatistics: Posted by vmech — Today, 15:37

View Article

Ask for Help (v2) • Re: How to make a symbol selector

@jinok I like the open and closing brackets with 2 spaces!Note: if you include the +E0x08000000 in the gui options you can remove the MyGui.hide and MyGui.restore and the gui will not flicker....

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v2) • tooltip function issue

hello. i have a code that toggles the alwaysontop state of an active window. it works perfectly fine except that when i use "tooltip()" instead of "tooltip" i get an error. do i something wrong with...

View Article

Ask for Help (v2) • Re: tooltip function issue

Yes, do it the way that works!You are specifying a function object to call. A function object does not have the parentheses because that is a function call rather than a function object (if not a...

View Article

Ask for Help (v2) • uses of labels

hello. quick question. are labels needed in v2 or can i just substitute them by functions with no arguments? like are they now a thing of the past?Statistics: Posted by marypoppins_1 — 31 minutes ago

View Article


Ask for Help (v2) • Throwing Continuable Errors Directly

 (This might be the shortest question I've asked.)Is it possible to intentionally raise Continuable Errors in custom functions or methods?I tried using throw, but as mentioned in the official...

View Article


Ask for Help (v1) • Re: How to play two sounds at once?

CODE: #Requires AutoHotkey v1.1.33.11s1 := "s2.wav"s2 := "s1.wav"playAudio(s1)playAudio(s2)playAudio(audioFile) { psScript := "(New-Object Media.SoundPlayer """ audioFile """).PlaySync()" Run %...

View Article

Ask for Help (v2) • Re: uses of labels

 While labels haven't been removed, and Goto that utilizes labels isn't eliminated, its usage is exceedingly rare compared to v1.In every case, it can be replaced with functions or other...

View Article

Ask for Help (v2) • Re: How to Double tap to break a looped behaviour?

I'm not really sure why you're experiencing those things. A completely separate timer in another script that does different things preventing an unrelated timer from working doesn't make sense, unless...

View Article

Image may be NSFW.
Clik here to view.

Scripts and Functions (v2) • Re: [v2] FindText - Capture screen image into...

@feiyueI have a problem with this script :when the option Ul Acces is checked An empty white window (Always on top) that It does not contain anything, covers a part of the screen, and It is located in...

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v2) • Problem with the script Find_Text.ahk ?

I have a problem with this script viewtopic.php?t=116471when the option Ul Acces is checked An empty white window (Always on top) that It does not contain anything, covers a part of the screen, and It...

View Article

Ask for Help (v2) • Re: DoubleClick OnEvent with Array

Welcome to this AutoHotkey forum!CODE: #Requires AutoHotkey v2.0g := Gui(, 'Test'), g.SetFont('s10')LV := g.AddListView('w300', [1, 2])LV.Add , 'abc', 'def'LV.Add , 'ghi', 'jkl'LV.ModifyCol(COL := 1,...

View Article


Skripte und Funktionen • ActiveX-Explorer

;- ActiveX-Explorer , select defined folders with DDL;- select a file to see info in GUI-Child > txt-files or also ( picture,MP3,MP4 > needs exiftool );-CODE: ;- ActiveX-Explorer , select...

View Article

Ask for Help (v1) • Re: Gui with activex

modified little , can select also backwards;- select a file to see info in GUI-Child > txt-info or also infos for ( picture,MP3,MP4 > needs exiftool )CODE: ;- ActiveX-Explorer , select defined...

View Article


Ask for Help (v2) • Embed comment in menu?

I tried embedding a comment in a menu by pointing a fat arrow function to 'nothing.' It seems to work, but is this okay to do?? I don't want to cause a memory leak or some kind of other issue. CODE:...

View Article

Ask for Help (v2) • Re: COM help with Word

As far as I know, changing a setting in COM doesn't change what the equivalent manual button would do. And sending a keyboard shortcut is less reliable than performing the action directly with COM. I...

View Article

Ask for Help (v2) • simple double click detect

Can someone help me I've searched for ahk V2 version of double click detect and keep getting V1 results. for the scripts that are labeled V2 none of them work.I uninstalled AHK and reinstalled to make...

View Article
Browsing all 579 articles
Browse latest View live