Thanks, I didn't notice that option.
That really is quite obtuse.
Search found 557 matches
- 27 Mar 2020, 11:53
- Forum: About This Community
- Topic: Google is blocking autohotkey.com
- Replies: 82
- Views: 50832
- 27 Mar 2020, 11:15
- Forum: About This Community
- Topic: Google is blocking autohotkey.com
- Replies: 82
- Views: 50832
Re: Google is blocking autohotkey.com
Chrome is entirely blocking me from downloading the installer at all, and offering no option to bypass the block.
False positive, I'm sure, but again - doesn't seem to be a way around it.- 03 Mar 2020, 16:33
- Forum: Ask for Help (v1)
- Topic: Read Text From Windows Confirmation Dialog?
- Replies: 7
- Views: 915
Re: Read Text From Windows Confirmation Dialog?
You may need to provide more identification criteria in order to distinguish this popup from others of the same application. Isn't there a way to retrieve the text? As I said in my first post, the entire problem is that I can't figure out a way to retrieve the text. :) If you can't get text normall...
- 03 Mar 2020, 12:36
- Forum: Ask for Help (v1)
- Topic: Read Text From Windows Confirmation Dialog?
- Replies: 7
- Views: 915
Re: Read Text From Windows Confirmation Dialog?
Unfortunately there are other confirmation dialogs generated by the same program that I need to avoid clicking on.
- 03 Mar 2020, 11:53
- Forum: Ask for Help (v1)
- Topic: Read Text From Windows Confirmation Dialog?
- Replies: 7
- Views: 915
Read Text From Windows Confirmation Dialog?
I'm trying to do something that seems like it should be simple, and it proving frustratingly difficult. I am trying to detect the following popup, and click "no" when that popup - and ONLY that exact popup with that exact text - appears. Unfortunately, WindowSpy does not seem to be able to detect th...
- 04 Mar 2019, 10:45
- Forum: Ask for Help (v1)
- Topic: Script Failing to Run Via Task Scheduler
- Replies: 0
- Views: 548
Script Failing to Run Via Task Scheduler
I'm trying to set up a simple script that refreshes a browser window every hour automatically. The script itself is straightfoward and works fine: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors....
- 14 Aug 2018, 11:58
- Forum: Ask for Help (v1)
- Topic: Excel COM: Column to the Right of Arbitrary Column Topic is solved
- Replies: 1
- Views: 782
Excel COM: Column to the Right of Arbitrary Column Topic is solved
Situation: I have a piece of data in a given column. The column might be one letter, or it might be two letters. I need to retrieve the data one column to the right. I'm at a bit of a loss. Next row is easy; just add one to the variable. But I can't seem to figure out next column.
- 18 Jun 2018, 12:59
- Forum: Ask for Help (v1)
- Topic: #IfMousePluggedIn?
- Replies: 1
- Views: 668
#IfMousePluggedIn?
Got a new tablet lately, and I'm pretty happy with it, but I'd like to write a script to improve the function of the pen. Unfortunately, I also use a mouse with the tablet occasionally, and the script would mess with the mouse. Is there any way to have a hotkey function only if there is no mouse plu...
- 15 Jun 2018, 16:08
- Forum: Ask for Help (v1)
- Topic: Trouble Coding Topic is solved
- Replies: 4
- Views: 1283
Re: Trouble Coding Topic is solved
That's actually fairly clever. I think the problem is that toggle is being interpreted as a string in the if statement, so it's always true. Try changing if toggle to if (toggle).
- 01 Jun 2018, 09:49
- Forum: Ask for Help (v1)
- Topic: AHK 2.0 Question
- Replies: 2
- Views: 862
AHK 2.0 Question
I have a fairly large script that I use day-to-day, consisting of a dozen or so files and thousands of lines of code, all written in AHK1. I've heard AHK2 mentioned a few times, but never in great detail. How complicated is it to port a script from AHK1 to AHK2? What are the advantages of doing so? ...
- 31 May 2018, 15:22
- Forum: Ask for Help (v1)
- Topic: Double left mouse click remap Topic is solved
- Replies: 5
- Views: 1667
Re: Double left mouse click remap Topic is solved
Slight correction - you have your ands and ors backwards. It should be (false AND false AND false), or (true OR true OR true); (!WinActive || !WinActive) will always be true, and (WinActive && WinActive) will never be true, since only one window can be active at once.
- 31 May 2018, 14:32
- Forum: Ask for Help (v1)
- Topic: Sound file doesnt play unless I press Enter?
- Replies: 15
- Views: 4260
Re: Sound file doesnt play unless I press Enter?
To play the sound, you'll probably need to use SetTimer to create a loop that checks for the window to be active. Check out these pages in the docs:
Code: Select all
SetTimer
WinActive()
- 31 May 2018, 14:27
- Forum: Ask for Help (v1)
- Topic: need a little help to finish my script off please
- Replies: 3
- Views: 1075
Re: need a little help to finish my script off please
Instead of click maybe try Send {LButton down}? You'll need to manually send LButton Up when the mouse is released, though.
- 29 May 2018, 15:48
- Forum: Ask for Help (v1)
- Topic: Replacing a key (Click & Drag) Topic is solved
- Replies: 2
- Views: 962
Re: Replacing a key (Click & Drag) Topic is solved
Maybe try this?
Code: Select all
*XButton1:: Send {LButton down}
*XButton1 up:: Send {LButton up}
- 29 May 2018, 15:07
- Forum: Ask for Help (v1)
- Topic: OVercoming Firefox Quantum limitation
- Replies: 5
- Views: 1533
Re: OVercoming Firefox Quantum limitation
Hmm... In pseudocode, you'd probably want to do something like this: LButton:: GetMousePos ImageSearch, PictureOfNewTabButton.jpg if (MouseX and MouseY are within range of image) doURLentry() Slightly complex, but shouldn't be that hard; getting the coordinates right on the imagesearch is probably g...
- 29 May 2018, 09:11
- Forum: Ask for Help (v1)
- Topic: Replace function of arrow key
- Replies: 3
- Views: 1499
Re: Replace function of arrow key
I assume that your code that remaps up to right shift looks something like this: Up:: Send {RShift} return By default, hotkeys can trigger other hotkeys. So when you do Send {Up} , the "up" that you are sending triggers the "up" hotkey and sends RShift instead. To prevent this, the $ modifier stops ...
- 25 May 2018, 16:14
- Forum: Gaming Help (v1)
- Topic: Quickscope script
- Replies: 7
- Views: 2922
Re: Quickscope script
~LButton works because LButton is shoot. Try this:
Code: Select all
LButton::
Send ^m
Sleep 1000
Send {LButton down}
return
- 25 May 2018, 14:22
- Forum: Ask for Help (v1)
- Topic: Replace function of arrow key
- Replies: 3
- Views: 1499
Re: Replace function of arrow key
What is most like happening is that the up you are sending is triggering your up hotkey. Try adding the $ modifier to the up hotkey.
- 24 May 2018, 09:40
- Forum: Ask for Help (v1)
- Topic: If element is highlighted, show text box
- Replies: 4
- Views: 1362
Re: If element is highlighted, show text box
Interesting, I didn't know there was a system message for that. Looking at the list of system messages, though, isn't 0x202 LButton up?
- 24 May 2018, 09:01
- Forum: Ask for Help (v1)
- Topic: If element is highlighted, show text box
- Replies: 4
- Views: 1362
Re: If element is highlighted, show text box
You could do this with a tooltip and a background loop, yes. You can have the loop call MouseGetPos, which can return the control under the mouse. If the control under the mouse is the image, display the tooltip, otherwise turn it off.