Search found 3336 matches

by jeeswg
Today, 14:36
Forum: Ich brauche Hilfe
Topic: "@" per controlsend
Replies: 3
Views: 41

Re: "@" per controlsend

Probieren Sie dieses Skript aus oder versuchen Sie Send {Text} in AutoHotkey v1.1.27+. Prost. [Try this script, or try Send {Text} in AutoHotkey v1.1.27+. Cheers.] q:: ;send character to active window/control WinGet, hWnd, ID, A ControlGetFocus, vCtlClassNN, % "ahk_id " hWnd ControlGet, hC...
by jeeswg
Today, 12:30
Forum: AutoHotkey v2 Development
Topic: Object.HasValue/Contains/KeyOf/FindValue
Replies: 32
Views: 2124

Re: Object.HasValue/Contains/KeyOf/FindValue

- My current preferred solution: 0 = bool [default] 1 = first key name as an array n = first n key names as an array -1 = all key names as an array s = first key name as a string [perhaps] f = first key name as a string [perhaps] c = count as a number [perhaps] - Other option possibilities: - case s...
by jeeswg
Today, 10:18
Forum: Offtopic
Topic: opinions on Stack Overflow
Replies: 44
Views: 6747

Re: opinions on Stack Overflow

nnnik, in this thread, and guest3456, elsewhere, mentioned a forum/FAQ distinction. I couldn't find any information about a distinction anywhere, other than this link, which suggests an FAQ is still a forum, but where the questions face tougher hurdles. FAQs vs. Forums. What's the difference between...
by jeeswg
Today, 09:55
Forum: About This Community
Topic: Tips for using the forum.
Replies: 7
Views: 2149

Re: Tips for using the forum.

It's a meme, that's all. It's funny to have a chance to legitimately use the phrase in a sentence. Good idea to put the thread here. I wasn't sure whether it was more forum-y or tutorial-y. Thanks.
by jeeswg
Today, 09:46
Forum: About This Community
Topic: Tips for using the forum.
Replies: 7
Views: 2149

Re: Tips for using the forum.

Uh oh, joedf ... 'You reposted in the wrong neighborhood'.
Hehe. Forum Issues / Tutorials / About This Community. All good neighbourhoods. Cheers.
by jeeswg
Today, 08:05
Forum: Ask For Help
Topic: huawei calculation Topic is solved
Replies: 4
Views: 367

Re: huawei calculation Topic is solved

- Here's a way. q:: ;list to table 'by columns' (specify row count) vText := "8f 43 ae 1a 33 19 c6 49 cc 57 40 8b 6a 39 2d 6b" vNum := 4 ;row count vSep := " " oArray := StrSplit(vText, " ") vOutput := "" vIndex := 1 Loop, % oArray.Length() { vOutput .= oArray...
by jeeswg
Today, 05:57
Forum: Ask For Help
Topic: How to use controls sharing same ClassNN?
Replies: 6
Views: 95

Re: How to use controls sharing same ClassNN?

- It may be that the fields are part of the same control, and that the Edit control only appears when you a field is focused (ready to type something in). This is true in Explorer, only when you are renaming a file, does an Edit control appear. - So a possible solution would be to use ControlClick o...
by jeeswg
Yesterday, 20:24
Forum: Ask For Help
Topic: notation: parameter could be a variable or an object
Replies: 4
Views: 80

Re: notation: parameter could be a variable or an object

- See JEE_MenuGetText/JEE_MenuGetTextAll, here: GUIs via DllCall: get/set internal/external control text - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=6&t=40514 - For example, it's good to be able to specify the hWnd for menu bars, or an hMenu for a visible context menu (e...
by jeeswg
Yesterday, 17:07
Forum: Bug Reports
Topic: A_DDD = Sa
Replies: 8
Views: 143

Re: A_DDD = Sa

- I had considered doing something like that before, but hadn't really had the need. - Two things. One, it's a template, if you want to use some variant text for weekdays/months, e.g. fewer/more letters, or capitalisation. Two, it's a template, if you want to use more than one language in your scrip...
by jeeswg
Yesterday, 16:43
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3706
Views: 387030

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

@jballi: Subpixels look so cool.

Hilarious Yearbook Quotes That will make you laugh - YouTube
https://www.youtube.com/watch?v=Q483SBG3S4o
by jeeswg
Yesterday, 15:22
Forum: Ask For Help
Topic: notation: parameter could be a variable or an object
Replies: 4
Views: 80

notation: parameter could be a variable or an object

