Search found 54 matches

by Barney
23 Nov 2019, 17:36
Forum: Ask For Help
Topic: How to Click "Next" button into Youtube when window is minimized?
Replies: 3
Views: 824

Re: How to Click "Next" button into Youtube when window is minimized?

I don't think it's possible when chrome is minimized. I had to use ControlFocus before using ControlSend. The downside is that it activates the chrome window.
by Barney
02 Sep 2019, 00:43
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 423547

Re: AHK Studio

I have testet this line. It works with Autohotkey 64 bit. But with 32 bit I get the Error again. I have also tested with AutoHotkey_1.1.30.03.
by Barney
29 Aug 2019, 22:24
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 423547

Re: AHK Studio

It has worked in the past. Maybe a year ago was the last time I used it and it didn't have this error. I have downloaded the link you provided and started in another folder. Same problem. BTW, if I click yes, a second error comes up: --------------------------- AHK-Studio (1).ahk -------------------...
by Barney
29 Aug 2019, 03:47
Forum: AHK Studio
Topic: AHK Studio
Replies: 1139
Views: 423547

Re: AHK Studio

I am getting the following error, when starting AHK-Studio: --------------------------- AHK-Studio.ahk --------------------------- Error: 0x80030002 - %1 could not be found. Line# 3654: CaretAtt := {Caret:"color","Caret Line Background":"lineback","Multiple Indicator Color":"multi","Debug Caret Colo...
by Barney
24 Apr 2018, 21:21
Forum: Ask For Help
Topic: how to interrupt other threads with a hotkey? Topic is solved
Replies: 1
Views: 652

Re: how to interrupt other threads with a hotkey? Topic is solved

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: 1981

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: 1279

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: 1981

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: 943

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: 1162

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: 2464

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: 1931

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: 2055

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: 1214

Re: How can I make this MultiPressListener better?

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

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: 615

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: 2087

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: 2087

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: 2087

Re: Continue Sending Key After Pressing Another

You can use ~2 up:: to detect when the button 2 is released.

Go to advanced search