Search found 70 matches

by -_+
14 Dec 2015, 06:17
Forum: Ask for Help (v1)
Topic: Why the results of these 2 commands may differ?
Replies: 6
Views: 2355

Why the results of these 2 commands may differ?

Code: Select all

MouseGetPos,,, id,, 1
vs

Code: Select all

MouseGetPos, x, y,,, 1
id := DllCall("WindowFromPoint", "Int", x, "Int", y)
These two codes sometimes generate different values. Why is that so?
by -_+
17 Nov 2015, 17:28
Forum: Forum Issues
Topic: Will you make old autohotkey.com forum posts reachable?
Replies: 5
Views: 2666

Will you make old autohotkey.com forum posts reachable?

Old forum contained lots of code. Even when ahkscript forum was a separate one - lots of URLs pointed at old autohotkey.com forum.
Now all links are dead and even google's cache is clean.
Could you please reanimate old posts?
by -_+
17 Nov 2015, 07:57
Forum: Announcements
Topic: SSL
Replies: 13
Views: 13748

Re: SSL

Finally, hooray!
by -_+
27 Oct 2015, 16:51
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

Ok, got it, thanks for the explanation.
by -_+
27 Oct 2015, 14:01
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

Thanks for your answers, Lexikos, it seems way more clear now to me.
But why did you name the last two examples not recommended? Is it because of just a bad/not obvious workflow or are there any hidden catches?
by -_+
26 Oct 2015, 20:36
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

You asked: can I use the same newobj := new myClass () [...]? In that case, newobj is already an instance of myClass and you can just call one of its normal methods, as I said. Ok, I got. Since you didn't answer the questions from my next message I take it as there is no way to apply a class's meth...
by -_+
26 Oct 2015, 08:12
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

lexikos, thanks for answering to some of my questions, but the main one was unanswered: Is there a way to pass an existing object (already populated with some data) to a class's methods, so that: - they would work with that object instead of creating a new one and overwriting the new one's data into...
by -_+
25 Oct 2015, 19:37
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

I have a question about classes. Say, I have a class with method __New(), that populates 'this' object (I guess it's called 'base') with some data. So, if I newobj := new myClass() , the newobj will get populated with some data. After that - can I use the same newobj := new myClass() to get populate...
by -_+
10 Oct 2015, 21:02
Forum: Scripts and Functions (v1)
Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
Replies: 95
Views: 75723

Re: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit

There's something wrong with the TrayIcon_Hide() function: 1. It accepts idx (not idcmd) as 1st param. 2. seems like it has it's own list of icons' indexes, because they don't match the indexes returned by TrayIcon_GetInfo() . Some indexes hide a few icons at once: turns out it depends on the taskba...
by -_+
08 Oct 2015, 15:37
Forum: Tutorials (v1)
Topic: Classes in AHK, Basic tutorial.
Replies: 35
Views: 105677

Re: Classes in AHK, Basic tutorial.

Poor English is so poor :(
by -_+
08 Oct 2015, 15:34
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 57210

Re: Classes in AHK, a Dissection (Advanced)

I find the 'Understanding class instances (and the new keyword).' part of this tutorial a bit unclear/weird. The whole idea of instances is that you may use same class (but maybe different methods in it) by different objects, isn't it? Then the example should demonstrate the use of at least two inst...
by -_+
14 Sep 2015, 09:34
Forum: Scripts and Functions (v1)
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 391
Views: 246949

Re: Alternative GUI styles (please contribute)

Blackholyman wrote:I made this sometime back but never really used it for anything.
But I liked the idea, so I've kept it as a template for later use.

Image:
Spoiler
Doesn't work for me on latest u32 ahk. :(
by -_+
29 Aug 2015, 06:42
Forum: Scripts and Functions (v1)
Topic: Columbus - a fast program launcher/searcher
Replies: 157
Views: 60047

Re: Columbus - a fast program launcher/searcher

Also, there are a few bugs I've found: In script's update system: 1. Exe failed to update: it says 'there's a new version v.0924', but when I hit 'Download' - it downloads the old version I had (probably v0.921, but I don't know where to look at, the script doesn't display it's current version, whic...
by -_+
29 Aug 2015, 06:34
Forum: Scripts and Functions (v1)
Topic: Columbus - a fast program launcher/searcher
Replies: 157
Views: 60047

Re: Columbus - a fast program launcher/searcher

Run1e, how to use that code? In all versions, including v0.924 the Plugins menu opens a blank non-editable area: https://i.imgur.com/ZGxry4b.png The 'Folder' button just opens an Explorer window. It should probably open a file-picker Explorer window instead, but it doesn't. Please, give a detailed i...
by -_+
27 Aug 2015, 12:53
Forum: Scripts and Functions (v1)
Topic: Columbus - a fast program launcher/searcher
Replies: 157
Views: 60047

Re: Columbus - a fast program launcher/searcher

I heavily use portable soft. The proportion of Portable programs : installed programs is around 3-4:1 on my PC. IMO, that should be a core functionality of the script to let the user manually expand the programs base. This could be done by first letting a user pick folders to look for executables in...
by -_+
03 Jun 2015, 02:37
Forum: Wish List
Topic: Object.Peek()
Replies: 11
Views: 3644

Re: Object.Peek()

lexikos wrote: Compare the savings:

Code: Select all

x.Insert(y)   x.Insert(Round(x.MaxIndex())+1, y)
...
Why Round()? Is there a case when Obj.MaxIndex() would return a float instead of an int?
by -_+
02 Jun 2015, 12:30
Forum: Wish List
Topic: Add a command to add hotstrings (analogy to hotkey command) Topic is solved
Replies: 4
Views: 3512

Re: Add a command to add hotstrings (analogy to hotkey command) Topic is solved

TheDewd, no, guest3456 was right about what I meant: there is Hotkey, %yourhotkey%, toggle and no similar Hotstring, %yourhotstring%, toggle.
by -_+
10 May 2015, 11:36
Forum: Scripts and Functions (v1)
Topic: A collection of small ahk functions
Replies: 78
Views: 58960

Re: A collection of small ahk functions

Maybe it's worth to split this topic into a few ones? I suggest to move all the bit/integer operations and pure math functions into a separate topic, all string operations - into another topic + leave one more topic for functions of the more general use. I think that for most plain users those math ...
by -_+
10 May 2015, 10:56
Forum: About This Community
Topic: Forum upgraded to phpBB v3.1.x
Replies: 177
Views: 159690

Re: Forum upgraded to phpBB v3.1.x

I like the new layout. The logging out issue seems to be gone for me since the update, so yay!
Gj, joedf.

Go to advanced search