Search found 22 matches

by VarunAgw
05 Sep 2018, 07:17
Forum: Ask For Help
Topic: Show Win+; emoji dialog programmatically
Replies: 1
Views: 130

Show Win+; emoji dialog programmatically

I have diasabled Win+X hotkeys in Windows (using registry) and use them with AHK. But I want to try new emoji feature in Windows 1803. It's annoying to go click the keyboard taskbar and navigate to it. I just want to show the main popup dialog (https://i.stack.imgur.com/ezDce.jpg) using AHK. Somethi...
by VarunAgw
05 Aug 2018, 13:19
Forum: Ask For Help
Topic: Autohotkey miss sometime with High keyboard Repeat Rate (Windows keyboard setting)
Replies: 2
Views: 129

Autohotkey miss sometime with High keyboard Repeat Rate (Windows keyboard setting)

I having an issue with keyboard repeat rate (keyboard setting in control panel) If it's high, and you just keep the key pressed, AHK misses some of them and they don't get captured and worse, active application receive them and start doing funny stuff Example ^!s::Return It fails if I keep 3 of them...
by VarunAgw
23 Mar 2018, 10:43
Forum: Ask For Help
Topic: ^WheelDown::SendInput {PgDn} fails when scrolling fast
Replies: 2
Views: 151

Re: ^WheelDown::SendInput {PgDn} fails when scrolling fast

I cannot believe after wasting so much time searching for solution, this simple code worked!

Ctrl & WheelUp::SendInput {PgUp}
Ctrl & WheelDown::SendInput {PgDn}
by VarunAgw
12 Mar 2018, 03:58
Forum: Ask For Help
Topic: ^WheelDown::SendInput {PgDn} fails when scrolling fast
Replies: 2
Views: 151

^WheelDown::SendInput {PgDn} fails when scrolling fast

I use this from years:

^WheelUp::SendInput {PgUp}
^WheelDown::SendInput {PgDn}

But it has been always so buggy. It works fine if I scroll slow. But if I scroll fast (reasonable fast for a human), it mess up and skip hotkey. Any idea how to fix it
by VarunAgw
17 Feb 2018, 20:09
Forum: Bug Reports
Topic: How to find reason for crash every few weeks
Replies: 9
Views: 795

Re: How to find reason for crash every few weeks

- In what way is it crashing? Does it show an error message? Does it 'forget' the hotkeys? - You could set DetectHiddenWindows to On, and use a Loop, with WinWaitActive, and ahk_class AutoHotkey to identify which scripts are open. You could use PostMessage/WinClose to close or Process Close to forc...
by VarunAgw
17 Feb 2018, 20:06
Forum: Bug Reports
Topic: How to find reason for crash every few weeks
Replies: 9
Views: 795

Re: How to find reason for crash every few weeks

SL5 wrote:and maybe helps to write to a logfile.

so you could later look at the last actions.
Is there some automated way to do it?
by VarunAgw
17 Feb 2018, 20:06
Forum: Bug Reports
Topic: How to find reason for crash every few weeks
Replies: 9
Views: 795

Re: How to find reason for crash every few weeks

You can do second script which check for example every 1min if win exist, if not then run script. Without any code we can only guess why it's crashing. Maybe lost connection to network drive which is required for your script, missing required file, maybe bad var. Who knows :) It's more than 2000 li...
by VarunAgw
15 Feb 2018, 07:34
Forum: Bug Reports
Topic: How to find reason for crash every few weeks
Replies: 9
Views: 795

How to find reason for crash every few weeks

I am heavy user of AHK with 2000+ lines of personal scripts/hotkeys along with around a dozen of library. My problem is AHK crash every few days/weeks. Sometime not from weeks, sometime twice in a day. Since it happens very rarely, it's very hard for me to determine what cause it and fix the relevan...
by VarunAgw
14 Dec 2016, 07:35
Forum: Other Utilities & Resources
Topic: Chrome native messaging from AHK
Replies: 3
Views: 3052

Chrome native messaging from AHK

