Search found 418 matches

by fincs
25 Mar 2015, 17:33
Forum: Off-topic Discussion
Topic: AutoHotKey and Windows 10
Replies: 20
Views: 37105

Re: AutoHotKey and Windows 10

IE is not going away, namely, the underlying MSHTML+COM engine. MS is not that stupid to remove an operating system component so many programs rely on.
by fincs
25 Mar 2015, 17:27
Forum: AutoHotkey Development
Topic: Command syntax - "This parameter can be an expression"
Replies: 25
Views: 12897

Re: Command syntax - "This parameter can be an expression"

My opinion is that the change should not be reversed because it would make command syntax highly unpredictable and unintuitive. Treating certain parameters of certain built-in functions as "also expressions" would result in second-class treatment of script-defined functions as well as blatant incons...
by fincs
14 Mar 2015, 15:23
Forum: Off-topic Discussion
Topic: Pi Day 3-14-15 ( 20150314 )
Replies: 5
Views: 3385

Re: Pi Day 3-14-15 ( 20150314 )

by fincs
11 Mar 2015, 17:11
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

I updated the binaries with the latest v2.0-a060 changes.
by fincs
11 Mar 2015, 08:13
Forum: Bug Reports
Topic: [Fixed] Command syntax local OutputVars are broken. Topic is solved
Replies: 1
Views: 2138

[Fixed] Command syntax local OutputVars are broken. Topic is solved

test() test() { Array, t, 1, 2, 3 MsgBox(t[1]) } --------------------------- what.ahk --------------------------- Error: No object to invoke. Line# 002: test() 005: { 006: Array,t,1,2,3 ---> 007: MsgBox(t[1]) 008: } 009: Exit 010: Exit 010: Exit The current thread will exit. -----------------------...
by fincs
11 Mar 2015, 07:43
Forum: Bug Reports
Topic: [Fixed] SetTimer is broken. Topic is solved
Replies: 2
Views: 2513

[Fixed] SetTimer is broken. Topic is solved

test() test() { SetTimer, testlabel, 1000 return testlabel: ToolTip %A_TickCount% return } --------------------------- what.ahk --------------------------- Error: Target label does not exist. Line# 002: test() 005: { ---> 006: SetTimer,testlabel,1000 007: Return 010: ToolTip,A_TickCount 011: Return...
by fincs
10 Mar 2015, 13:44
Forum: About This Community
Topic: autohotkey.com
Replies: 264
Views: 333261

Re: autohotkey.com

Repost: My opinion is the following: The current landing page of ahkscript.org should be transferred to autohotkey.com . The old forum (at autohotkey.com) should be locked and kept solely as an archive at archive.autohotkey.com This forum (at ahkscript.org) should be transferred and accessible at fo...
by fincs
10 Mar 2015, 11:08
Forum: General Discussion
Topic: A Github organisation for ahkscript
Replies: 245
Views: 185458

Re: A Github organisation for ahkscript

in my opinion, it should be more organized and strict. the official 'AutoHotkey' github account should probably hold repos for: 1. the codebase 2. the docs 3. the website 4. maybe something else i thought the 'ahkscript' github account got too cluttered with user contributed repositories that shoul...
by fincs
05 Mar 2015, 15:43
Forum: Announcements
Topic: Obsolete test build - Functions and Objects as Labels (etc.)
Replies: 108
Views: 84426

Re: New test build - Functions and Objects as Labels (and m

With every single new test build posted here, I feel more and more like the version number deserves bumping to v1.2 due to so many major changes to how AutoHotkey works.
by fincs
01 Mar 2015, 12:39
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

I just uploaded a new test build, with the following changes: Based on v2.0-a058-fa7ed04 Added GuiCtrlFromHwnd() and a 'RecurseParent' option to GuiFromHwnd() Switched order of 'eventInfo' and 'guiEvent' in Control event handlers Allow gui.Add(CtrlName, ...) Control names reintroduced using vName op...
by fincs
20 Feb 2015, 17:28
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

What do you think about adding a third parameter to AddCtrl() and/or a property to set/get the control's event handler? Once user-defined function objects are supported (as in the v1.1.x test builds), this could be used to associate arbitrary data with the control via an object. (The object's Call(...
by fincs
19 Feb 2015, 17:33
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

Is there a particular reason that you put eventInfo before guiEvent? No. Coming to think of it, it does make more sense to put guiEvent first. I'll change it. Is information still passed via ErrorLevel in some cases? I think there's just Link and ListView (for the "I" event). No, it gets appended a...
by fincs
18 Feb 2015, 06:59
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

The control object is passed as the first parameter to control event handler functions/methods.
by fincs
18 Feb 2015, 05:55
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

I think you mentioned per-GUI (or per-control?) message handlers, but having a single OnMessage handler might better fit the design of some scripts. While single OnMessage handlers would benefit some scripts, other scripts would be better off with per-GUI or per-control handlers. I think it'd be be...
by fincs
16 Feb 2015, 17:09
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

If the premise of your argument is that GuiControlGet is "incredibly clunky", I think I'll have to disagree. You don't need "complex workarounds" for that; you just need a single line for each time you want the value of the control. If there are other issues I haven't already covered, please explai...
by fincs
15 Feb 2015, 12:23
Forum: Scripts and Functions (v1)
Topic: SciTE4AutoHotkey extension - Count occurrences of word
Replies: 50
Views: 18415

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I know you shouldn't do that because changes are overwritten on updates, but I don't know another place to put it. Right click on Toolbar > Edit User Lua script. Also, you should use RegisterEvents() instead of manually overwriting event handlers. local events = { OnDoubleClick = function(shift, ct...
by fincs
15 Feb 2015, 06:39
Forum: AutoHotkey Development
Topic: Proposed New GUI API for AutoHotkey v2
Replies: 249
Views: 113621

Re: Proposed New GUI API for AutoHotkey v2

I'm not sure whether Proposed New GUI API for AutoHotkey v2 covers ListView functions yet. LV_/TV_/SB_ functions have been directly converted into methods of ListView/TreeView/StatusBar objects. However, the Gui Submit pattern is still sometimes useful. Gui Submit is useful in v1.x because the only...
by fincs
10 Feb 2015, 11:23
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 616580

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I'm sorry but empardopo's call hierarchy proposed feature is quite unfeasible to implement due to AutoHotkey's extremely unpredictable syntax. Not only detecting function definitions is hard (TillaGoto, which allows you to jump to the definition of a function via middle-clicking, more or less succee...
by fincs
08 Feb 2015, 17:00
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 616580

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

lexikos wrote:Setting UTF-8 as a default for SciTE4AutoHotkey's output pane doesn't make a lot of sense.
The default for both code.page and output.code.page is 0 (i.e. ANSI) in SciTE4AutoHotkey. Note that this setting can be configured in Tools > SciTE4AutoHotkey Settings > File codepage.

Go to advanced search