Search found 301 matches

by Noesis
14 Sep 2016, 08:18
Forum: Ask for Help (v1)
Topic: Refresh taskbar without completely restarting explorer shell
Replies: 6
Views: 2320

Re: Refresh taskbar without completely restarting explorer shell

More a workaround for you're specific problem, but you could try minimizing then restoring the offending windows in a script, that also fixes the icon on the wrong screens taskbar thing for me. As do the things you already mentioned.
by Noesis
04 Jul 2016, 01:37
Forum: Ask for Help (v1)
Topic: Refresh System tray Icons Topic is solved
Replies: 25
Views: 14317

Re: Refresh System tray Icons Topic is solved

Scoop8 I used to use this exact script in Win7 (home premium x64 OEM as well) and it should work provided you use ToolbarWindow321 for the controlNN. It's possible it's the AHK version, personally I've never had an issue upgrading ahk to latest versions with regard to script backwards compatibility ...
by Noesis
03 Jul 2016, 07:49
Forum: Ask for Help (v1)
Topic: Refresh System tray Icons Topic is solved
Replies: 25
Views: 14317

Re: Refresh System tray Icons Topic is solved

I use the following function, which works for me on win 10: Tray_Refresh() { WM_MOUSEMOVE := 0x200 HiddenWindows := A_DetectHiddenWindows DetectHiddenWindows, On TrayTitle := "AHK_class Shell_TrayWnd" ControlNN := "ToolbarWindow322" IcSz := 24 Loop, 2 { ControlGetPos, xTray,yTray,wdTray,htTray, %Con...
by Noesis
03 May 2016, 08:17
Forum: Ask for Help (v1)
Topic: GetKeyState loop to detect button up does not work for >1 button
Replies: 6
Views: 2655

Re: GetKeyState loop to detect button up does not work for >1 button

That's because there's while loops within the timers, use the timers as a substitute for the while statements and set them to repeat at the sleep frequency for example: #SingleInstance force OutputDebug DBGVIEWCLEAR key1 := "LButton", key2 := "RButton" ;~ key1 := "2Joy1", key2 := "2Joy2" hotkey, % "...
by Noesis
02 May 2016, 21:54
Forum: Ask for Help (v1)
Topic: GetKeyState loop to detect button up does not work for >1 button
Replies: 6
Views: 2655

Re: GetKeyState loop to detect button up does not work for >1 button

Yeah it's a thread thing, like Capn Odin said. FYI using same methodology with keyboard keys does the same thing. Essentially AHK can only run one hotkey thread at a time, that thread can be interrupted but isn't returned to until the interrupting thread finishes. To work around pass info to a timer...
by Noesis
22 Mar 2016, 05:50
Forum: Ask for Help (v1)
Topic: How to make a Borderless-AlwaysOnTop [NOT FULLSCREEN]?
Replies: 2
Views: 3314

Re: How to make a Borderless-AlwaysOnTop [NOT FULLSCREEN]?

This is a function I use for doing a full screen Borderless window, modifying it for your needs shouldn't be too difficult, just remove or comment out the WinMove line or change it's parameters to what you want for the windows position & size. You will also need to add the always on top part. Just b...
by Noesis
27 Feb 2016, 01:23
Forum: Gaming Help (v1)
Topic: Glitch in Simple key binding for Dead Space
Replies: 8
Views: 3433

Re: Glitch in Simple key binding for Dead Space

This last thing confuses me a bit, I mean that last script you posted should work regardless of which window is active (i.e. your statement of alt-tabbing out doesn't make much sense to me since the most recent scripts execution isn't reliant on any window being active/existing etc). The main differ...
by Noesis
18 Feb 2016, 23:26
Forum: Gaming Help (v1)
Topic: Glitch in Simple key binding for Dead Space
Replies: 8
Views: 3433

Re: Glitch in Simple key binding for Dead Space

Does the Dead Space window change ? (perhaps between menu and game) - I actually can't remember but my guess is it does, as I've used AHK with Dead Space in the past, and just opened the script to look at it and I was using: #IfWinActive AHK_Group DeadSpace defined with these two entries: GroupAdd, ...
by Noesis
22 Dec 2015, 00:26
Forum: Gaming Help (v1)
Topic: Need help with script. Info inside. Topic is solved
Replies: 5
Views: 1999

Re: Need help with script. Info inside. Topic is solved

Another alternative is to strip the leading * from A_ThisHotkey. i.e. using *Space causes A_ThisHotkey to contain *Space (not Space, without the *) and since no such key exists GetKeyState is always returning false. Even if you forced the GetKeyState to be Space, the sendinput would also not send a ...
by Noesis
21 Dec 2015, 01:49
Forum: Gaming Scripts (v1)
Topic: Universal Joystick Remapper (UJR) - v6.10 2nd Nov 2015
Replies: 169
Views: 127472

Re: Universal Joystick Remapper (UJR) - v6.10 2nd Nov 2015

Firstly I don't actually use UJR, but I do use VJoy with an AHK script for ED (and many other games but I prefer to do my own scripts - just more control over what can be done - UJR is great for those that don't want to get into the scripting side however) With regard to the Elite Dangerous specific...
by Noesis
13 Dec 2015, 22:51
Forum: Ask for Help (v1)
Topic: How to implement "dev 0 axis 3" (steering wheel)?
Replies: 1
Views: 836

Re: How to implement "dev 0 axis 3" (steering wheel)?

You'll need something like "VJoy" installed and could do it through that.
by Noesis
08 Sep 2015, 00:37
Forum: Gaming Help (v1)
Topic: [solved] Bind a single key to multiple keys
Replies: 3
Views: 13230

Re: Bind a single key to multiple keys

Try not blocking the key i.e.:
~p:: Up
by Noesis
22 May 2015, 01:43
Forum: Gaming Help (v1)
Topic: I want my Mouse movements to behave as Joystick Topic is solved
Replies: 1
Views: 1664

Re: I want my Mouse movements to behave as Joystick Topic is solved

Hi Otto, you posted a similar question in the UJR thread, which I answered there, so read that, and any further questions etc would be best put into THIS thread, rather than the UJR one. (If I'd seen this first I'd have answered here).
by Noesis
22 May 2015, 01:32
Forum: Gaming Scripts (v1)
Topic: Universal Joystick Remapper (UJR) - v6.10 2nd Nov 2015
Replies: 169
Views: 127472

Re: Make Mouse Emulate Joystick?

Yes you can do this. I don't use UJR as I don't believe it's designed to do such a thing but I do it with a combination of Vjoy & AHKHID. The vjoy aspect should be relatively straight forward (i.e. it's the joystick part) and the ahkhid library is used for getting the mouse input. I use ahkhid as I ...
by Noesis
28 Apr 2015, 01:00
Forum: Ask for Help (v1)
Topic: close script open another Topic is solved
Replies: 3
Views: 1656

