Search found 146 matches

by oldbrother
17 Aug 2018, 14:37
Forum: Ask For Help
Topic: need help with something that im sure is fairly simple
Replies: 3
Views: 62

Re: need help with something that im sure is fairly simple

Just for fun: WordList= ( apple orange banana apple orange apple banana ) CountWord := Object() Loop, parse, WordList, `n { if (CountWord[A_LoopField] >=1) CountWord[A_LoopField] +=1 else CountWord[A_LoopField] :=1 } Result :="" For word, V in CountWord Result .= word . " - " . V...
by oldbrother
17 Aug 2018, 10:50
Forum: Ask For Help
Topic: Chrome blocks the installer downloading
Replies: 1
Views: 36

Chrome blocks the installer downloading

I tried to download the new AHK installer, but Chrome blocked the downloading.

What's wrong, and what should I do?

Snap1.jpg
(145.02 KiB) Not downloaded yet

Image
by oldbrother
08 Jun 2018, 10:41
Forum: Ask For Help
Topic: Is it possible to make a gantt chart app with AHK?
Replies: 4
Views: 145

Re: Is it possible to make a gantt chart app with AHK?

Thank you swagfag and toralf.

Have a nice weekend!
by oldbrother
07 Jun 2018, 10:19
Forum: Ask For Help
Topic: Is it possible to make a gantt chart app with AHK?
Replies: 4
Views: 145

Is it possible to make a gantt chart app with AHK?

Is it possible to make a gantt chart app with AHK?

Something like this:
http://www.treegrid.com/Gantt

Thanks,
by oldbrother
29 May 2018, 08:02
Forum: Scripts and Functions
Topic: ObjectSort()
Replies: 3
Views: 319

Re: ObjectSort()

Thanks for sharing!
by oldbrother
07 Mar 2018, 11:50
Forum: Ask For Help
Topic: Confused with For Loop and Object. Please help
Replies: 0
Views: 95

Confused with For Loop and Object. Please help

Here is my example code: I suppose to get value "E", but I got "45". Why? :? TestObject := Object() Value :=0 loop 10 { i := A_index loop 10 { j:=A_Index Value ++ TestObject[i,j] := Value } } for i, L in TestObject { NewV := ["A","B","C","D"...
by oldbrother
17 Feb 2018, 14:54
Forum: Ask For Help
Topic: Please help on RegExMatch
Replies: 3
Views: 192

Re: Please help on RegExMatch

Thank you very much!☀
by oldbrother
16 Feb 2018, 11:25
Forum: Ask For Help
Topic: Please help on RegExMatch
Replies: 3
Views: 192

Please help on RegExMatch

I have text files using "`r`n" for new lines. I need to use RegExMatch() to find some text, but my code is not working. Am I missing something? Here is my sample code: STR = Somestring`r`n<START>`r`nText1`r`nText2`r`nText3`r`n<END>`r`nTEST StartStr = ^<START> EndStr = <End>$ if (RegExMatch...
by oldbrother
20 Jan 2018, 06:50
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 31
Views: 4398

Re: AHK源代码加密器 v1.5

xiexie!!!!
by oldbrother
14 Jan 2018, 08:09
Forum: Announcements
Topic: Preview of v1.1.28.00
Replies: 8
Views: 1599

Re: Preview of v1.1.28.00

Thanks a lot! Where is the installer download link?
by oldbrother
26 Dec 2017, 06:33
Forum: Scripts and Functions
Topic: TreeList Control (Experimental)
Replies: 20
Views: 1319

Re: TreeList Control (Experimental)

I'm using Surface book, the screen resolution is 3000:2000, I have to use screen scale 250%, otherwise the fonts will be too small to see. With -DPISCALE, the GUI shows like this:

Capture.JPG
Capture.JPG (74.59 KiB) Viewed 1046 times


Capture1.JPG
Capture1.JPG (75.37 KiB) Viewed 1043 times
by oldbrother
21 Aug 2017, 15:08
Forum: Announcements
Topic: [closed][POLL] Commissions sub-forum
Replies: 107
Views: 9839

Re: [POLL] Commissions sub-forum

wolf_II wrote:How can I change my vote from earlier?


+1. I changed my vote to "I don't want ..."
by oldbrother
22 Jul 2017, 09:44
Forum: Bug Reports
Topic: Bug with ACos and ASin
Replies: 8
Views: 736

Re: Bug with ACos and ASin

SetFormat seems cannot solve the problem. nnnik, with your modified code, the first msgbox still gets blank Ang1 and Ang2. My working around is C:= Round(C,10) The real reason is A-B = 8.5-8.26 = 0.240000000000000 21 00000 Oldbrother , the bug is in your code, you are calling the function with inval...
by oldbrother
22 Jul 2017, 08:33
Forum: Bug Reports
Topic: Bug with ACos and ASin
Replies: 8
Views: 736

Re: Bug with ACos and ASin

l know the reason, and I know the ways walking round, but I just think these kinds of bugs are better be fixed at the bases.
by oldbrother
22 Jul 2017, 05:40
Forum: Bug Reports
Topic: Bug with ACos and ASin
Replies: 8
Views: 736

Bug with ACos and ASin

Please see the test code below. C := A-B = 0.24 if C is calculated, both ACos and ASin are not working properly. If C is given 0.24, the results are ok. It looks like a serious bug for math functions. AHK.L 1.1.26.00 A:=8.5 B:=8.26 C:= A-B Ang1 :=ACos(C/0.240) Ang2 :=ASin(C/0.240) Msgbox % "c: ...
by oldbrother
19 Jul 2017, 13:34
Forum: Ask For Help
Topic: Please help. use loop to access class variables
Replies: 3
Views: 426

Re: Please help. use loop to access class variables

Thank you Kon!

Is there any reason that lexikos didn't make the syntax of my code working? should I add it to the wish list?
by oldbrother
19 Jul 2017, 12:07
Forum: Ask For Help
Topic: Please help. use loop to access class variables
Replies: 3
Views: 426

Please help. use loop to access class variables

Error message got from my code: Line Text : .X%A_Index% Error: Ambiguous or invalid use of "." How to make the loop work? The real class of my code has many variables. I need to use the loop. Test code: T := New TestClass(1,2,3,4,5) T.Test() Class TestClass { _New(X1,X2,X3,X4,X5) { This.X1...
by oldbrother
15 Jul 2017, 06:31
Forum: Ask For Help
Topic: Please help. a test class
Replies: 1
Views: 133

Please help. a test class

I was trying to run a method as soon as a class is created, but the value of the variables of the class will be lost. Is it normal? See the two test codes below: Regular code, everything is fine: A := New Test() A.DoSomeThing(22222) msgbox % A.V1 Class Test { V1:=1111 __new() { msgbox % This.V1 } Do...

Go to advanced search