Search found 19 matches

by robhayes
21 Mar 2018, 15:12
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 36315

Re: Automatically Restore Last Window Position For Each Process

Thank you for pointing out where I could find the registry key that needed to be deleted. Problem solved.
by robhayes
21 Mar 2018, 12:54
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 36315

Re: Automatically Restore Last Window Position For Each Process

Well, it seems you have to place the RegDelete file with the right name (see last code box: RegistryDelete.ahk) in the same directory and run the main file again - description is in the first post. This did not work for me. Is there a certain reg file I can manually delete? This script completely b...
by robhayes
20 Mar 2018, 13:20
Forum: Scripts and Functions (v1)
Topic: Automatically Restore Last Window Position For Each Process
Replies: 51
Views: 36315

Re: Automatically Restore Last Window Position For Each Process

How do I uninstall this script? I don't like it's behaviour with popup menus and folders.

I've tried just deleting the files, but it appears to be called in my startup somewhere, and I can't find it.
by robhayes
07 Jul 2017, 13:44
Forum: Ask for Help (v1)
Topic: Simple NumpadSub to Media_Next script
Replies: 5
Views: 1538

Re: Simple NumpadSub to Media_Next script

That did not solve it.
by robhayes
07 Jul 2017, 12:23
Forum: Ask for Help (v1)
Topic: Simple NumpadSub to Media_Next script
Replies: 5
Views: 1538

Re: Simple NumpadSub to Media_Next script

Ultimately, using the vk/sc values is what worked:

vk6Dsc04A::vkB0sc119

However, I am now faced with a new issue. My hotkey does not work when Chrome is in focus. Any ideas why?
by robhayes
06 Jul 2017, 13:34
Forum: Ask for Help (v1)
Topic: Simple NumpadSub to Media_Next script
Replies: 5
Views: 1538

Simple NumpadSub to Media_Next script

Hello, I am trying to make a presumably very simple script to remap my Numpad's subtract key to Media_Next. Can someone please help? ; stop AHK by pressing the PAUSE key: ; http://www.autohotkey.com/docs/commands/Suspend.htm #NoEnv SendMode Input #persistent #r::Reload #InstallKeybdHook NumpadSub::M...
by robhayes
04 Jul 2017, 11:19
Forum: Ask for Help (v1)
Topic: How to play sound on every keypress regardless of key and without affecting its function
Replies: 2
Views: 2427

How to play sound on every keypress regardless of key and without affecting its function

Hello, I have a quiet keyboard, so for fun I would sometimes like to enable a satisfying mechanical switch sound whenever a key is pressed, such as https://freesound.org/people/Jagadamba/sounds/254286/ I have figured out how to make the sound play using SoundPlay, C:\mechanical-switch.wav, but makin...
by robhayes
13 Jun 2017, 11:22
Forum: Ask for Help (v1)
Topic: [Resolved] My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved
Replies: 4
Views: 2227

Re: My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved

So, I discovered it only works when Chrome is in the foreground. What gives?

edit: it was some other scripts I had on top of this one. I made a seperate .ahk file and it works fine. Case closed.
by robhayes
13 Jun 2017, 11:09
Forum: Ask for Help (v1)
Topic: [Resolved] My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved
Replies: 4
Views: 2227

Re: My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved

Thanks for the reply, MilesAhead. I hacked this script together based on another I found. I do not understand what changing ~ScrollLock to $ScrollLock does, but I will give it a try. Can you please elaborate on "use Send to send ScrollLock"? What do I need to change, and where? I will add the sleep ...
by robhayes
13 Jun 2017, 10:46
Forum: Ask for Help (v1)
Topic: [Resolved] My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved
Replies: 4
Views: 2227

[Resolved] My Scroll Lock toggle is inconsistent and only works the first couple times. Topic is solved

Hi guys, I'm trying to repurpose my Scroll Lock to toggle my lights and monitors in my office. When Scroll Lock is on, I want my lights and monitors to switch off (the LED indicator will be nice to see in the dark). Here is the code, I appreciate any help. ; stop AHK by pressing the PAUSE key: ; htt...
by robhayes
12 Jun 2016, 19:22
Forum: Ask for Help (v1)
Topic: Mouse button remapping script 'locking up'
Replies: 3
Views: 1063

Re: Mouse button remapping script 'locking up'

Unfortunately I have isolated the issue to this script, and your above code did not resolve the issue I'm facing.

Any other ideas?? :)
by robhayes
24 May 2016, 14:22
Forum: Ask for Help (v1)
Topic: Mouse button remapping script 'locking up'
Replies: 3
Views: 1063

Mouse button remapping script 'locking up'

I have a fairly simple mouse button remapping script, that often becomes unresponsive and I must ctrl-alt-del, and open Task Manager for it to resume working. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting co...
by robhayes
02 Jan 2016, 18:03
Forum: Scripts and Functions (v1)
Topic: Commanding Rainmeter with AHK (and vice versa)
Replies: 21
Views: 10457

Re: Commanding Rainmeter with AHK (and vice versa)

Would love to see/hear about some practical use cases of yours.
by robhayes
02 Jan 2016, 17:58
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 209524

Re: EitherMouse 0.59 - Multiple mice, individual settings...

It would be nice to use this with my Wacom tablet that also acts as a mouse cursor. Is this possible?
by robhayes
02 Jan 2016, 13:32
Forum: Ask for Help (v1)
Topic: [solved] Close process when Window Title detected
Replies: 2
Views: 1161

[solved] Close process when Window Title detected

Hello, I am trying to have my script close YoutubeDLG upon complete. ^PgDn:: run, C:\Program Files (x86)\YoutubeDLG\youtube-dl-gui.exe Sleep 1500 Send, ^v Sleep 100 Send, %A_Tab% Send, {Enter} ; NEED LINE HERE TO DETECT WINDOW TITLE 'Info' (http://i.imgur.com/BA7Inoy.jpg) process close, youtube-dl-g...
by robhayes
02 Jan 2016, 12:07
Forum: Scripts and Functions (v1)
Topic: AutoHotkey & NVIDIA (NvAPI)
Replies: 56
Views: 33544

Re: AutoHotkey & NVIDIA (NvAPI)

I'd also love to be able to control Nvidia Surround with this.
by robhayes
02 Jan 2016, 11:49
Forum: Ask for Help (v1)
Topic: [solved] Send keyboard button "k"
Replies: 2
Views: 1123

Re: Send keyboard button "k"

Turns out the easiest solution was just to disable these prompts in DisplayFusion. Consider this one solved, thanks!
by robhayes
01 Jan 2016, 16:59
Forum: Ask for Help (v1)
Topic: [solved] Send keyboard button "k"
Replies: 2
Views: 1123

[solved] Send keyboard button "k"

Hello, I am having difficulty getting my script to press 'k' in a way that can be detected by this dialog box: i.imgur.com/NZOqd5y.jpg Here is my code: Else If Pedersen = quad ; quad mons { gui_destroy() Send, +{F3} ; sleep, 20000 ; SendInput {Raw}k ; run "C:\Program Files\Rainmeter\Rainmeter.exe" !...

Go to advanced search