Search found 55 matches

by Barney
02 Apr 2023, 02:56
Forum: Ask for Help (v1)
Topic: [Semi-Solved] Problem with AutoHotkeyU64_UIA.exe after version 1.1.31.00
Replies: 18
Views: 5409

Re: [Semi-Solved] Problem with AutoHotkeyU64_UIA.exe after version 1.1.31.00

I had the same problem as the OP. I think my certificate expired. IMO the expiration date should be set higher. Running the cleaning script helped. I'm using 1.1.28.00 and the expiration time seems to be 10 years.
by Barney
23 Nov 2019, 17:36
Forum: Ask for Help (v1)
Topic: How to Click "Next" button into Youtube when window is minimized?
Replies: 3
Views: 1783

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: 1179
Views: 612197

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: 1179
Views: 612197

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: 1179
Views: 612197

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 (v1)
Topic: how to interrupt other threads with a hotkey?
Replies: 1
Views: 1017

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

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 (v1)
Topic: how make ahk pause / suspend when some program run
Replies: 3
Views: 2083

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

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 (v1)
Topic: copy the 3rd word from the selected text and select the options that has the copied words
Replies: 3
Views: 1138

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

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 (v1)
Topic: Selecting a context menu item by text value
Replies: 8
Views: 15106

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 (v1)
Topic: Find and copy text from PDF to clipboard
Replies: 7
Views: 2700

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 (v1)
Topic: ex_this - add to the auto-execute section from anywhere in your script
Replies: 8
Views: 2606

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 (v1)
Topic: How can I make this MultiPressListener better?
Replies: 5
Views: 1519

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: [Archived, Locked] Suggestions on documentation improvements
Replies: 688
Views: 287846

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 (v1)
Topic: Script writing
Replies: 1
Views: 788

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 Help (v1)
Topic: Continue Sending Key After Pressing Another
Replies: 7
Views: 3881

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 Help (v1)
Topic: Continue Sending Key After Pressing Another
Replies: 7
Views: 3881

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.

Go to advanced search