Search found 53 matches

by Raccoon
07 Sep 2020, 04:01
Forum: Wish List
Topic: Request: A_AhkBuildDate
Replies: 9
Views: 3704

Re: Request: A_AhkBuildDate

@SKAN thanks! :o
by Raccoon
18 Mar 2020, 05:14
Forum: Wish List
Topic: Request: A_AhkBuildDate
Replies: 9
Views: 3704

Re: Request: A_AhkBuildDate

Does that work without an internet connection?
by Raccoon
15 Mar 2020, 19:28
Forum: Wish List
Topic: Request: A_AhkBuildDate
Replies: 9
Views: 3704

Re: Request: A_AhkBuildDate

I should have elaborated. I want to know the date that A_AhkVersion was compiled (and uploaded to the Autohotkey website), from within my scripts. That is, I want to know old AutoHotkey v1.1.32.00 is. The Build Date of the AutoHotkey Software.
by Raccoon
13 Mar 2020, 19:14
Forum: Wish List
Topic: Request: A_AhkBuildDate
Replies: 9
Views: 3704

Request: A_AhkBuildDate

Request for the variable A_AhkBuildDate to compliment A_AhkVersion
Returns a human readable date when Autohotkey was built.

Also include this date in the Main Window titlebar, next to the version number.
by Raccoon
14 Mar 2019, 03:31
Forum: Off-topic Discussion
Topic: Test post, please reply. Topic is solved
Replies: 3
Views: 1738

Test post, please reply. Topic is solved

Testing the notifications. Someone reply to this message. Thanks.
by Raccoon
04 Mar 2019, 13:48
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

Any precedent for adding a rare-risk of a breaking change, and issuing a Request For Complaints to receive input for outrage? And explaining how to fix the break by wrapping parens around the entire if-expression (as it always has been recommended in the documentation)
by Raccoon
04 Mar 2019, 13:29
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

You keep SAYING it's a breaking change, but I require some sort of mental intellectual exchange to comprehend where you're coming from. Allow me to conclude that it's a breaking change for myself. parser scans through lines. parser finds "if" statement. parser looks for opening paren. parser waits f...
by Raccoon
04 Mar 2019, 13:23
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

What happens when we put the comma after the closing parenthesis? As in:

Code: Select all

if (true, false), msgbox true
making the parenthesis mandatory.
by Raccoon
04 Mar 2019, 12:21
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

nnnik wrote:
04 Mar 2019, 11:51

Code: Select all

if true,false {
	Msgbox Test
}
Is valid code in v1.
Can you explain what this does?
by Raccoon
03 Mar 2019, 14:54
Forum: Wish List
Topic: Remove block jumping restrictions on Goto and GoSub
Replies: 6
Views: 2435

Re: Remove block jumping restrictions on Goto and GoSub

I'm not saying that anything needs to be changed to how AHK interprets these things. It's WAAY better if break or continue behave in strange and sexy ways when you introduce a jump point, the same way you discover strange and sexy coding strategies in basic and assembly and a myriad of other languag...
by Raccoon
03 Mar 2019, 14:50
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

Can you give me a demonstration of how a person might use commas in the expression of an If? I never knew this worked
by Raccoon
03 Mar 2019, 07:24
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

No, it doesn't say it can be used like this, it's just confusing to me that it can't be. You're telling me that the parser is confused by how ifs work within proximity to expressions, even though this rendition of IF was written at the advent of expressions for the use with expressions, so it's full...
by Raccoon
03 Mar 2019, 07:05
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

So why would this work? And how is the parer confused by the if statement "for something other than it seems"? foo:=5, function(foo), bar:="baz", function(bar) As far as the help documentation goes, "if (1 = 1)" is known as an "expression if". So it's an expression just like any function or variable...
by Raccoon
03 Mar 2019, 06:55
Forum: Wish List
Topic: Remove block jumping restrictions on Goto and GoSub
Replies: 6
Views: 2435

Re: Remove block jumping restrictions on Goto and GoSub

Here's a simplified example; Sure there are other approaches for this example. I'm not saying there aren't. Not tested, so if I make an obvious bug, forgive it. #If GetKeyState("ScrollLock","T") Up:: Down:: Left:: Right:: hotkey_RapidFireMacro() { Static delay := 100, stop := false Loop { Send % A_T...
by Raccoon
03 Mar 2019, 06:45
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

Re: One Line If Statements

You say none of that will work with the current v1 parser, but don't go into any detail. Why wouldn't it? if (1 = 1), bar:=foo, baz:=bar, quux:=baz if (1 = 1) { bar:=foo, baz:=bar, quux:=baz } At the very least, these two styles should work. We already use the comma as a hard delimiter in classic an...
by Raccoon
02 Mar 2019, 23:20
Forum: Wish List
Topic: One Line If Statements
Replies: 56
Views: 27901

One Line If Statements

The limitations of If-condition formatting has bothered me for a very long time. Currently allowed: if (1 = 1) msgbox true if (1 = 1) { msgbox true } Please add support for some-or-all of the following: If (1 = 1) msgbox true If (1 = 1), msgbox true If (1 = 1) { msgbox true } If (1 = 1) then msgbox ...
by Raccoon
02 Mar 2019, 21:08
Forum: Wish List
Topic: Remove block jumping restrictions on Goto and GoSub
Replies: 6
Views: 2435

Re: Remove block jumping restrictions on Goto and GoSub

swagfag: In your example code, the expected behavior would be to Msgbox an undefined A_LoopField, fall through the closing brace, and then Goto Target again. Unless A_LoopField stays defined after the final iteration of Loop Parse's first round. Actually, I would extend my original request not only ...
by Raccoon
02 Mar 2019, 08:16
Forum: Wish List
Topic: Remove block jumping restrictions on Goto and GoSub
Replies: 6
Views: 2435

Remove block jumping restrictions on Goto and GoSub

So I know this sounds weird and the style of coding will upset anybody with an inkling proper top-down coding, but, what I'm requesting isn't entirely unuseful or without merit and precedence. Presently the commands Goto and GoSub prohibit jumping in and out of functions to labels that exist inside ...
by Raccoon
01 Mar 2019, 10:19
Forum: Ask for Help (v1)
Topic: Atan2 in code but not documented nor exposed? Topic is solved
Replies: 9
Views: 2786

Re: Atan2 in code but not documented nor exposed? Topic is solved

Here's a slow version for anyone who needs it. atan2(y,x) { ; y then x if (x > 0) return atan(y/x) if (x < 0) ; && (y <> 0) return atan(y/x) + 3.1415926535898 * ((y >= 0) ? 1.0 : -1.0) if (y <> 0) ; && (x = 0) return 1.5707963267949 * ((y >= 0) ? 1.0 : -1.0) return 0.0 } ; by Raccoon 2019

Go to advanced search