Search found 65 matches

by coffee
14 Aug 2018, 20:57
Forum: AutoHotkey v2 Development
Topic: NumOp/StrOp (with respect to !=/!==)
Replies: 42
Views: 708

Re: NumOp/StrOp (with respect to !=/!==)

If you want to overhaul the fundamentals of expressions and operators, in my view, you should outline the proposals in full, in one place. The before and after details. And at least some cost-benefit analysis details/considerations regarding updating old scripts. Nobody has to do that, or pass anyt...
by coffee
19 Jul 2018, 21:19
Forum: AutoHotkey v2 Development
Topic: AHK V2: function reference works to class prototype method but not class instance method
Replies: 8
Views: 265

Re: AHK V2: function reference works to class prototype method but not class instance method

Makes sense... but still wondering why func function accepts "MyClassPrototype.MyMethod" as a function name? Skimming the source (correct me if i'm wrong), because "MyClassPrototype.MyMethod" is the name of the function internally (so there may be a function named that way). Fun...
by coffee
05 Jul 2018, 00:56
Forum: Ask For Help
Topic: Regexmatch
Replies: 1
Views: 53

Re: Regexmatch

Code: [Select all]GeSHi © Codebox Plus

RegexReplace(tmp, "i)^([a-zA-Z]{2})\s+(\d{5})$", "$1$2")


Probably.
by coffee
02 Jul 2018, 23:32
Forum: AutoHotkey v2 Development
Topic: AHK V2: passing objects to non-byref param?
Replies: 5
Views: 257

Re: AHK V2: passing objects to non-byref param?

I've been looking at this paragraph for 2 months , but think I'm still missing a distinction: Because a variable only ever contains a reference to an object and not the object itself, when you pass such a variable to a non-ByRef parameter , what the function receives is a reference to the same obje...
by coffee
27 Jun 2018, 20:29
Forum: Ask For Help
Topic: Explorer: move up one folder level
Replies: 8
Views: 159

Re: Explorer: move up one folder level

jeeswg wrote:Hold down Ctrl and don't let go, and tap u occasionally.

Can't reproduce :(
by coffee
27 Jun 2018, 20:18
Forum: Ask For Help
Topic: Explorer: move up one folder level
Replies: 8
Views: 159

Re: Explorer: move up one folder level

I dont have the issue of Ctrl+U opening a new window if i just do

Code: [Select all]GeSHi © Codebox Plus

^u::!Up
;or
^u::SendInput("!{Up}")

Could it be a win7 thing?
by coffee
27 Jun 2018, 20:02
Forum: Ask For Help
Topic: Explorer: move up one folder level
Replies: 8
Views: 159

Re: Explorer: move up one folder level

Is this like to move up one folder on background windows automatically? to automate something with explorer windows for some reason? If you just simply want the ability to go up instead of going back to last folder with a hotkey whenever you are browsing a folder, then try ALT + UP on an explorer wi...
by coffee
27 Jun 2018, 19:32
Forum: Ask For Help
Topic: AHK vs converted EXE
Replies: 2
Views: 128

Re: AHK vs converted EXE

Is there any overhead and extra resource usage in the EXE version? Not as far as I'm aware. Scripts are not "converted to exe" when "compiling" with Ahk2Exe. (there's no byte code or machine code generated). The script file (.ahk) is simply embedded in the EXE as a resource (it ...
by coffee
26 Jun 2018, 02:02
Forum: Ask For Help
Topic: Decompiling
Replies: 103
Views: 25530

Re: Decompiling

This is great, best things In life are free indeed. I really appreciate this. I was wondering if the lib folder could be packed together when AHK_H gets recompiled. Not talking about the moment of compiling, but prior to that i.e. the time that AHK_H gets recompiled with Visual Studio. Not sure if ...
by coffee
18 Jun 2018, 11:32
Forum: Ask For Help
Topic: Lock computer key
Replies: 3
Views: 136

Re: Lock computer key

Hi ! I've got this new keyboard which has a dedicated key to lock the computer, then retype password, etc. I made a script when I use an application to help me to control it just with the keyboard. I'm in the dark because I use a projector to show to an audience. But when I, accidently, hit the 'lo...
by coffee
15 Jun 2018, 15:46
Forum: AutoHotkey v2 Development
Topic: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de Topic is solved
Replies: 6
Views: 309

Re: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de Topic is solved

Each method also has an equivalent function , which can be used to bypass any custom behaviour implemented by the object [..] btw: works well on AHKv1. It's not in the built-in function array in script.cpp. (Lexikos probably overlooked it, since it's just one line missing). BIFn(ObjCount, 1, 1, BIF...
by coffee
14 Jun 2018, 16:15
Forum: Otras Utilidades y Recursos
Topic: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-08-12]
Replies: 13
Views: 761

