Search found 1348 matches

by Nextron
11 Oct 2019, 13:00
Forum: Ask For Help
Topic: SendInput does not trigger my hotstring
Replies: 8
Views: 353

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

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

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

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

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

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

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

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

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: 2
Views: 493

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

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

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

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

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

#If's already makes the associated hotkeys hooked variants.
by Nextron
03 May 2019, 11:59
Forum: Ask For Help
Topic: Block mouse input when monitor goes into idle / sleep
Replies: 6
Views: 458

Re: Block mouse input when monitor goes into idle / sleep

When using devcon.exe there's no middle ground. It's either enabled or disabled... unless your mouse happens to report as multiple devices for additional buttons so then you can disable just one. I wonder whether AutoHotInterception could help, as it operates at driver level, to just block movement ...
by Nextron
03 May 2019, 11:52
Forum: Ask For Help
Topic: MouseHook causes severe input issues for hotkeys which do not use it
Replies: 10
Views: 710

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

So it also happens on uncompiled scripts as well? Does it make a difference if you use #IfWinActive instead?

Mod edit: Moved to 'Ask for help' until confirmed as bug.
by Nextron
03 May 2019, 10:12
Forum: Ask For Help
Topic: Use modifier key to toggle between launching script vs editing script
Replies: 6
Views: 522

Re: Use modifier key to toggle between launching script vs editing script

You could change the file association for .ahk files to your own compiled script which only purpose is to capture the command line parameters and pass is on to the actual autohotkey.exe unless your modifier is held down, in which case it either redirects is to your editor or prepends the command lin...
by Nextron
01 May 2019, 15:59
Forum: About This Community
Topic: [Website] Hardenize & Translate placement
Replies: 8
Views: 967

Re: [Website] Hardenize & Translate placement

To me it looks good now. With the translate element under the 'Is it safe?" link. :thumbup:
by Nextron
01 May 2019, 14:42
Forum: About This Community
Topic: [Website] Hardenize & Translate placement
Replies: 8
Views: 967

Re: [Website] Hardenize & Translate placement

I just tried in Pale Moon (two different PC's, different versions), Internet Explorer and Chrome. All showing the same layout as in the image. For the last two there are no extensions installed.
by Nextron
01 May 2019, 11:06
Forum: About This Community
Topic: [Website] Hardenize & Translate placement
Replies: 8
Views: 967

[Website] Hardenize & Translate placement

On the homepage, I noticed two object in the header (after you disable ad blocking stuff). A hardenize security logo and a Google translate widget. These are anchored in the header that remains fixed at the top of the website when you scroll down. However, these two elements cause the header to stre...

Go to advanced search