Search found 112 matches

by MasterFocus
02 Feb 2014, 18:29
Forum: Offtopic
Topic: Rosetta Code
Replies: 215
Views: 59759

Re: Rosetta Code

" Twelve Statements " done. Will upload it to Rosetta Code later. ; Note: the original puzzle provides 12 statements and starts with ; "Given the following twelve statements...", so the first statement ; should ignore the F[1] flag and always be true (see "( N == 1 )"). S := 12 ; number of statement...
by MasterFocus
01 Feb 2014, 11:22
Forum: General Discussion
Topic: A Github organisation for ahkscript
Replies: 211
Views: 127680

Re: A Github organisation for ahkscript

https://trello.com/ahkscript
Didn't know about that. May I be added to that one as well? :)
by MasterFocus
01 Feb 2014, 10:59
Forum: Offtopic
Topic: Rosetta Code
Replies: 215
Views: 59759

Re: Rosetta Code

Thank for the feedback, AlphaBravo.
Interesting point, I didn't think about that.
Oh, the x,0yyy not considering 0yyy as yyy can be solved by simply doing what I did: B := SubStr(...) + 0
I will tweak my code (perhaps make it a bit more readable) and edit the task later.
by MasterFocus
31 Jan 2014, 16:04
Forum: Gaming
Topic: Simple script problem - combo keys Topic is solved
Replies: 2
Views: 3212

Re: Simple script problem - combo keys Topic is solved

Please use code tags (see the "Code" button) when posting code. You could try checking if Shift is held down. Something like this (untested) : *$WheelDown:: If !GetKeyState("LShift","P") { ; ignore if left shift is not held down Send, {Blind}{WheelDown} Return } MsgBox, % "You just used LShift+Wheel...
by MasterFocus
31 Jan 2014, 12:13
Forum: Offtopic
Topic: Rosetta Code
Replies: 215
Views: 59759

Re: Rosetta Code

