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

Ask for Help (v2) • showing cmd window with command being run from ahk script?

I'm trying to get the cmd window to display with the input it receives so I can see why this isn't working.CODE: Run("C:\Windows\System32\cmd.exe /c mklink " args.value "...

View Article


Ask for Help (v1) • Re: split arrays

CODE: #Requires AutoHotkey v1.1.35arr := [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]splitNum := 3split := []reverseSplit := []For n, item in arr { group := (n - 1) // splitNum + 1 If !split[group].Length()...

View Article

Ask for Help (v2) • Re: showing cmd window with command being run from ahk...

Hello,I believe that if you change "/c" to "/k", the window will persist.CMD: /C Run Command and then terminate /K Run Command and then remain open, at the CMD prompt. This is useful for testing, e.g....

View Article

Ask for Help (v2) • Re: Looking for a script to create shortcut for touch...

Due to the issues mentioned, the script that I posted works if you use only the hotkey to toggle the keyboard. As noted, if you close the keyboard via its "X" button, the process continues to run. In...

View Article

Ask for Help (v1) • Re: Hotkey for multiple durations

@rohwedder. For whatever reason it work's like a charm now. Now to modify with some programs to see what happen's.CODE: ; The refined code:; Allows (almost) an infinite number of actions while holding...

View Article


Scripts and Functions (v2) • Re: Snipper - Window Snipping Tool

Thank you for answering so quickly! I know some of these tools but in my corporate environment I am not allowed to download and run applications but I have managed to get Autohotkey approved, which...

View Article

Scripts and Functions (v1) • Re: Toggle Microphone Mute

CODE: #Requires AutoHotkey v2.0-beta#SingleInstance forceTraySetIcon "C:\Windows\System32\imageres.dll", 250A_IconTip := "Microphone Status"Pause:: {if (SoundGetMute( , "Microphone") = 1) {...

View Article

Gaming Help (v1) • Help to understand the script

I got this script from internet and i'm dont know how it works how what i need do to it work, I never programmed in ahk.CODE: #NoEnv#IfWinActive, GTA:SA:MPOnExit, freeMemorygetProcessAndModules:global...

View Article


Ask for Help (v1) • How to keep some windows always at bottom?

Here is always on top code.F12:: Winset, Alwaysontop, , AHow the write the always at bottom?Many thanks.Statistics: Posted by Lo4438 — Today, 09:07

View Article


Ask for Help (v1) • Re: How to keep some windows always at bottom?

Always on bottom is not an option. If you check the WinSet documentation, you will see that there is a "Bottom" option. If having a window always on the bottom is something you really want, you could...

View Article

Ask for Help (v2) • Re: Updating to V2 - script for use with Microsoft Excel

I tried to adapt my script, but the app shows the following message (lines 7 and 17) "Error: This value of type "Worksheet" has no method named "Call"."Here is my script:CODE: #HotIf WinExist('ahk_exe...

View Article

Gaming Help (v1) • Re: Help to understand the script

Welcome to this AutoHotkey forum!Just an idea here. It looks like you want help with understanding the script. I think it will take a while. One great resource is the AutoHotkey documentation, which...

View Article

Ask for Help (v1) • Re: Display COUNT on second monitor

One way is to adjust your WinMove values... https://www.autohotkey.com/docs/v1/lib/WinMove.htmFor my 27 inch dual monitors, setting the line...CODE: WinMove, Count,, 1, 50toCODE: WinMove, Count,,...

View Article


Ask for Help (v2) • Re: Need functions to convert selected text to lowercase...

CODE: #Requires AutoHotkey v2.0#SingleInstance ForceF2::A_Clipboard:="YOU ARE WELCOME"F3::ClipboardPasteLowercase()ClipboardPasteLowercase() { clipSaved:=ClipboardAll() str:=A_Clipboard...

View Article

Ask for Help (v1) • Re: KeyOpt bug

I added a tooltip below. Although I do not have AltGr, I saw no problems with the Alt and Ctrl keys. Close other scripts before running this.CODE: #Requires AutoHotkey v1.1.35#SingleInstanceih:=...

View Article


Ask for Help (v1) • Re: capture the output of an ffmpeg console command

You have to get information from StdErr instead of StdOut.CODE: DetectHiddenWindows Oncommand:= "ffmpeg -i FilePath.mp3 -hide_banner -nostats -filter:a volumedetect -vn -dn -sn -f null nul"Run...

View Article

Ask for Help (v2) • Re: Run as administator - How?

Thank you! (it works!)Is there any practical difference between the proposals?or the solution from the documentation - Run as Administrator?CODE: full_command_line := DllCall("GetCommandLine",...

View Article


Ask for Help (v2) • keystroke to insert multi line text items.

Hello, I am completely new to running AHK to start off. Thanks for whoever may take the time to help me with my issue! I have 2 parts to this. First I want to have a script that allows me to insert...

View Article

Ask for Help (v2) • bypass UAC in 2.0 - possible?

Hi!Is it possible to manage UAC using Autohotkey 2.0( like AHK 1.0 RunAsTask() - Auto-elevates script without UAC prompt )Statistics: Posted by Albireo — 30 minutes ago

View Article

Ask for Help (v2) • Re: keystroke to insert multi line text items.

Welcome to this AutoHotkey forum!Do you need the clipboard for some reason?How do I put my hotkeys and hotstrings into effect automatically every time I start my PC?Statistics: Posted by mikeyww — 29...

View Article
Browsing all 579 articles
Browse latest View live