Search found 91 matches
- 24 Oct 2020, 08:29
- Forum: Ask For Help
- Topic: Disable Mouse Click in specific area of screen Topic is solved
- Replies: 3
- Views: 114
Re: Disable Mouse Click in specific area of screen Topic is solved
#If corner() *LButton:: *RButton:: *MButton:: *XButton1:: *XButton2::Return #If corner() { cornr := False MouseGetPos, xpos, ypos margin := A_ScreenWidth - 200 If xpos between %margin% and %A_ScreenWidth% If ypos between 1 and 200 cornr := True Return cornr } The script blocks the button if the mou...
- 24 Oct 2020, 07:49
- Forum: Ask For Help
- Topic: Disable Mouse Click in specific area of screen Topic is solved
- Replies: 3
- Views: 114
Disable Mouse Click in specific area of screen Topic is solved
I need to disable mouse clicks in this small specific area, as can be seen on the screenshot. The symbols are located in the upper right corner on the screen. Basically I have to set it up so that I can't click on these icons. This script here almost does the job, but I don't know how to find the ri...
- 07 Nov 2019, 08:43
- Forum: Ask For Help
- Topic: Small issue with my AutoRun Script Topic is solved
- Replies: 2
- Views: 384
Re: Small issue with my AutoRun Script Topic is solved
Rohwedder wrote: ↑07 Nov 2019, 07:25Hallo,
perhaps:Code: Select all
~*w:: send,{LShift Down} keywait,w Send,{LShift Up} return ~XButton2::send,{LShift Down}{w Down} ~$f7::ExitApp
Thank you very much Rohwedder! Works very well.