- Sometimes when I'm writing a function, or elsewhere, I have a parameter that could be a variable or an object. - One of the most obvious examples of this is an object loop. I usually use 'vValue', expecting a string/number, but it could be an object. for vKey, vValue in oArray vOutput .= vKey &quo...
by jeeswg
Yesterday, 14:40
Forum: Tutorials
Topic: jeeswg's benchmark tests
Replies: 43
Views: 1239

Re: jeeswg's benchmark tests

STRINGS: SUBSTR: CROP FIRST CHARACTER V. CROP LAST CHARACTER - SubStr(vText, 2) v. SubStr(vText, 1, -1) In the example below, cropping the last character was roughly 7 times faster. q:: ;crop first character v. crop last character oArray := [] vNum := 10000 vLen := 100000 VarSetCapac...
by jeeswg
Yesterday, 02:30
Forum: AutoHotkey v2 Development
Topic: a_iscompiled v2a082+
Replies: 4
Views: 130

Re: a_iscompiled v2a082+

I think you're right. This returns true: MsgBox(IsObject(A_IsCompiled)) . ;results where obtained with an *uncompiled* script ;tested on AHK v2a082-fffc60d MsgBox(a_iscompiled) ;blank MsgBox(A_IsCompiled) ;blank MsgBox(StrLen(a_iscompiled)) ;0 MsgBox(StrLen(A_IsCompiled)) ;0 MsgBox(a...
by jeeswg
19 Jan 2018, 15:29
Forum: Tutorials
Topic: jeeswg's benchmark tests
Replies: 43
Views: 1239

Re: jeeswg's benchmark tests

- The most practical solution, I think, everything considered, is this: - We move this thread to a different forum, Scripts and Functions perhaps. - It's too early to try to make this a 'tidy' thread, the posts will be being changed and added to for some time to come. - At some future date, I could ...
by jeeswg
19 Jan 2018, 14:36
Forum: Tutorials
Topic: jeeswg's benchmark tests
Replies: 43
Views: 1239

Re: jeeswg's benchmark tests

- I do benchmark tests to *save* time. You're welcome to convert them all to that style, combining them in one post. But seriously though, well done, that's a great example. Thanks nnnik. - More and more though, I'm thinking that the examples should either be in separate posts, or in one massive pos...
by jeeswg
19 Jan 2018, 13:23
Forum: Ask For Help
Topic: objects: hierarchies: listing/comparing objects
Replies: 7
Views: 133

Re: objects: hierarchies: listing/comparing objects

- Many thanks for the links Helgef. I'd probably have to simplify the 3 scripts to get any code that lists the keys/values. More stuff for the to-do list, it's so long now. - Re. circular references, I asked about them on the other thread, any good threads relating to them? I've come across almost e...
by jeeswg
19 Jan 2018, 08:52
Forum: Ask For Help
Topic: objects: hierarchies: listing/comparing objects
Replies: 7
Views: 133

Re: objects: hierarchies: listing/comparing objects

- Well, I had a go at a function, it seems to be working pretty well. - Many thanks to GeekDude, for his 'array defined like JSON text' example, that I was lucky enough to come across the other day, which I used as the basis for the example below, used for testing the function. (I removed the OTB st...
by jeeswg
19 Jan 2018, 07:39
Forum: Ask For Help
Topic: objects: hierarchies: listing/comparing objects
Replies: 7
Views: 133

Re: objects: hierarchies: listing/comparing objects

- Anyone? I'd be interested in multiple scripts for listing object keys/values, for the following reasons. - A lot of the more complicated scripts I use involve hierarchies, and I'm wanting to try and streamline all of my hierarchy/recursion/family tree/ancestry scripts to work within one model, and...
by jeeswg
19 Jan 2018, 05:05
Forum: Ask For Help
Topic: object classes: redefine __Set() temporarily / general queries
Replies: 35
Views: 761

Re: object classes: redefine __Set() temporarily / general queries

CUSTOM CLASSES V. FUNCTIONS (ADDENDUM) - Yes, now is not the time for the classes v. functions debate. I'll mention it to people now, and then, after a year, people will start to realise the truth of what I'm saying and at least halfway agree with me. - One would hope that the cleverer one is at usi...
by jeeswg
19 Jan 2018, 03:45
Forum: Ask For Help
Topic: traditional for loop: for i = a to b (step c) possibilities
Replies: 5
Views: 89

traditional for loop: for i = a to b (step c) possibilities

- I have been thinking about traditional for loops, and the best way to achieve them, since I first started using AutoHotkey. It was the one killer feature that Excel macros had, that AutoHotkey did not. - While thinking about what the very best function/object solution might be (see the links lower...

Go to advanced search