Any other ideas here? I removed the shortcut from the Startup folder an created a new one, making sure it pointed to the script, not the exe. (Spent a couple hours chasing down that mistake some years ago). I can click on Start -> All Programs, scroll down to the Startup folder, click on it, then on...
Thanks for the reply #boiler. Manually running it from the Startup folder works fine. I have always had the following code at the top of the script: ; ; ; Log the boot time ; FormatTime, OutputLine, , yyyy-MM-dd HH:mm:ss FileDelete, c:\BootTime.txt FileAppend, %OutputLine%, c:\BootTime.txt Yes, this...
I have a shortcut to AHK in my Startup folder on a Windows 7 Ultimate x64 machine. Its been working just fine for years. Just noticed this week that it no long loads at startup while everything else in the startup folder works. I've checked Event Viewer and don't see anything there. Can't find any t...
I need to send a combination of Ctrl + Shift + right arrow to highlight a chunk of text that the cursor is next to. I've tried a number of things, using Send, Send Keys and with the combination of ^!{Right}, but nothing is working correctly. What am I missing?
Kinda embarrassed to be asking this after many, many years of using AHK, but how do I send trailing spaces with the Send command? Here's the two lines of code: FormatTime, TimeStamp, , M/d/y hh:mmtt Send %TimeStamp% - Notice at the end of the Send line, there is a space, dash and a trailing space. H...
Thanks for the reply GEV, but that's not quite what I need. Also, I didn't explain myself very well. Here's how the flow of the script should be: Script is started via hotkey and waits for user to click somewhere on the screen Use MouseGetPos and save the X & Y coordinates Wait for user to click som...
I have a script where I need the user to click somewhere on a window and get the mouse coordinates of where they clicked. Input won't work as it waits for a string to be entered. Is there some way to do this? Don't really need a prompt, as it would be at the beginning when the script is first run by...
Trying to lock a Windows 7 machine via AHK. Normally, to do this you just hold down the Windows key and hit the letter l (lowercase L). I have tried it the following 3 ways, but none of them work: Send #l Send, {LWin Down}l{LWin Up} Send, {LWin down} Send l Send, {LWin up} Am I missing something obv...
Every script has a systemtray icon of it's own if it's not manually disabled by #NoTrayIcon. AHK itself doesn't have one as it just runs in the background. Don't mean to beat a dead horse here, but when I start the AutoHotkey executable at boot time, it does place an icon in the system tray. This g...
You can make a script add itself to the start folder like this : (simplified version) FileCreateShortcut, %A_ScriptFullPath%, %A_Startup%\My AHK Script.lnk, %A_ScriptDir% It's then no longer needed to run AHK as it will be launched ;) I can understand the confusion about this since when you install...
Weird. Mine runs at startup without any hassle. Never had any issues with it even after moving to W10 x64. Same here. All of my scripts just worked when I upgraded from Win7 -> 8 -> 10. The scripts have always worked fine. The problem was getting AutoHotkey to start automatically when Windows is bo...
Over here AHK starts up because I have .ahk scripts that are running on boot. So no need to add it to startup folders for me, just the scripts will do. Are you saying that you just put a .AHK file in your startup folder and that script runs at boot up? Does that then load AutoHotkey so that it is a...