Re: close script open another Topic is solved

It could be done with OnExit() but like Blackholyman says you'd need to read the docs and check the exit reason before launching the script so it doesn't launch it when the script is exited due to reasons other then the hotkey is pressed. Another solution would be to simply run your script immediate...
by Noesis
18 Mar 2015, 22:58
Forum: Ask for Help (v1)
Topic: How to find which joysitck corresponds to 1Joy, 2Joy, etc.
Replies: 13
Views: 7277

Re: How to find which joysitck corresponds to 1Joy, 2Joy, et

I just use the following script, basically it's the one from the help file with modifications to change the joystick reported using the +/- keys (without shift) to change the joystick number, and allowing esc to exit. ; July 6, 2005: Added auto-detection of joystick number. ; May 8, 2005 : Fixed: Jo...
by Noesis
24 Nov 2014, 01:55
Forum: Ask for Help (v1)
Topic: First steps migrating out of MS custom keyboard layout
Replies: 4
Views: 2067

Re: First steps migrating out of MS custom keyboard layout

Essentially the problem (only looking at the 6 bracket swap commands) is these keys are creating a circular reference which is resolved with ( & ) characters being sent and then intercepted and sending "nothing" as the {} characters aren't being sent correctly. Since the { & } characters have a spec...
by Noesis
12 Nov 2014, 01:58
Forum: Scripts and Functions (v1)
Topic: AHK vJoy Library - (Virtual) Joystick output for AHK
Replies: 11
Views: 15321

Re: AHK vJoy Library - (Virtual) Joystick output for AHK

No particular reason as far as I recall, I just elected to use Unicode ages ago when I first installed it, and I'm using the 64-bit version just because I always elect for a 64-bit version if one is available. As far as compiling goes, I don't really do it with ahk, but I'm not really sure if ANSI/U...
by Noesis
11 Nov 2014, 07:37
Forum: Ask for Help (v1)
Topic: Gdip_FillRoundedRectangle with border
Replies: 2
Views: 1542

Re: Gdip_FillRoundedRectangle with border

You could probably do one of either of the following, depending on what you're trying to achieve. Gdip_SetCompositingMode(G,1) prior to the other 2 statements, or use Gdip_DrawRoundedRectangle(G, pPen, 0, 0, Width, Height, 15) with a Black pen with a 5 thickness instead of a brush and instead of the...
by Noesis
11 Nov 2014, 07:22
Forum: Scripts and Functions (v1)
Topic: AHK vJoy Library - (Virtual) Joystick output for AHK
Replies: 11
Views: 15321

RegRead64() Assumes ANSI Encoding

Hi evilC been using an earlier version of this library for a while and thought I'd try this one, and couldn't get it to work due to some of the DLL calls in RegRead64(). Essentially the calls were assuming ANSI encoding which wasn't working for me using Unicode ahk. Fixed it and thought you'd like t...

Go to advanced search