- 07 Nov 2019, 05:10
- Forum: Ask For Help
- Topic: Small issue with my AutoRun Script Topic is solved
- Replies: 2
- Views: 384
Small issue with my AutoRun Script Topic is solved
Hey everyone. I'm afraid I have a little problem with my script. ~$w:: send,{LShift Down} keywait,w Send,{LShift Up} return ~$XButton2:: send,{LShift Down} send,{w Down} return ~$f7::ExitApp This is my AutoRun script. Whenever I hold the key "w" down, it holds "LShift" down. So far so good. That wor...
- 08 Aug 2019, 12:49
- Forum: Ask For Help
- Topic: Multiple #IfWinNotActive Topic is solved
- Replies: 3
- Views: 388
Re: Multiple #IfWinNotActive Topic is solved
I should have noticed (someone else did) that your GroupAdd commands never get executed because you have them after a hotkey definition and not up in the auto-execute section. Should be like this: #NoTrayIcon #Persistent GroupAdd, GroupName , ahk_class window1 GroupAdd, GroupName , ahk_exe window2 ...
- 08 Aug 2019, 08:05
- Forum: Ask For Help
- Topic: Multiple #IfWinNotActive Topic is solved
- Replies: 3
- Views: 388
Multiple #IfWinNotActive Topic is solved
Hey everyone. Straight to the point. I am using a script that does not allow mouse clicks outside certain application(s), only inside application(s). That means that, once that application(s) ends, you can't click on anything. The only way to stop this is to hold F7 for 1.5 seconds. My script looks ...
- 19 Dec 2018, 09:45
- Forum: Ask For Help
- Topic: Send key only once after HotKey has been pressed Topic is solved
- Replies: 4
- Views: 884
Re: Send key only once after HotKey has been pressed Topic is solved
I tested your script (and also added a $). Is this really the whole script? Because for me it makes no sense that it sends P continously, because there is no loop. Are you saying that you press AND release P, but it keeps sending P? Or are you saying you press AND hold P, and it keeps sending? The ...
- 19 Dec 2018, 08:46
- Forum: Ask For Help
- Topic: Send key only once after HotKey has been pressed Topic is solved
- Replies: 4
- Views: 884
Re: Send key only once after HotKey has been pressed Topic is solved
$p:: ; $ prevents the key from triggering itself sleep, 100 Send, p KeyWait, p ; wait for the key to be released return For more keys you can use #UseHook a:: b:: sleep, 100 Send, %A_ThisHotkey% KeyWait, %A_ThisHotkey% return Hey GEV, thanks for your reply! Unfortunately, it is not working. I tried...
- 19 Dec 2018, 07:22
- Forum: Ask For Help
- Topic: Send key only once after HotKey has been pressed Topic is solved
- Replies: 4
- Views: 884
Send key only once after HotKey has been pressed Topic is solved
Hey everybody. This is my code: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir...
- 09 Nov 2018, 16:39
- Forum: Ask For Help
- Topic: Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
- Replies: 4
- Views: 1046
Re: Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
I sometimes use this `magic` to push values an updating value to an array with 2 keys in a loop: xPosArr[ mod( a_index-1, 2 )+1 ] key 1 being the current value and key 2 being the previous value. Here it is applied to your question ( on line 12 ): 973c71077b906cc0c871413232a18e43 Hey TLM, pretty in...
- 09 Nov 2018, 12:59
- Forum: Ask For Help
- Topic: Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
- Replies: 4
- Views: 1046
Re: Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
Hallo, try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consi...
- 09 Nov 2018, 05:51
- Forum: Ask For Help
- Topic: Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
- Replies: 4
- Views: 1046
Mouse Move Left Send K, Mouse Move Left Send H Topic is solved
Here is the script: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures ...
- 01 Nov 2018, 05:39
- Forum: Ask For Help
- Topic: Making this awesome Google Translate Script work for DeepL Topic is solved
- Replies: 16
- Views: 4007
Re: Making this awesome Google Translate Script work for DeepL Topic is solved
Sorry for the late reply, but thank you very much swagfag for your helpful participation! Your way of dealing with translations is better than the other one. And fixes these two issues.
- 30 Oct 2018, 17:26
- Forum: Ask For Help
- Topic: Making this awesome Google Translate Script work for DeepL Topic is solved
- Replies: 16
- Views: 4007
Re: Making this awesome Google Translate Script work for DeepL Topic is solved
So its fairly simple on how to use the DeepL class version. The first thing is to grab the class and either save it as its own or just include inside your main script (might be easier within the main script). Then set up the new class via translate := new DeepLTranslator() which will turn the class...
- 30 Oct 2018, 11:33
- Forum: Ask For Help
- Topic: Making this awesome Google Translate Script work for DeepL Topic is solved
- Replies: 16
- Views: 4007
Re: Making this awesome Google Translate Script work for DeepL Topic is solved
I would take a look a this post https://autohotkey.com/boards/viewtopic.php?f=76&t=49683&p=238850&hilit=deepl#p238850 This has a good class for using deepl Thanks for the link buddy. I came across the topic a few times already. Looks very promising... I don't want to sound ridiculous here, but I do...
- 30 Oct 2018, 05:23
- Forum: Ask For Help
- Topic: Making this awesome Google Translate Script work for DeepL Topic is solved
- Replies: 16
- Views: 4007
Re: Making this awesome Google Translate Script work for DeepL Topic is solved
Oh men, looks like this is a bug with the new version of the site (?). You can "fix" this if you sign out of your account, then it will show the old one. Atleast for me.
- 27 Oct 2018, 04:26
- Forum: Ask For Help
- Topic: Making this awesome Google Translate Script work for DeepL Topic is solved
- Replies: 16
- Views: 4007
Making this awesome Google Translate Script work for DeepL Topic is solved
I came across the best Google Translate Script I found on the internet so far. It's very very easy to use. Just highlight any text, press F1 and Ctrl+V and you have what you need. But I literally just discovered DeepL, and in my opinion it is way better than Google Translate. You get better results....
- 24 Oct 2018, 15:45
- Forum: Ask For Help
- Topic: Two remap key scripts with delay Topic is solved
- Replies: 2
- Views: 618
Re: Two remap key scripts with delay Topic is solved
Sorry for the late response buddy. Thanks for your help!Rohwedder wrote: ↑22 Oct 2018, 08:37Hallo,
replace:by:Code: Select all
~RButton::Space
Code: Select all
~*Rbutton:: Sleep, 30 Send,{Blind}{Space DownR} Return ~*Rbutton Up::Send,{Blind}{Space Up}
- 22 Oct 2018, 08:04
- Forum: Ask For Help
- Topic: Two remap key scripts with delay Topic is solved
- Replies: 2
- Views: 618
Two remap key scripts with delay Topic is solved
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starti...
- 08 Oct 2018, 01:40
- Forum: Ask For Help
- Topic: ControlClick no longer working
- Replies: 2
- Views: 593
Re: ControlClick no longer working
Check the ahk class again, maybe it has changed. And why did you write "ahk_class ahk_class"? Probably ahk.exe <exe name of the goggle> might work too. Regards The ahk_class is the same, it hasn't changed. "ahk_class ahk_class" or "ahk_class", both is basically the same. Has always been like that. ...