Search found 1354 matches

by Nextron
05 Oct 2020, 13:29
Forum: Ask For Help
Topic: Move mouse to center of monitor in multi-monitor configuration - CoordMode relative to specific monitor?
Replies: 9
Views: 189

Re: Move mouse to center of monitor in multi-monitor configuration - CoordMode relative to specific monitor?

JoeWinograd wrote:
03 Oct 2020, 23:34
but it fails when the monitors are stacked vertically or when offset by large vertical distances.
How does it fail? Does the cursor not move at all or does it move to a wrong place, like the corner of a screen?
by Nextron
17 May 2020, 06:01
Forum: Ask For Help
Topic: AHK doesn't work
Replies: 5
Views: 353

Re: AHK doesn't work

Put some effort into describing what did work, and what happens now instead.
by Nextron
15 Jan 2020, 12:59
Forum: Ask For Help
Topic: if Var between LowerBound and UpperBound not working Topic is solved
Replies: 5
Views: 459

Re: if Var between LowerBound and UpperBound not working Topic is solved

if var between is a traditional if statement. In your code you're trying to run it as an expressional if... which will not work as expected. Instead use if (Request >=2017 && Request<=A_YYYY).
by Nextron
06 Jan 2020, 14:31
Forum: Ask For Help
Topic: CoordMode Mouse, "Screen" VS "Relative"
Replies: 7
Views: 831

Re: CoordMode Mouse, "Screen" VS "Relative"

Any function that's executed to evaluate for the down event of a conditional hotkey (such as RButton:: ) will evaluate prior to passing through the event (assuming there's no difference in process elevation). So when RButton is pressed, the window it hovers over isn't activated yet, so the position ...
by Nextron
26 Dec 2019, 18:42
Forum: Ask For Help
Topic: Problems with SetCapsLockState, AlwaysOff when using capslock as a modifier key
Replies: 5
Views: 879

Re: Problems with SetCapsLockState, AlwaysOff when using capslock as a modifier key

Come to think about it, the linked thread would cause trouble too when using it in multiple scripts. Perhaps you can set a passthrough hotkey for capslock up in one of the scripts which sets the proper caps lock state. ~CapsLock up::SetCapsLockState,Off Capslock will still turn on for a moment and b...
by Nextron
26 Dec 2019, 08:19
Forum: Ask For Help
Topic: Problems with SetCapsLockState, AlwaysOff when using capslock as a modifier key
Replies: 5
Views: 879

Re: Problems with SetCapsLockState, AlwaysOff when using capslock as a modifier key

SetCapsLockState uses the keyboard hook to keep CapsLock off. When running multiple instances of AHK each will load the hook, with the last one started (except if run as admin) getting a higher priority processing input. So the most recently started AHK will intercept the CapsLock input, preventing...
by Nextron
11 Oct 2019, 13:00
Forum: Ask For Help
Topic: SendInput does not trigger my hotstring
Replies: 8
Views: 1041

Re: SendInput does not trigger my hotstring

I'll dig more into that: I am now looking for a way to use the keyboard hook AND SendInput because this is what I need in my project (and with speed and reliability). I'm not sure this is even possible actually... The reliability refers to the fact that sendinput places the entire string to the buf...
by Nextron
05 Oct 2019, 15:22
Forum: Ask For Help
Topic: possible to AHK programs run other program in Child process Topic is solved
Replies: 1
Views: 533

Re: possible to AHK programs run other program in Child process Topic is solved

They're all similar processes. There's no such thing as a child mode. The hierarchy is the screenshot is you can retrieve information which process id launched a certain process. If that parent is still running, its child is displayed below it. Once the parent process ends, the child will be moved u...
by Nextron
30 Sep 2019, 12:38
Forum: Ask For Help
Topic: Bug with <Alt> send commands
Replies: 3
Views: 714

Re: Bug with <Alt> send commands

I can't help with the problem, as I don't have AutoCAD, but a few remarks: •  Send {Sleep 50} sends the sleep key 50 times, it doesn't wait 50 milliseconds. Depending on your send mode it may take a lot mode or less time, and possible trigger other things. •  Send !J sends Alt+Shift+j, also probably...
by Nextron
25 Sep 2019, 11:25
Forum: Ask For Help
Topic: Totally stuck... Clipboard and Variable problem Topic is solved
Replies: 5
Views: 818

