Skip to main content

All Questions

2 votes
2 answers
1k views

How to hide or disable the cmd console when starting an executable

I wrote an executable that displays a window on the screen and gets some use input. It is bound to ⊞ Win+N: #n:: Run "C:\Perso\dev-perso\dly\dly.exe" My problem: this also opens a cmd (or ...
WoJ's user avatar
  • 3,263
1 vote
1 answer
214 views

Is it possible to resize window to be larger than the desktop?

I have a program whose window size should be greater than the desktop because when maximized, it is still short of a few pixels at the right, making it hard to control scrollbar when the mouse cursor ...
medukia's user avatar
  • 33
1 vote
1 answer
662 views

Press any key to exit in command prompt?

I have an autohotkey script that runs cmd to check the hash for the selected file. I use certutil command for that task. #h:: hwnd := WinExist("A") for Window in ComObjCreate(&...
medukia's user avatar
  • 33
0 votes
2 answers
641 views

AutoHotKey run cmd with pretyped text, without executing

Existing Q&A's handle running commands, but I simply wish to open cmd with pretyped text, since a part of the command changes with each use. Fully dummy example, I'd like to launch cmd with del &...
OverLordGoldDragon's user avatar
1 vote
0 answers
150 views

Run Native Windows 10 Apps with Parameters

Previously I installed IrfanView locally (as a normal application). I was able to execute the following successfully in AutoHotkey to open a specific folder within the app: run, "C:\Program Files\...
Ahmed's user avatar
  • 381
1 vote
0 answers
911 views

Changing integrity of a running process, in Windows from command line?

I trying to change running processes integrity, as can be changed in Process Hacker: So, like this, but in command line that I need. I tried Icacls, and chml, and PsExec, but they not capable to do ...
MoneTaliMonolis's user avatar
0 votes
1 answer
223 views

Run .cmd file every x minutes when app is being used?

I'm trying to find a way to incrementally back-up a folder every 15 minutes, but only if VS Code has been used/in focus since the last time it was backed up. Does anyone have an idea for how I could ...
TheNomadicAspie's user avatar
2 votes
2 answers
5k views

Connecting/Disconnecting to Bluetooth Device via CMD, PS, or AHK?

I'm at my wits' end right now. I'm on the latest version of Windows 10 and I just want to run a script to connect/disconnect to my Bluetooth headphones when executed. I've looked at a couple other ...
OskeeHelpMe's user avatar
1 vote
1 answer
853 views

Starting GUI programs from WSL using AutoHotKey: how to tell cmd which $DISPLAY variable to use?

I have lately found the correct configuration for using Xming to get gvim.exe started from my WSL (Windows Subon Windows, and I wonder if I can automate the procedure. At the end of the day, I would ...
llinfeng's user avatar
  • 1,310
1 vote
2 answers
4k views

how to open file in window on set position using autohokey from cmd/batch?

I having a hard time to combine my scripts which work separately... basicly I have a batch script with following in it: START "" "mpc-hc64.exe" "video.avi" this will open my video in mediaplayer. ...
gamer0's user avatar
  • 931
0 votes
2 answers
1k views

Do a Reload Without Flashing The Tray Icon - Autohotkey Script

I want to do a Reload Without Flashing The Tray Icon, on my Windows 10 64/bit System. Is there a Simple Autohotkey Script that i can use. i do not want, if i run the Reload Command, that My ...
Philip Lavour's user avatar
11 votes
2 answers
26k views

AutoHotKey Run Windows Commands

Is there a way to run Windows command line commands in AutoHotKey without just opening a command prompt and sending the key presses? I want to run commands hidden in the background. For example ...
JakeIC's user avatar
  • 731
0 votes
1 answer
664 views

A Windows application : Show live output of results(stdout?) of prespecified command

I am looking for a application that works in the following manner : The application shows/has an input area/box. And it runs a pre-specified command/application (using the input as paramas) and ...
gyaani_guy's user avatar
-1 votes
2 answers
2k views

Open CMD Window, Run Batch File From CMD Window, Then Close CMD Window

I have tried to search for an example of how to do this with no success including with autohotkey (I'm very much a noob with AHK). What I am trying to do is open a command window at the explorer ...
MrGadget's user avatar
2 votes
1 answer
95 views

How do you open a window and push it to the right from the command line?

I'm using autohotkey on Windows 7, and I bound Ctrl+Alt+T to the command run powershell.exe -noexit -WindowStyle Maximized, which works, but I am partial to using powershell when it is pushed to the ...
Matt's user avatar
  • 21

15 30 50 per page