Re: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-05-25]

This is just a bug report. En caso de que no lo hayas arreglado todavia. El compiler no soporta comentarios de este tipo: /** NOT SUPPORTED BY COMPILER **/ Msgbox("Hello") Msgbox("Not showing") El compiler excluye todo bajo el block comment, i.e ninguno de los Msgbox aparecen en ...
by coffee
14 Jun 2018, 05:48
Forum: Otras Utilidades y Recursos
Topic: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-08-12]
Replies: 13
Views: 761

Re: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-05-25]

No estoy en casa en este momento, no puedo comprobar nada. Aún así, ¿Cual es la ventaja de esto?, ¿No crees que utilizar Include de forma explicita reduce confusiones?. Usar include explicito a veces reduce confusion y a veces no, a veces ahorra tiempo y a veces no. Usar include explicito te obliga...
by coffee
13 Jun 2018, 14:18
Forum: Otras Utilidades y Recursos
Topic: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-08-12]
Replies: 13
Views: 761

Re: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-05-25]

Hola coffee , A que otros compiladores te refieres, nunca he leído sobre esa funcionalidad. Si AHK no lo soporta, ¿Que sentido tiene que el compilador si lo haga?. Edit: Parece que si existe esa funcionalidad, lo estaré viendo para la proxima actualización, aunque no prometo nada, no lo veo demasia...
by coffee
13 Jun 2018, 00:47
Forum: Otras Utilidades y Recursos
Topic: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-08-12]
Replies: 13
Views: 761

Re: Ahk2Exe AHKv2 - Compilador en español para AutoHotkey v2 [2018-05-25]

Estoy viendo que tu source no usa "iLib" como los otros compilers para incluir las funciones que se incluyen automaticamente (sin usar includes explicitos). Es intencional? A lo mejor no consigo la nota en github. Ejemplo file structure script.ahk Lib\ftest.ahk script.ahk contiene ftest() ...
by coffee
12 Jun 2018, 01:26
Forum: Ask For Help
Topic: First time using RegExMatch. Think I'm doing something wrong. Topic is solved
Replies: 7
Views: 204

Re: First time using RegExMatch. Think I'm doing something wrong. Topic is solved

Documentation states: [v1.1.04+]: This function is able to throw an exception on failure (not to be confused with "no match found"). Use the output of the regexmatch function to determine whether it succeded or not, not errorlevel. This function returns the position of the leftmost occurre...
by coffee
11 Jun 2018, 00:19
Forum: Ask For Help
Topic: Need help with reading INI file into array variables.
Replies: 16
Views: 509

Re: Need help with reading INI file into array variables.

This throws all sorts of flags... I dunno if any of that is even possible in this language It is, but you seem to be asking for a custom solution, seeing what you posted. Not a simple iniread and write. Your requirements also seem indecisive. You may also have to change how you are doing it. Why don...
by coffee
07 Jun 2018, 15:24
Forum: Ask For Help
Topic: Function IsProcessElevated returns errors for elevated processes
Replies: 5
Views: 259

Re: Function IsProcessElevated returns errors for elevated processes

Can anyone explain to me the return statement and why it's not generating an error: return IsElevated, DllCall("CloseHandle", "ptr", hToken) && DllCall("CloseHandle", "ptr", hProcess) It looks like the 2nd parameter is closing two handles, but I thoug...
by coffee
27 Apr 2018, 05:12
Forum: AutoHotkey v2 Development
Topic: Functions | &ByRef • ByVal
Replies: 22
Views: 1092

Re: Functions | &ByRef • ByVal

Similarily, passing an object to a function, byref or not, allows the function to modify the object, I do not see too much confusion about it No, not similarly. Byref also allows you to wipe out the external object reference by blanking the internal variable and then you have no object outside of t...
by coffee
18 Mar 2018, 04:50
Forum: AutoHotkey v2 Development
Topic: possible issue: MsgBox: omit first parameter Topic is solved
Replies: 19
Views: 826

Re: possible issue: MsgBox: omit first parameter Topic is solved

I think the problem is with Msgbox(,,) Since that is supposedly omitting all parameters, or at least should be equivalent to Msgbox() Msgbox(,,"") is not omitting all parameters. The default value for omitting the text parameter is empty string when you are using the other parameters. It s...

Go to advanced search