@AlphaBravo: For the Kaprekar thing, "under 10000" should be "until 10000". (if you use 9999 as the limit, it says "under 9999", which is incorrect) Also, you're doing StrLen(Num) when I suppose it should be StrLen(NumSqr) . Here's another approach (which, just out of curiosity, works for AHK 1.0 a...
by MasterFocus
30 Jan 2014, 12:47
Forum: General Discussion
Topic: A Github organisation for ahkscript
Replies: 211
Views: 127680

Re: A Github organisation for ahkscript

I'm kinda late here, but I'd like to be added as well. Same nickname, easy to find.
by MasterFocus
30 Jan 2014, 12:06
Forum: Offtopic
Topic: Rosetta Code
Replies: 215
Views: 59759

Re: Rosetta Code

Van der Corput sequence GUI/Maximum window dimensions (I just used the example from the SysGet docs for this one) Awww I had a Van der Corput code here! Shouldn't have postponed it... :lol: ( but your code is smaller 8-) ) Glad to see so much effort from you guys in contributing to this! :) AFAIK, ...
by MasterFocus
30 Dec 2013, 16:07
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4346
Views: 1034145

Re: « What's on your mind? »

Quick heads up: I'm alive. ;)

It's been a terribly tough and busy end of the year.
I'll have to spend January dealing with some ontology stuff, but I'll try to get back to my AHK routine as well.

Anyway, just stopping by to wish you all a happy new year! :mrgreen:
by MasterFocus
13 Nov 2013, 20:41
Forum: Offtopic
Topic: « What's on your mind? »
Replies: 4346
Views: 1034145

Re: « What's on your mind? »

joedf wrote:Also, Muhhhahah i cheated for : http://orteil.dashnet.org/cookieclicker/
... ... javascript ... ...
Using Cheat Engine would probably work as well.
by MasterFocus
06 Nov 2013, 22:31
Forum: Forum Issues
Topic: Hello
Replies: 13
Views: 4848

Re: Hello

Here's something related that worked back when autohotkey.com was a phpBB forum: http://www.autohotkey.com/board/topic/8 ... rum-style/
by MasterFocus
27 Oct 2013, 22:10
Forum: Offtopic
Topic: Missing posts
Replies: 8
Views: 3804

Re: Missing posts

Depends on when you posted them. If it was sometime before or after that last forum maintenance, it's GoDaddy's fault.
by MasterFocus
26 Oct 2013, 02:27
Forum: Ask For Help
Topic: Centre Gui to desktop
Replies: 11
Views: 4326

Re: Centre Gui to desktop

This is what you missed: l_X:=InStr(p_Pos,"LEFT",0) ? 0 : InStr(p_Pos,"RIGHT",0) ? A_ScreenWidth-l_W+offX : (A_ScreenWidth-l_W)/2 l_Y:=InStr(p_Pos,"TOP",0) ? 0 : InStr(p_Pos,"BOTTOM",0) ? A_ScreenHeight-l_H+offY : (A_ScreenHeight-l_H)/2 The colored parts are the possible values for each variable. No...
by MasterFocus
23 Oct 2013, 01:05
Forum: Ask For Help
Topic: Centre Gui to desktop
Replies: 11
Views: 4326

Re: Centre Gui to desktop

by MasterFocus
22 Oct 2013, 23:20
Forum: Ask For Help
Topic: Centre Gui to desktop
Replies: 11
Views: 4326

Re: Centre Gui to desktop

gregster wrote:You are currently using A_screenwidth for determing both offsets!?
Indeed! I didn't notice that.
by MasterFocus
22 Oct 2013, 22:59
Forum: Ask For Help
Topic: Centre Gui to desktop
Replies: 11
Views: 4326

Re: Centre Gui to desktop

Use Window Spy to retireve the ahk_class of the Taskbar itself (I forgot it).
Then, retrieve its height via WinGet.
This way, you'll be able to calculate the correct position.
by MasterFocus
22 Oct 2013, 22:21
Forum: Ask For Help
Topic: Centre Gui to desktop
Replies: 11
Views: 4326

Re: Centre Gui to desktop

MonitorWorkArea [, N]: Same as the above except the area is reduced to exclude the area occupied by the taskbar and other registered desktop toolbars.
http://www.autohotkey.com/docs/commands/SysGet.htm
by MasterFocus
22 Oct 2013, 03:06
Forum: Scripts and Functions
Topic: htopmini v0.8.3
Replies: 79
Views: 25815

Re: htop mini ?!

Yes but those other tools you mentioned may consume more CPU/mem, and I'm not if they're portable (Desktop Info is fully portable as it doesn't have to be installed).

Oh, I just noticed: htopmini's uptime doesn't show the days (my PC's current uptime is ~25h and the script shows ~1h).
by MasterFocus
22 Oct 2013, 02:57
Forum: Scripts and Functions
Topic: htopmini v0.8.3
Replies: 79
Views: 25815

Re: htop mini ?!

Reposting some stuff: [1] Thanks once again jNizM for ths nice script. I'll keep an eye on this thread. :) [2] If I ever get back to developing " htopmicro " or anything like that, I promise I won't hijack this thread. ;) [3] Here's a related program I have discovered recently and has currently reti...
by MasterFocus
22 Oct 2013, 02:56
Forum: Other Utilities & Resources
Topic: Desktop Info 1.20 by Glenn Delahoy
Replies: 6
Views: 4909

Desktop Info 1.20 by Glenn Delahoy

Desktop Info Windows: 2000/XP/Vista/2003/2008/Win7 This little application displays system information on your desktop in a similar way to some other desktop information tools. Unlike others, this application looks like wallpaper but stays resident in memory and continues to update the display in r...
by MasterFocus
22 Oct 2013, 02:21
Forum: Scripts and Functions
Topic: [Function] Generate permutations in lexicographic order
Replies: 9
Views: 3648

Re: [Function] Generate permutations in lexicographic order

The current version of my FloatToFraction() function can be found here: www.autohotkey.com/board/topic/86320-floattofraction
I will upload any modifications I eventually make in a few weeks, when I (hopefully) get some time.

Go to advanced search