I want to run particular background page function in Chrome using AHK based on the hotkeys. I think it's possible with chrome native messaging api. But I think we need to build a program that will work between AHK and chrome. I feel it will take a lot of time. Does anyone know of some ready made pro...
by VarunAgw
13 Aug 2016, 08:12
Forum: Ask For Help
Topic: Show Windows 10 native clock widget programmatically
Replies: 2
Views: 740

Re: Show Windows 10 native clock widget programmatically

If you're running a 64-bit version of AutoHotkey (this doesn't work with 32-bit; I guess I'm doing something wrong with the VARIANT structure somewhere), this works with the clock replacement program I use to show the original clock hosted by the Explorer process: ControlGet, hClock, Hwnd,, TrayClo...
by VarunAgw
09 Aug 2016, 15:01
Forum: Ask For Help
Topic: RegExMatch selecting value of attribute in every xml based file
Replies: 5
Views: 486

Re: RegExMatch selecting value of attribute in every xml based file

I don't think there is a pre-existing function for that. One of the simplest trick and poorly written to do that is 1) Programmatically press Shift+Home 2) Copy selection to clipboard and calculate number of moves required to reach quote 3) Do the same for right side 4) Select that region since you ...
by VarunAgw
09 Aug 2016, 04:56
Forum: Ask For Help
Topic: RegExMatch selecting value of attribute in every xml based file
Replies: 5
Views: 486

Re: RegExMatch selecting value of attribute in every xml based file

Try dragging ;)

Double click on "default" (don't release the LButton on second click). While keeping the LButton down, move the mouse to number. Release LButton
by VarunAgw
08 Aug 2016, 16:50
Forum: Ask For Help
Topic: RegExMatch selecting value of attribute in every xml based file
Replies: 5
Views: 486

Re: RegExMatch selecting value of attribute in every xml based file

Double clicking can do that without even needing RegExp (you can also double click followed by dragging on selection)
by VarunAgw
08 Aug 2016, 16:45
Forum: Ask For Help
Topic: 2 keys bound to 1 button toggle with sleep
Replies: 2
Views: 252

Re: 2 keys bound to 1 button toggle with sleep

Something like?

LAlt::
f1()
f2()
SetTimer f1, 3000
SetTimer f2, 6000
Return

f1() {
send q
}

f2() {
send r
}
by VarunAgw
08 Aug 2016, 16:34
Forum: Ask For Help
Topic: Run scripts as administrator?
Replies: 4
Views: 5460

Re: Run scripts as administrator?

Press Alt+Enter on AutoHotkey.exe -> Compatibility -> Run this program as administrator.

You can also associate .ahk extension with the application if you want
by VarunAgw
08 Aug 2016, 16:32
Forum: Ask For Help
Topic: Please someone help me with SetTimer, I've been trying to fix this for hours
Replies: 1
Views: 560

Re: Please someone help me with SetTimer, I've been trying to fix this for hours

I think if you submit a simpler version of code trying to show what you want to achieve, you will probably get more responses. There are 700 lines. You cannot expect everyone to read them
by VarunAgw
08 Aug 2016, 13:34
Forum: Ask For Help
Topic: Show Windows 10 native clock widget programmatically
Replies: 2
Views: 740

Show Windows 10 native clock widget programmatically

So I use a clock replacement program. The problem is it also hijack clicks on the clock. So whenever I click on the clock in the notification area, program's popup menu launch rather than the default windows clock widget. I also tried "ControlClick" on "TrayClockWClass". I still didn't get original ...
by VarunAgw
27 Jul 2016, 05:19
Forum: Scripts and Functions
Topic: WatchFolder() - updated on 2016-11-30
Replies: 54
Views: 18006

Re: WatchFolder() - updated on 2016-03-14

Sorry! I completely forgot to check this thread. > Called twice with the same action for the same file? Also, what is causing the change of the file times? I think yes. If I modified content of a file and save it once, it was raising event twice for some unknown reasons. I used it long time ago, so ...

Go to advanced search