Search found 301 matches

by Noesis
26 Feb 2018, 01:32
Forum: Gaming Help (v1)
Topic: Toggle into a hold.
Replies: 2
Views: 1329

Re: Toggle into a hold.

A couple of things to test, try without the blind statements, and also use a different hotkey (or alter the games key bind). I've had similar experiences in other games, where when the key being sent, and also the hotkey being used are the same key, it doesn't work (but will in normal apps). Changin...
by Noesis
24 Feb 2018, 00:50
Forum: Ask for Help (v1)
Topic: Cancelling hotkey actions
Replies: 6
Views: 1316

Re: Cancelling hotkey actions

Just use a variable and check it, before executing each action: origin := [] cancel := false ;(or true, doesn't really matter here) MoveMouse(xy) { MouseMove, xy[1], xy[2], 5.0 } SetOrigin(pos:=false) { global origin, cancel if (pos) origin := pos else if (origin.Length() == 0) { cancel := false Mou...
by Noesis
21 Feb 2018, 08:16
Forum: Ask for Help (v1)
Topic: Problem NumPad::Shift
Replies: 2
Views: 756

Re: Problem NumPad::Shift

This is due to the way the Numpad is implemented in windows when Numlock is on. When NumLock is on (which it must be on, otherwise you'd be using the other numpad variants for the key names, like NumpadUp etc), and shift is pressed, the numpad keys don't type numbers but instead act like they would ...
by Noesis
13 Feb 2018, 00:14
Forum: Ask for Help (v1)
Topic: Calling function multiple times while it's sleeping Topic is solved
Replies: 2
Views: 950

Re: Calling function multiple times while it's sleeping Topic is solved

Short version, It's because each hotkey starts a new pseudo thread, and interrupts the previous one. When it comes to threading, AHK isn't true Multithreaded, instead, it's Singlethreaded & uses psuedo threads. Look in the help/Docs for threads for more details. Basically what is happening is, the f...
by Noesis
11 Feb 2018, 07:10
Forum: Gaming Help (v1)
Topic: AHK works fine on Browser but cant get it to work in Games Topic is solved
Replies: 2
Views: 901

Re: AHK works fine on Browser but cant get it to work in Games Topic is solved

Yeah as eventhorizon says, more details needed for any kind of specific help. Another thing that might help is this post in the tutorials section How to Make AHK Work in Most Games - The Basics
by Noesis
05 Feb 2018, 01:59
Forum: Ask for Help (v1)
Topic: Logitech Interference
Replies: 5
Views: 1146

Re: Logitech Interference

Well the Logitech software isn't so much emulating a keyboard, it uses a keyboard driver (when keys are used), so it actually is a 2nd keyboard (from the computers perspective). While it is similar to emulation, it's also different, not that it really matters here. Anyway regarding your issue, I can...
by Noesis
04 Feb 2018, 06:48
Forum: Ask for Help (v1)
Topic: Logitech Interference
Replies: 5
Views: 1146

Re: Logitech Interference

There's also other considerations at play here. You are under the incorrect impression that numpad7 has been released (due to your script), when you do it via keyboard, this is actually not the case. While Notepad (and most word processing/text editors are the same in this regard) stop typing it, th...
by Noesis
28 Jan 2018, 01:09
Forum: AutoHotkey Development
Topic: Hotstring E(xecute) vs E(nd chars), Hotkey directives Topic is solved
Replies: 15
Views: 5947

Re: Hotstring E(xecute) vs E(nd chars), Hotkey directives Topic is solved

I think, E should be for End, X for eXecute, makes the most sense, IMO. With regard to the Suspend, I think the main thing is for the logic to associate true with permitting the key to operate in a suspended script. (so off or false by default). I'm not too phased by the term for the suspend exempti...
by Noesis
19 Jan 2018, 02:26
Forum: Ask for Help (v1)
Topic: WinExist() issue - not working
Replies: 4
Views: 5032

Re: WinExist() issue - not working

WinExist() doesn't work with these window types unless you also specify the "ahk_id". It's basically a limitation of the way WinExist() works with these windows, (see: https://autohotkey.com/boards/viewtopic.php?f=14&t=42517 for context). You could try using WinActive() instead. This may or may not ...
by Noesis
19 Jan 2018, 01:50
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 3993

Re: Possible A_LoopFileLongPath bug

No worries Bulder, FYI, It's not really MY solution, I was working on something a little while ago which needed to be able to identify links so it could skip them, and I found a post on the old forums, mentioning this method (so thanks Lexicos). Anyway if you're having trouble with dll calls, first ...
by Noesis
18 Jan 2018, 07:48
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 3993

Re: Possible A_LoopFileLongPath bug

Yeah, that's because neither of those folders (i.e. C:\...\Desktop) are links. They are in fact exactly the same folder. The link occurs at an earlier level, and once the link is resolved (to the folder it points to), it's no longer distinguishable from the actual folder it points to. Hence you have...
by Noesis
18 Jan 2018, 01:45
Forum: Ask for Help (v1)
Topic: Possible A_LoopFileLongPath bug
Replies: 14
Views: 3993

Re: Possible A_LoopFileLongPath bug

Oh dear, any way to prevent the files being listed twice? I am not sure if there is a way to exclude the links (the name of the alternative references to the same file/folder) directly. ... There are obviously any number of ways to test for the file(s)/folder(s) you wish to exclude, but you get the...
by Noesis
18 Jan 2018, 00:48
Forum: Ask for Help (v1)
Topic: AHK not Working on Q-Dir
Replies: 10
Views: 2274

Re: AHK not Working on Q-Dir

Also another thing to consider is the use of "Alt" in my above script. Didn't realise it at the time but it probably should have been "LAlt" or "RAlt" but not "Alt". Reason being Alt (and other modifiers like ctrl, shift, win) on it's own doesn't always work with all programs, some programs require ...
by Noesis
17 Jan 2018, 02:03
Forum: Ask for Help (v1)
Topic: AHK not Working on Q-Dir
Replies: 10
Views: 2274

Re: AHK not Working on Q-Dir

Q-Dir is very strange when it comes to acting on fake inputs. I used to use it some time ago, and quite frankly, some things just fail to work consistently while others work fine. This isn't only with ahk either, in fact ahk's sends were the only ones that I could get to work with many of Q-Dirs fun...
by Noesis
16 Jan 2018, 03:15
Forum: Gaming Help (v1)
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 5888

Re: AHK Multiple Timers, but asynchronous Topic is solved

Hi Arnes, Just an FYI, the code I did was only for the one gun. For the other guns you just needed to copy the function and change the name of it (eg the 1 to 2) and change the key being sent in the other copy(s), then call each function after whatever delay you wanted between each gun. Hope that ma...
by Noesis
15 Jan 2018, 01:15
Forum: Gaming Help (v1)
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 5888

Re: AHK Multiple Timers, but asynchronous Topic is solved

Hi Arnes, Seems your code changed in the latest post. I don't mean the timings, but the methodology, i.e. using a loop instead of a timer. Probably not the best way, using a timer (or two) was a better approach IMO. The issue IMO is due to the sleeping within the timers. Essentially you want the tim...
by Noesis
09 Jan 2018, 01:44
Forum: Bug Reports
Topic: WinExist/IfWinExist issue with ShellExperienceHost
Replies: 2
Views: 2805

Re: WinExist/IfWinExist issue with ShellExperienceHost

"deliberate limitation" was a poor choice of words on my part, I meant "known limitation" but for some reason the term escaped me at the time. Anyway thanks for the explanation, makes sense as it is one of those "modern/universal" whatever MS calls it these days, type of interfaces, hence it would f...
by Noesis
07 Jan 2018, 08:18
Forum: Bug Reports
Topic: WinExist/IfWinExist issue with ShellExperienceHost
Replies: 2
Views: 2805

WinExist/IfWinExist issue with ShellExperienceHost

I've encountered issues detecting windows within ShellExperienceHost.exe (Windows 10). Not really sure if this is a deliberate limitation due to these windows always existing or if it's actually a bug. Essentially, WinExist() and IfwinExist always fail, unless the window handle is also passed as par...
by Noesis
07 Jan 2018, 04:11
Forum: Ask for Help (v1)
Topic: About Double Clicking on empty Taskbar
Replies: 5
Views: 1442

Re: About Double Clicking on empty Taskbar

There's possibly a better way to do this, but I use the following function (win 10). Note this should be called after the double click is confirmed, it simply returns true if the mouse cursor is over an empty area of the taskbar. isMouseOverFreeTaskbarSpace(ByRef result:=0) { result:=0 MouseGetPos,,...
by Noesis
04 Jan 2018, 04:35
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4893
Views: 1393188

Re: « What's on your mind? » Topic is solved

Yeah I already saw that article, and if that wasn't bad enough. Researchers Discover Two Major Flaws in the World’s Computers. One of them is the same one, the other, is a little more problematic.

Go to advanced search