Search found 70 matches

by -_+
11 Sep 2016, 06:15
Forum: Wish List
Topic: Custom COM Objects & DLL Library compilation?
Replies: 5
Views: 1225

Re: Custom COM Objects & DLL Library compilation?

Okay, thank you.
by -_+
07 Sep 2016, 07:43
Forum: Wish List
Topic: Custom COM Objects & DLL Library compilation?
Replies: 5
Views: 1225

Re: Custom COM Objects & DLL Library compilation?

HotKeyIt, multiple recent MS decisions/actions push a lot of users away from Windows, some of them migrate (or want to migrate) to Linux-based OSes.
We already know lexikos' stance on the question, but we don't know yours.
Could you port your AHK_Hv2 to linux?
by -_+
02 Sep 2016, 21:04
Forum: Ask For Help
Topic: Hide/restore tray icon of another process/ahk_script by pid/hwnd Topic is solved
Replies: 2
Views: 292

Re: Hide/restore tray icon of another process/ahk_script by pid/hwnd Topic is solved

Windows7SP1x64, latest ahk_x64. I am trying to make it work at least for AHK scripts' icons. I don't like the Menu, Tray, NoIcon approach as it requires modification of other scripts, I'd rather have a single script commanding others. Yes, I did use DetectHIddenWindows, On (although I forgot to ment...
by -_+
02 Sep 2016, 09:13
Forum: Ask For Help
Topic: Hide/restore tray icon of another process/ahk_script by pid/hwnd Topic is solved
Replies: 2
Views: 292

Hide/restore tray icon of another process/ahk_script by pid/hwnd Topic is solved

