Search found 497 matches

by derz00
13 Apr 2018, 09:13
Forum: Ask for Help (v1)
Topic: Listen to hotkey when GUI is shown
Replies: 1
Views: 631

Re: Listen to hotkey when GUI is shown

Try #if WinExist. This does not, by default anyway, detect hidden windows, so it should work.
by derz00
13 Apr 2018, 07:41
Forum: Scripts and Functions (v1)
Topic: slice string, pad characters
Replies: 18
Views: 6203

Re: slice string, pad characters

Alright, by elimination, pad isn't ideal. About slice: I've seen that JavaScript has 'slice', and that it's similar to AHK's SubStr, but do you have concrete examples form other programming languages to back up your claim? You're right; SubStr is slicing. What claim did I make? Pardon my misundersta...
by derz00
12 Apr 2018, 19:41
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 104
Views: 52900

Re: your personal AutoHotkey style guide

I'm not sure what this has to do with AutoHotkey. Maybe because it's the only language with a WinGet function? And I also don't understand how clear and true description in naming variables can mislead someone. You asked for the PID of the active window, that's what you get, and until you have a bet...
by derz00
12 Apr 2018, 19:34
Forum: Scripts and Functions (v1)
Topic: slice string, pad characters
Replies: 18
Views: 6203

Re: slice string, pad characters

yes this is delimiting. Excel can split data by delimiters. Not sure where you researched your terms?

padding is adding characters to meet a certain length. such as padding 12 with 0's to 5 digits would be 00012

Slicing is slicing--which you do in AHK with SubStr()
by derz00
12 Apr 2018, 19:22
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 104
Views: 52900

Re: your personal AutoHotkey style guide

[EDIT:] There is a potential problem with 'active_pid', it can be misleading since it is not guaranteed to correspond to the active PID. A function, ActivePID() / PIDActive(), with such a name, would make more sense. Hm? It is guaranteed--the 3rd parameter is "A" (which stands for "active"). What a...
by derz00
11 Apr 2018, 16:11
Forum: Forum Issues
Topic: [docs] BBCode no longer working
Replies: 25
Views: 8352

Re: [docs] BBCode no longer working

Yes thanks!
by derz00
11 Apr 2018, 13:52
Forum: Off-topic Discussion
Topic: Test
Replies: 1
Views: 1203

Re: Test

:o
by derz00
10 Apr 2018, 16:22
Forum: Forum Issues
Topic: [docs] BBCode no longer working
Replies: 25
Views: 8352

Re: [docs] BBCode no longer working

most are working now but some are not: ;working msgbox winwait run loop return ;not working regexreplace() if #noenv #singleinstance varsetcapacity() DllCall() OnMessage() it looks like the old redirects (such as http://www.autohotkey.com/docs/MsgBox ) are still failing. i guess the codeboxes no lo...
by derz00
10 Apr 2018, 10:40
Forum: Scripts and Functions (v1)
Topic: Instant HotString
Replies: 17
Views: 4605

Re: Instant HotString

Yours doesn't improve one of the first issues with burque505's. After saving a hotkey, you can't add another one--the window disappears.

EDIT: Actually, his does have a "Show GUI" button in the tray menu, but it doesn't reset the edit fields
by derz00
07 Apr 2018, 14:40
Forum: Off-topic Discussion
Topic: Flat Earth vs. Globe Earth
Replies: 115
Views: 64245

Re: Flat Earth vs. Globe Earth

Our society's new opium is unbelief
by derz00
04 Apr 2018, 09:38
Forum: Scripts and Functions (v1)
Topic: InstantHotstring
Replies: 12
Views: 4369

Re: InstantHotstring

check the required version noted in the second line/comment. This script uses a recent new feature--you need the latest version.
by derz00
02 Apr 2018, 21:01
Forum: Ask for Help (v1)
Topic: objects: passing objects ByRef to a function Topic is solved
Replies: 8
Views: 3375

Re: objects: passing objects ByRef to a function Topic is solved

- @derz00: In your function, there is only one object. In my function a new object is generated each time. - Also, my function is good for local objects, your function creates a global object. Alright, I see the difference. Either way, I don't see the purpose of this style of functions and creating...
by derz00
01 Apr 2018, 16:32
Forum: Off-topic Discussion
Topic: opinions on Stack Overflow
Replies: 65
Views: 26382

Re: opinions on Stack Overflow

https://meta.stackoverflow.com/a/365402/8771195

Never saw a virtual rubber ducky before! I'll have to try it next time I have a problem...
by derz00
01 Apr 2018, 16:26
Forum: Ask for Help (v1)
Topic: objects: passing objects ByRef to a function Topic is solved
Replies: 8
Views: 3375

Re: objects: passing objects ByRef to a function Topic is solved

jeeswg wrote:This is another classic use of objects where ByRef is required.
I'm not sure what you mean. Doesn't this function do the same thing, without ByRef?

Code: Select all

CreateObj()
MsgBox, % oArray.3 ; c

CreateObj() {
	global oArray := ["a","b","c","d","e"]
}
by derz00
31 Mar 2018, 12:06
Forum: AutoHotkey Development
Topic: passing parameters as strings v. numeric Topic is solved
Replies: 75
Views: 17211

Re: passing parameters as strings v. numeric Topic is solved

adding +0 where necessary Except that "1" + 0 wouldn't work either, if types were enforced. expert users getting mysterious bugs Either the expert part is wrong, or the program isn't throwing proper errors. Types are easy to debug, not mysterious. it will have to be forced to become a numeric type ...
by derz00
28 Mar 2018, 21:03
Forum: Forum Issues
Topic: Docs - endless loop
Replies: 31
Views: 8955

Re: Docs - endless loop

works for me now after one extra redirect...
by derz00
28 Mar 2018, 13:51
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4901
Views: 1416256

Re: « What's on your mind? » Topic is solved

Problem is, Apple (so secure and private) does too, and Microsoft (so expensive and well-developed) supposedly
by derz00
28 Mar 2018, 12:15
Forum: Forum Issues
Topic: Docs - endless loop
Replies: 31
Views: 8955

Re: Docs - endless loop

any docs link freaks out for me.
by derz00
28 Mar 2018, 12:01
Forum: Forum Issues
Topic: Docs - endless loop
Replies: 31
Views: 8955

Re: Docs - endless loop

Nope, loop is broken lol. What I meant was, what should work doesn't work.
by derz00
28 Mar 2018, 11:55
Forum: Forum Issues
Topic: Docs - endless loop
Replies: 31
Views: 8955

Re: Docs - endless loop

doesn't work for me anymore

Go to advanced search