Search found 17 matches
- 14 Jun 2019, 05:30
- Forum: Ask for Help (v1)
- Topic: Script to sleep monitors + other devices
- Replies: 4
- Views: 2388
Re: Script to sleep monitors + other devices
1) If you disable the keyboard, how do you intend to wake your computer back up from sleep mode? Usually people touch a key, then the computer wakes up from sleep because of that. Do you want to put everything to sleep, then wake it back up at a set time instead? I typically move my mouse to wake m...
- 13 Jun 2019, 12:12
- Forum: Ask for Help (v1)
- Topic: Script to sleep monitors + other devices
- Replies: 4
- Views: 2388
Re: Script to sleep monitors + other devices
F1::PostMessage, 0x0112, 0xF170, % (i:=!i)?2:-1,, A ; << Press F1 to toggle On/Off F2 Up:: ; << Press F2 to toggle On/Off IF !F2 := !F2 Return BlockInput, On While, !GetKeyState("F2","P") Sleep, 100 BlockInput, Off Return This script disables all monitors, mouse, and mouse pad. Unfortunately, the k...
- 12 Jun 2019, 23:00
- Forum: Ask for Help (v1)
- Topic: Script to sleep monitors + other devices
- Replies: 4
- Views: 2388
Script to sleep monitors + other devices
I've found the script below and it works perfectly with putting my monitors to sleep. I'd like to edit it to put my keyboard, mouse, and mouse pad to sleep as well if possible.
Code: Select all
F1::PostMessage, 0x0112, 0xF170, % (i:=!i)?2:-1,, A ; << Press F1 to toggle On/Off
- 18 Feb 2019, 17:44
- Forum: Gaming Scripts (v1)
- Topic: Rapid fire while both mouse buttons are held down
- Replies: 1
- Views: 2702
Rapid fire while both mouse buttons are held down
Looking to make the script below work only when both the left and right mouse buttons are held down together. Not quite sure how to do it, any help would be appreciated. LButton:: KeyWait, LButton, T1 SetMouseDelay 20 While GetKeyState("LButton","P"){ Click Click, right } return Edit: Turns out it w...
- 17 Dec 2017, 22:42
- Forum: Gaming Help (v1)
- Topic: How to close a script when opening a program?
- Replies: 0
- Views: 459
How to close a script when opening a program?
I've recently started playing Black Desert Online and it's anti-cheat program closes the game when Autohotkey is active. I was wondering if it was possible to close an AHK script when the game is launched so that I don't need to do it manually? I tried the following script, but it doesn't seem to wo...
- 07 Oct 2017, 21:43
- Forum: Gaming Help (v1)
- Topic: Help blocking mouse movement within RuneScape
- Replies: 1
- Views: 663
Help blocking mouse movement within RuneScape
I'm currently trying to get a script that will block mouse movement while right click is held down, only while RuneScape is active. The below script locks down the mouse when the right mouse button is pressed, but it doesn't go back to normal when released. Though it's not needed, I would also like ...
- 29 Aug 2017, 22:07
- Forum: Gaming Help (v1)
- Topic: Script for multiple space bar presses.
- Replies: 3
- Views: 1028
Re: Script for multiple space bar presses.
Thank you very much. =)
- 22 Aug 2017, 15:25
- Forum: Gaming Help (v1)
- Topic: Script for multiple space bar presses.
- Replies: 3
- Views: 1028
Script for multiple space bar presses.
Looking for a script that will send space bar 4 times if I hold it down for .5 seconds. Seems simple enough, but I'm not quite sure how to do it. Any help would be very appreciated.
- 01 Jul 2017, 16:12
- Forum: Ask for Help (v1)
- Topic: Help with cursor hiding script Topic is solved
- Replies: 15
- Views: 5949
Re: Help with cursor hiding script Topic is solved
Your alternative script worked perfectly for me! As for the script I originally linked, it was something that I picked up from a previous thread so I don't know much about that function. I'm sorry. =(
Thank you all though for taking the time to help me, happy I ended up with something that worked.
Thank you all though for taking the time to help me, happy I ended up with something that worked.
- 01 Jul 2017, 08:23
- Forum: Ask for Help (v1)
- Topic: Help with cursor hiding script Topic is solved
- Replies: 15
- Views: 5949
Re: Help with cursor hiding script Topic is solved
There is another way with SHELLHOOK that allows you to monitor (and respond to) the active window. Forum user SvenBent explains the benefits of SHELLHOOK over SetTimer here: https://autohotkey.com/boards/viewtopic.php?p=109226#p109226 It works like this: Put a Watchdog function in your script and h...
- 30 Jun 2017, 10:09
- Forum: Ask for Help (v1)
- Topic: Help with cursor hiding script Topic is solved
- Replies: 15
- Views: 5949
Re: Help with cursor hiding script Topic is solved
I see. I've never used those before. Would you maybe be able to assist me in changing the script to use that instead?
- 30 Jun 2017, 06:43
- Forum: Ask for Help (v1)
- Topic: Help with cursor hiding script Topic is solved
- Replies: 15
- Views: 5949
Help with cursor hiding script Topic is solved
The below script seems to work perfectly when I press ScrollLock, but I was hoping to have it work without having to press any keys if a window was active. Where exactly do I place #IfWinActive? Could someone help me out with editing this? For the sake of simplicity, lets just use #IfWinActive, Pain...
- 15 Jun 2017, 06:38
- Forum: Gaming Help (v1)
- Topic: Dragon's Dogma Online Script Help
- Replies: 4
- Views: 1961
Re: Dragon's Dogma Online Script Help
I feel silly, it was as simple as needing to run the file as administrator. Thank you very much for taking the time to help me!
- 14 Jun 2017, 04:00
- Forum: Gaming Help (v1)
- Topic: Dragon's Dogma Online Script Help
- Replies: 4
- Views: 1961
Re: Dragon's Dogma Online Script Help
That script was pretty cool, pulled the title perfectly for me. Now the issue I'm having is that #IfWinActive doesn't seem to be working with this game. Is there a work around or solution to this? I've never encountered that before so any help would be very appreciated. The below code is what I'm us...
- 13 Jun 2017, 21:52
- Forum: Gaming Help (v1)
- Topic: Dragon's Dogma Online Script Help
- Replies: 4
- Views: 1961
Dragon's Dogma Online Script Help
I'm currently trying to get a script running for Dragon's Dogma Online, but I can't seem to figure out what the window title is. Normally I run a script that gets me the window title and then I run a script that changes my keys if the window is active. Unfortunately, my first script doesn't seem to ...
- 14 Mar 2017, 03:00
- Forum: Ask for Help (v1)
- Topic: Script Help: Cycle between two displays
- Replies: 4
- Views: 1191
Re: Script Help: Cycle between two displays
Thanks a lot! I ended up using this, I'm not sure if it's exactly optimal, but it seems to be working well enough. OddPress := 0 ; false F1:: If Not OddPress { Send #{P} Sleep, 80 Send {Up} Sleep, 80 Send {Enter} Sleep, 80 Send {Escape} Sleep, 1000 } Else { Send #{P} Sleep, 80 Send {Down} Sleep, 80 ...
- 14 Mar 2017, 01:09
- Forum: Ask for Help (v1)
- Topic: Script Help: Cycle between two displays
- Replies: 4
- Views: 1191
Script Help: Cycle between two displays
Currently I have my secondary monitor that I use to extend my primary display. I'd like to do the same with my third monitor, but my graphics card unfortunately only supports two displays. I would like a script that will cycle between monitor 2 and monitor 3 as my extended display on key press (f12)...