Search found 50 matches

by Barney
24 Apr 2018, 21:21
Forum: Ask For Help
Topic: how to interrupt other threads with a hotkey?
Replies: 1
Views: 125

Re: how to interrupt other threads with a hotkey?

you can make a 'b' hotkey which changes a variable and check that variable after the sleep commands.
by Barney
21 Apr 2018, 18:11
Forum: Forum Issues
Topic: not receiving email notifications
Replies: 4
Views: 713

Re: not receiving email notifications

I've checked that, too. I am subscribed to topics. And I have checked email in settings at "Someone replies to a topic to which you are subscribed"
by Barney
21 Apr 2018, 15:35
Forum: Ask For Help
Topic: how make ahk pause / suspend when some program run
Replies: 3
Views: 218

Re: how make ahk pause / suspend when some program run

you can use WinWait to detect when your game starts.
by Barney
21 Apr 2018, 15:28
Forum: Forum Issues
Topic: not receiving email notifications
Replies: 4
Views: 713

not receiving email notifications

Hello!
I'm not getting email notifications. I've checked my address and it is working. What is the issue?
by Barney
18 Apr 2018, 11:09
Forum: Ask For Help
Topic: copy the 3rd word from the selected text and select the options that has the copied words
Replies: 3
Views: 176

Re: copy the 3rd word from the selected text and select the options that has the copied words

arunselladurai wrote: I dont know what command to use to copy only the 3rd word, where there is no select option
just copy all words and then use StrSplit() to get the 3rd word
by Barney
21 Mar 2018, 14:46
Forum: Bug Reports
Topic: Input, SendEvent and a Hotkey
Replies: 1
Views: 315

Input, SendEvent and a Hotkey

The following script behaves inconsistently. ^g:: SendEvent, a Input, UserInput, T1 Keeping Control and g key pressed down produces aaggggggg... . Releasing the keys and keeping them pressed down a second time produces aaaaaaaaaa... . In the first case it is like the Control key is not put back into...
by Barney
10 Dec 2017, 06:11
Forum: Ask For Help
Topic: Selecting a context menu item by text value
Replies: 3
Views: 398

Re: Selecting a context menu item by text value

try typing the letters of the text. If it works you can simulate the keystrokes with autohotkey.
by Barney
01 Dec 2017, 08:04
Forum: Ask For Help
Topic: Find and copy text from PDF to clipboard
Replies: 7
Views: 459

Re: Find and copy text from PDF to clipboard

try sending the clipboard with raw mode
by Barney
22 Nov 2017, 09:33
Forum: Scripts and Functions
Topic: ex_this - add to the auto-execute section from anywhere in your script
Replies: 8
Views: 678

Re: ex_this - add to the auto-execute section from anywhere in your script

Or use a class:

Code: Select all

class DietOrganizer
{	
	__New(){
		static _ := new DietOrganizer()
		_ :=""
		MsgBox,  hello world
	}
	
	__Delete(){
		MsgBox,  bye world
	}
}
by Barney
16 Nov 2017, 09:32
Forum: Ask For Help
Topic: How can I make this MultiPressListener better?
Replies: 5
Views: 287

Re: How can I make this MultiPressListener better?

Then use separate variables for each key.
by Barney
13 Nov 2017, 23:56
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 470
Views: 89861

Re: Suggestions on documentation improvements

For BlockInput it says
BlockInput On might have no effect if UAC is enabled and the script has not been run as administrator.
After reading this I was under the impression only Mode 1 is affected, but actually BlockInput, Send, i.e. Mode 2, is affected, too.
by Barney
12 Nov 2017, 22:28
Forum: Ask For Help
Topic: Script writing
Replies: 1
Views: 158

Re: Script writing

I suggest that you learn to write it yourself. You hardly learn AHK by just looking at the code of others.
You can start here
by Barney
12 Nov 2017, 07:25
Forum: Gaming
Topic: Continue Sending Key After Pressing Another
Replies: 7
Views: 611

Re: Continue Sending Key After Pressing Another

example:

Code: Select all

~5 up::
Loop
{
Sleep, 500
GetKeyState, state, 4, P
if state = U
break
Send {4 }
}
return
works here
by Barney
11 Nov 2017, 23:00
Forum: Gaming
Topic: Continue Sending Key After Pressing Another
Replies: 7
Views: 611

Re: Continue Sending Key After Pressing Another

you have to use a loop to send multiple 1. In it use GetKeyState to check if 1 is still pressed down.
by Barney
11 Nov 2017, 21:55
Forum: Gaming
Topic: Continue Sending Key After Pressing Another
Replies: 7
Views: 611

Re: Continue Sending Key After Pressing Another

You can use ~2 up:: to detect when the button 2 is released.
by Barney
09 Nov 2017, 00:45
Forum: AHK Studio
Topic: AHK Studio
Replies: 981
Views: 204586

Re: AHK Studio

Defining this hotkey won't make it show up in code explorer. I think it affects all hotkeys with "up" at the end
~Control UP::
by Barney
09 Nov 2017, 00:06
Forum: Bug Reports
Topic: sending ^{Click} to ListView with AltSubmit makes it freeze
Replies: 1
Views: 317

sending ^{Click} to ListView with AltSubmit makes it freeze

Clicking the row with the left mouse button freezes the Gui and makes AHK use 100% CPU. #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 su...
by Barney
07 Nov 2017, 22:06
Forum: Ask For Help
Topic: IfWinActive Question
Replies: 2
Views: 222

Re: IfWinActive Question

use the ExcludeTitle parameter to get it into one line
by Barney
06 Nov 2017, 07:27
Forum: Ask For Help
Topic: Loop n Stuff ... Plz Help
Replies: 4
Views: 213

Re: Loop n Stuff ... Plz Help

you can put the loop into a label or function or another ahk file and use #include

Go to advanced search