Re: Totally stuck... Clipboard and Variable problem Topic is solved

You're checking if clipboard contains the literal text "Leadname". Use If (Clipboard = LeadName) (an expressional if) instead.
by Nextron
15 Sep 2019, 06:22
Forum: Ask For Help
Topic: AHK has problem distinguishing hex numbers Topic is solved
Replies: 2
Views: 553

Re: AHK has problem distinguishing hex numbers Topic is solved

First of, your q1 and q2 are stored as strings. However, it looks like the comparison works by comparing them as numbers, which overflow an Int64, resulting in two identical numbers (replace the most significant f to 0 to prevent the overflow and your code works as expected). To force the comparison...
by Nextron
22 Aug 2019, 13:49
Forum: Ask For Help
Topic: Disabling copy paste (including right click) Topic is solved
Replies: 4
Views: 925

Re: Disabling copy paste (including right click) Topic is solved

I think you could use dllcall to OpenClipboard and CloseClipboard when your window becomes active or loses focus respectively to prevent the clipboard from being accessed and getting data written to regardless of using Ctrl+C or the context menu. Not sure if it would hang the script until its attemp...
by Nextron
13 Aug 2019, 09:51
Forum: Ask For Help
Topic: Script Won't Run with Monitors Off Topic is solved
Replies: 2
Views: 603

Re: Script Won't Run with Monitors Off Topic is solved

The five minute wait starts after you dismiss the message box. Could it be that you only do that when you see it with a monitor that's on?
by Nextron
01 Jul 2019, 13:16
Forum: Ask For Help
Topic: If app is fullscreen condition Topic is solved
Replies: 13
Views: 2570

Re: If app is fullscreen condition Topic is solved

If you only check for the window size you'll also include maximized windows, which are not full screen. So then you'll need to determine what you consider fullscreen as it's not a single property that determines that. This seems like a good starting point , although I use it with an additional check...
by Nextron
25 Jun 2019, 07:07
Forum: Ask For Help
Topic: Automate QlikView Webview
Replies: 0
Views: 424

Automate QlikView Webview

I'm trying to automatically get QlikView data into Excel. I've come across an old third party Excel plugin which could connect and import a QlikView website, but that has seems to have been snuffed by QlikView. So my next attempt would be to automatically export an Excel file through the webview. I'...
by Nextron
22 Jun 2019, 19:16
Forum: Ask For Help
Topic: Move mouse across multiple monitors with different resolutions Topic is solved
Replies: 4
Views: 2743

Re: Move mouse across multiple monitors with different resolutions Topic is solved

I have the same issue with monitors in landscape vs portrait orientation. I think I posted the code I use here: https://www.autohotkey.com/boards/viewtopic.php?f=5&t=40456
by Nextron
04 May 2019, 03:22
Forum: Ask For Help
Topic: Actively watch folder to move certain filetypes to a other folder
Replies: 5
Views: 911

Re: Actively watch folder to move certain filetypes to a other folder

You could run something like that as a batch job once every %period%. If timing is important you could search the forum for WatchFolder() or WatchDirectory().
by Nextron
04 May 2019, 03:17
Forum: Ask For Help
Topic: MouseHook causes severe input issues for hotkeys which do not use it
Replies: 10
Views: 1513

Re: MouseHook causes severe input issues for hotkeys which do not use it

What kind of issue? During SendInput the hook would be temporarily disabled, opposed to during SendEvent. Also, when running multiple scripts using hooks, SendInput would revert to SendEvent using lower wait times. Perhaps that explains the 'issue'?
by Nextron
03 May 2019, 13:05
Forum: Ask For Help
Topic: Baffled by conditional behavior Topic is solved
Replies: 3
Views: 680

Re: Baffled by conditional behavior Topic is solved

Use if (times > 0). Within if-brackets variables are already evaluated as expression.
by Nextron
03 May 2019, 12:10
Forum: Ask For Help
Topic: MouseHook causes severe input issues for hotkeys which do not use it
Replies: 10
Views: 1513

Re: MouseHook causes severe input issues for hotkeys which do not use it

#If's already makes the associated hotkeys hooked variants.

Go to advanced search