Search found 404 matches

by derz00
03 Feb 2018, 17:13
Forum: Offtopic
Topic: Code Puzzle Thread
Replies: 88
Views: 9935

Re: Code Puzzle Thread

This puzzle strikes my interest, but only in that I would like to learn more about classes. So I can't solve it :(
by derz00
30 Jan 2018, 12:26
Forum: Ask For Help
Topic: What do YOU use AHK for?
Replies: 24
Views: 504

Re: What do YOU use AHK for?

I remap keys for specific programs
Automate annoyingly cumbersome external GUI's
Creating GUI based productivity scripts and custom tools.
by derz00
30 Jan 2018, 09:56
Forum: AutoHotkey v2 Development
Topic: objects: backport AHK v2 Gui/Menu classes to AHK v1
Replies: 19
Views: 291

Re: objects: backport AHK v2 Gui/Menu classes to AHK v1

Why hasn't this happened yet? Probably because both Gui and Menu objects are relatively quite new. But that would be a good idea. I would like a GUI obj wrapper for v1 but not for compatibility reasons. Here's a start by RUNIE actually. https://github.com/Run1e/AHK-ImgurAPI/tree/master/gui
by derz00
29 Jan 2018, 13:45
Forum: AutoHotkey v2 Development
Topic: objects: backport AHK v2 Gui/Menu classes to AHK v1
Replies: 19
Views: 291

Re: objects: backport AHK v2 Gui/Menu classes to AHK v1

Hello you two.

Very nice Helgef. One would think that would have been obvious sooner.

@nnnik, like your automatic init example here? https://autohotkey.com/boards/viewtopic ... 44#p175344
by derz00
29 Jan 2018, 11:56
Forum: AutoHotkey v2 Development
Topic: objects: backport AHK v2 Gui/Menu classes to AHK v1
Replies: 19
Views: 291

Re: objects: backport AHK v2 Gui/Menu classes to AHK v1

Alright, your example works now. I thought I had tried it by changing the global's position. I guess not. But again, I would definitely recommend using properties over the meta-function style. But maybe you're intending to save code space. This might be possible to do, but would be less-than-ideal d...
by derz00
29 Jan 2018, 11:28
Forum: AutoHotkey v2 Development
Topic: objects: backport AHK v2 Gui/Menu classes to AHK v1
Replies: 19
Views: 291

Re: objects: backport AHK v2 Gui/Menu classes to AHK v1

Interesting. FYI the A_TrayMenu example didn't work for me. It's a tested example? I'll do more troubleshooting. Edit : I'm not sure why that didn't work. But this does for me, and looks better, too, I think. I added a default value, and a get method to be consistent with v2. I've never used propert...
by derz00
29 Jan 2018, 10:44
Forum: Ask For Help
Topic: object classes: redefine __Set() temporarily / general queries
Replies: 69
Views: 1417

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

Well, in Python there is only (but I'm not experienced enough to be able to say without exception ) one way to do any one thing. You can't use dot notation for dicts (equivalent of assoc arrays) to index keys. You can only get keys with dict[key] . And everything in general, other than dictionaries ...
by derz00
27 Jan 2018, 11:10
Forum: Ask For Help
Topic: object classes: redefine __Set() temporarily / general queries
Replies: 69
Views: 1417

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

boy, just looking at the last few posts makes me wonder at the complexity and confusion of AHK syntax vs Python :P
by derz00
26 Jan 2018, 09:11
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 33
Views: 2647

Re: Beginners OOP with AHK

Thanks for reading it. Did you have trouble understanding anything? Were there any parts that confused you? No, it all made sense to me. The concept of the this. reference is not new to me, so I can't really give feedback on your explanation. But it is one of the confusing parts of the syntax. Just...
by derz00
24 Jan 2018, 20:47
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 33
Views: 2647

Re: Beginners OOP with AHK

There, I read part 1. Time to celebrate.

derz00 slaps himself on the back sarcastically
by derz00
24 Jan 2018, 12:19
Forum: Ask For Help
Topic: SendMessage for the new help file of AutoHotkey
Replies: 8
Views: 147

Re: SendMessage for the new help file of AutoHotkey

@ozzii, you're best off to use the keypress Alt + n. That selects the index tab.
by derz00
23 Jan 2018, 14:58
Forum: Forum Issues
Topic: users don't use code tags
Replies: 15
Views: 427

Re: users don't use code tags

jeeswg wrote: people will wonder why it doesn't work!

Sure enough. :problem: How profoundly unfortunate.
by derz00
23 Jan 2018, 14:47
Forum: Forum Issues
Topic: users don't use code tags
Replies: 15
Views: 427

Re: users don't use code tags

Another option for demostrating code tags. [cod​e][/code​] [docs​][/docs] Using a zero width space or 2. Very fascinating. waetherman shared these hotstrings with me one time. :?*:thsp;;::{U+2009} ;thin space :?*:0nbsp;;::{U+00a0} ;zero width no-break space :?*:nbsp;;::{U+00a0} ;no-break space :?*:0...
by derz00
23 Jan 2018, 12:56
Forum: Scripts and Functions
Topic: object pointer to object variable name
Replies: 5
Views: 138

Re: object pointer to object variable name

Code: [Select all]GeSHi © Codebox Plus

q::
code := Clipboard
code := StrReplace(code, "if InStr(vText, "": Class object {address: "")", "if InStr(vText, "": Object object {address: "")")
Clipboard := code
ExitApp


Cheers.
by derz00
22 Jan 2018, 18:05
Forum: Scripts and Functions
Topic: MoveTogether()
Replies: 18
Views: 712

Re: MoveTogether()

I know. You have to download the gif. Dropbox doesn't play it. Here's a link to webm, if that's easier. https://preview.tinyurl.com/derz00Dropbox I don't know what's causing this problem... Seems to be a nice idea though. Edit : I found the problem: I was running the code in CodeQuickTester , that r...
by derz00
22 Jan 2018, 17:24
Forum: Scripts and Functions
Topic: MoveTogether()
Replies: 18
Views: 712

Re: MoveTogether()

Hey, this looked interesting, but didn't work very well.

https://tinyurl.com/y7vgkxk9 Dropbox doesn't play gifs but you can download
by derz00
22 Jan 2018, 09:17
Forum: Bug Reports
Topic: A_DDD = Sa
Replies: 11
Views: 272

Re: A_DDD = Sa

SL5 wrote: There are certainly more important thinks to do.

Right. :lol:

But probably this should be clarified in the documentation.
by derz00
20 Jan 2018, 18:07
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 343
Views: 56208

Re: Suggestions on documentation improvements

See this screen shot after changing the firefox default font to white. https://www.dropbox.com/s/6hoyger0s2u95 ... t.png?dl=0
by derz00
20 Jan 2018, 17:50
Forum: Ask For Help
Topic: notation: parameter could be a variable or an object
Replies: 5
Views: 134

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

for vKey, vValue in oArray vOutput .= vKey " " vValue "`r`n" if vValue was an object, why put it in a string? if it is a string, why not call it "Book_Title" or "File_Name" ? Usually I would name the variable after its contents. Or when golfing/cutting corner...
by derz00
20 Jan 2018, 17:33
Forum: Forum Issues
Topic: Code of conduct for staff
Replies: 10
Views: 248

Re: Code of conduct for staff

nnnik, you have shown strength of character. Those who deny faults or mistakes are the cowards. Like on AHKathon thread, where I got into an offtopic argument... \/\/aetherman, I would opine that nnnik's response in that thread was composed of the same dry humour with which you carried out your phil...

Go to advanced search