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

Ask for Help (v2) • Re: simple double click detect

It would be nice if there was some sort of AHK version filter portal were users can flag links with a version number.It is filtered. The v1 section of the forum is totally separate from the v2...

View Article


Ask for Help (v1) • Trying to make a simple script that uses DLLCall...

Hello,I've used different mouse functions that worked fine and in a very straight forward way of simply moving the mouse to a set of absolute coordinates on the screen. But for some reason, as soon as...

View Article

Ask for Help (v2) • Get Windows UWP icons

Any ideas how could one get the 256px icon from UWP apps? Settings, Calculator, Store, etc.I've been reading that SHLoadIndirectString could retrieve the icon. This script by @just me uses it to get...

View Article

Scripts and Functions (v2) • Re: UIA v2

I have been having some weird issues with UIA these days, I haven't changed my code in any way.I am automating google chrome on 2 computers, but on one computer (COMP 1) it works as usual, but on the...

View Article

Ask for Help (v1) • Hotstring() doesn't work when #If present

So... first of all, hi again fellow AHK users.Second, I've come up with the following bit of code in order to set up Hotstrings with Variables and a Func():CODE: Hotstring(":X:" prefix name,...

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v2) • copy on one machine, paste on another machine...

I can not install any software or even run new .exe on my work machinebut it does have AHK so I can run scriptsI often need to pass various text to my work machine from my other machineso I end up...

View Article

Bug Reports • InputHook "suppress" doesn't suppress backspace

CODE: F1::{ ih := InputHook("V") ih.KeyOpt("{All}", "S") ih.Start()}F2::ExitAppRun script, press F1, press backspace. Expected result: backspace is suppressed because of ih.KeyOpt("{All}", "S")Actual...

View Article

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

Thank you very much mikeyww, this works fine:-) However, I have no clue, how to add delay for the second audio, which is now desired function for me. And, secondly, it needs to be launched in the way...

View Article


Ask for Help (v2) • Re: copy on one machine, paste on another machine...

Hello,I would have a look at Pushbullet and similar services. They are designed to do things like you have described, easily and quickly, with little if any programming. This saves you from having to...

View Article


Ask for Help (v1) • Re: Trying to make a simple script that uses DLLCall...

Hallo,try:CODE: ; Function to move the mouse cursor to a specific position on the screenMoveMouseToAbsolute(x, y) {Static SysX := 0x10000/A_ScreenWidth, SysY := 0x10000/A_ScreenHeight ; Calculate the...

View Article

Image may be NSFW.
Clik here to view.

Ask for Help (v1) • status message of wifi connection

Hello, how can I do this (msgbox) in which I write a message that there is no Internet connection?CODE: whr.WaitForResponsestatus := whr.statusif (status != 200) throw "Failed to download data....

View Article

Ask for Help (v2) • Help with ComObject("Msxml2.XMLHTTP")

Hi guys! Why the function "myfunc" or "this.ready" is not called by "this.req.onreadystatechange := myfunc" when the response is done? If "ready" is outside of the class then will work! Any solution...

View Article

Ich brauche Hilfe • Re: Link mit verschiedenen Browsern öffnen

Hi,um einen Link normalerweise mit einem Browser zu öffnen, gibt man den Link als Parameter an, während man den Browser startet. z.B: Run "D:\Programme\Firefox_1\Firefox_1.exe...

View Article


Ask for Help (v2) • Re: Trouble installing V2

I would suggest running the following to confirm that the private key (which setup was failing to open or create) does not already exist. If you are unable to run .ahk files by double-clicking, you...

View Article

Ask for Help (v2) • Re: How to obtain the memory address of a variable in...

Does this mean that "&var" is only suitable for string variables?var is not a "string variable", but a variable that can contain anything, even if it currently contains a string. &var in v1...

View Article


Image may be NSFW.
Clik here to view.

Ask for Help (v1) • Re: status message of wifi connection

thanks. Statistics: Posted by dukuzmo — Today, 16:05

View Article

Scripts and Functions (v2) • Re: Predictive text toggle

My first thought was that some part of the Windows assistive framework isn't installed or initialized properly on your system. The error happens because the EnableHwkbTextPrediction REG_DWORD wasn't...

View Article


Помощь • Re: Помогите нубу c написанием скрипта

@chupapi,CODE: ^q::Send ^{v}Send, текст1Send {Tab}Send, текст2Send {Tab}ReturnПодробнее о команде Send.Statistics: Posted by marusa122 — Today, 16:23

View Article

Ask for Help (v1) • Re: Code to restore minimized window (translated from...

CODE: ; Press F1 to restore the last minimized window:F1::arr := []WinGet, id, list,,, Program ManagerLoop, %id%{this_id := id%A_Index%WinGet, state, MinMax, ahk_id %this_id%if (state =...

View Article

Image may be NSFW.
Clik here to view.

Scripts and Functions (v2) • System Theme Aware ToolTip

This will make your ToolTip style conform to the current system theme (dark/ light mode and rounded corners on Win 11).How It Looks Like (On Windows 11/ Dark Mode) How To Use Just simply include this...

View Article
Browsing all 579 articles
Browse latest View live