Here lexikos provided a way to hide and restore script's own icon: MsgBox This script has an icon. If killTrayIcon(A_ScriptHwnd) MsgBox And now it doesn't. If restoreTrayIcon(A_ScriptHwnd) MsgBox And now it does again. killTrayIcon(scriptHwnd) { DetectHiddenWindows, On Static NIM_DELETE := 2, AHK_N...
by -_+
29 May 2016, 14:22
Forum: Wish List
Topic: IsProperty
Replies: 2
Views: 694

Re: IsProperty

But what's the point? You write a script that creates an object and the script operates over it. You should already know if said key is a property or not.
by -_+
26 May 2016, 14:47
Forum: Ask For Help
Topic: Why does ErrorLevel for Input command treat dots input in different way as different symbols?
Replies: 4
Views: 313

Why does ErrorLevel for Input command treat dots input in different way as different symbols?

This script is supposed to msgbox errorlevel whenever the user inputs a dot. Loop { Input, key, C L1 V, . If (ErrorLevel == "EndKey:.") MsgBox, % ErrorLevel } But it doesn't do so if the user inputs a dot - using NumpadDot (when NumLock is On); - from non-english keyboard layout. A dot is ...
by -_+
12 May 2016, 11:44
Forum: Development
Topic: [AHK_H v2] Native multi-threading using thread local storage (without AutoHotkey.dll)
Replies: 43
Views: 12316

Re: [AHK_H v2] Native multi-threading using thread local storage (without AutoHotkey.dll)

That's awesome, but what about the future of that? Will that get landed to AHK_L v2?
HotKeyIt, I heard of your alternative branch of AHK, but I never cared to try it, is there anywhere a comparison list (a feature 'diff') of your branch against the main one (AHK_L v2)?
by -_+
14 Mar 2016, 15:37
Forum: Ask For Help
Topic: Pausing some ahk scripts processes may result into cursor lagging heavily
Replies: 3
Views: 302

Re: Pausing some ahk scripts processes may result into cursor lagging heavily

You are right that it might be how windows reacts to freezing processes that have installed mouse hooks, but it definitely has nothing to do with the task manager itself (I may use ahk script to freeze another script's process). Well, I'm okay with that, if nothing can be done from the AHK side (I d...
by -_+
14 Mar 2016, 09:26
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 217
Views: 52322

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

jNizM, same happens to me with W7U-SP1-x64 (AHK_x64 1.1.23.01).
by -_+
14 Mar 2016, 09:22
Forum: Ask For Help
Topic: Pausing some ahk scripts processes may result into cursor lagging heavily
Replies: 3
Views: 302

Pausing some ahk scripts processes may result into cursor lagging heavily

[Moderator's note: Topic moved from Bug Reports.] STR: 1. Run this script: MButton:: ; here could be any mouse button. msgbox a return 2. freeze this script's process in the task manager (you will need an advanced one). Expected Result: Moving the cursor works as fine as it usually did: the cursor ...
by -_+
09 Feb 2016, 12:38
Forum: Scripts and Functions
Topic: WatchFolder() - updated on 2016-11-30
Replies: 44
Views: 11006

Re: WatchFolder()

just me, could you please make the script distinguish file move (as a single event)?
Currently, when a file is being moved - your script shows it as 2 events: old file was deleted, new one was created.
by -_+
23 Jan 2016, 08:35
Forum: Wish List
Topic: 'For k, v In Array' loop should iterate through all items
Replies: 11
Views: 2036

Re: 'For k, v In Array' loop should iterate through all items

What makes you think that whatever goes on under the hood to allow your original code to work will be better than every other solution posted here? Nothing. I meant the optimality of how the code would look like if the proposed change would get into AHK. I don't know anything about the things 'unde...
by -_+
22 Jan 2016, 16:04
Forum: Wish List
Topic: 'For k, v In Array' loop should iterate through all items
Replies: 11
Views: 2036

Re: 'For k, v In Array' loop should iterate through all items

haichen that will work good only in some cases, but not in all cases. It will totally get broken when parsing associative arrays: just try to MsgBox, % Arr.GetCapacity on Arr :={"aaa": "bbb", "ccc": "ddd", 111: 222} and other associative arrays. You'll get a ...
by -_+
21 Jan 2016, 10:06
Forum: Wish List
Topic: 'For k, v In Array' loop should iterate through all items
Replies: 11
Views: 2036

Re: 'For k, v In Array' loop should iterate through all items

Or you could do this: … I could, but this is even less optimal than my suggested solution, since in your case the loops end up iterating through the same items in the array more than twice (or at least twice, if you remove your Break ). I could also find a few more solutions to the problem, but the...
by -_+
20 Jan 2016, 12:29
Forum: Wish List
Topic: 'For k, v In Array' loop should iterate through all items
Replies: 11
Views: 2036

'For k, v In Array' loop should iterate through all items

I want For loop work the same way it works in Python. In AHK if you run a For loop on some array and during that loop delete an item - all the next items' indexes in that array get decremented. If during the For loop's work you delete an item - your loop from now on will not iterate through all the ...
by -_+
20 Jan 2016, 11:31
Forum: Wish List
Topic: Array/object wishlist (count, printarr, contains, other).
Replies: 22
Views: 6090

Re: Array/object wishlist (count, printarr, contains, other).

+1 vote to make Obj.Count() work predictably (count the total number of items in the array) for associative arrays. As for printarr() I also suggest another solution: pick something like JSON as a standard and add built-in support of object <> JSON encoding/decoding. JSONed objects +...
by -_+
17 Dec 2015, 02:07
Forum: Ask For Help
Topic: Why the results of these 2 commands may differ?
Replies: 6
Views: 600

Re: Why the results of these 2 commands may differ?

Thanks, just me, I will run some more tests.
by -_+
15 Dec 2015, 13:03
Forum: Ask For Help
Topic: Why the results of these 2 commands may differ?
Replies: 6
Views: 600

Re: Why the results of these 2 commands may differ?

just_me, thank you.
But isn't what you've described WindorFromPoint() does - the same what ControlGetPos, x, y does?

Although I use U32, I wonder how to make WindowFromPoint() work with U64 (for just in case).
by -_+
14 Dec 2015, 07:05
Forum: Ask For Help
Topic: Why the results of these 2 commands may differ?
Replies: 6
Views: 600

Re: Why the results of these 2 commands may differ?

In my script where I noticed this difference I use CoordMode, Mouse The class was MozillaWindowClass , which is, unfortunately, is used in multiple sub-windows of a single Firefox window. I'm going to guess that it has to do with CoordMode and how the x/y coordinates get stored and that the DllCall ...

Go to advanced search