AutoHotkey Community

It is currently May 23rd, 2012, 4:28 am

All times are UTC [ DST ]


Search found 43 matches
Search these results:

Author Message

 Forum: Suggestions   Topic: Suggestion for the tutorial in the help - script structure

Posted: April 29th, 2008, 4:59 pm 

Replies: 4
Views: 1004


It still needs to be at the top of the script, but it can also be explicitly called via gosub. The autoexecute section doesn't have to be at the top of the script. Any code found anywhere outside function definitions will be executed (unless gosubs/gotos cause the code to be bypassed). For example,...

 Forum: Suggestions   Topic: Improving Automation feature with On Event commands

Posted: April 19th, 2008, 8:29 pm 

Replies: 8
Views: 1009


I like the idea as well. Some of them seem like they might be tough to implement, though. For example, how would On File handle network files? I'm not sure even what On File would do exactly, but assuming that from the code's perspective there's no difference between network files and local files,*...

 Forum: Suggestions   Topic: Improving Automation feature with On Event commands

Posted: April 18th, 2008, 1:39 pm 

Replies: 8
Views: 1009


I really like this idea. It also reminded me of something I've been meaning to request.

 Forum: Suggestions   Topic: Allow Functions in Addition to Labels for Timers, Etc.

Posted: April 18th, 2008, 1:34 pm 

Replies: 6
Views: 1402


I would like to see the ability to use functions in addition to labels for setTimer and anywhere else labels can be specified as target code to be invoked, with a standard list of parameters that will be passed to the function when it's called. Currently, every time I set a target label all I do is ...

 Forum: Support   Topic: Bug within IF

Posted: April 17th, 2008, 1:30 pm 

Replies: 3
Views: 717


sasaa wrote:
Oberon wrote:
This is the expected result; for non-expresson if statements the right hand side operator is a string. See FAQ: When exactly are variable names enclosed in percent signs?

ARRGH! :lol:

ARRGH indeed. That's why I always use parens in my IF statements.

 Forum: Offtopic   Topic: Moderators & Administrators

Posted: April 16th, 2008, 5:24 pm 

Replies: 29
Views: 2636


I'll take a title if anyone's offering. Make it Most High Grand Exalted Poobah-for-Life. (The bold, italics, and color are required whenever it's used. If you like, write a hotstring to make things easier - I'm a reasonable man.)

Just the title, though. None of the responsibility.

 Forum: Offtopic   Topic: U3 for AHK?

Posted: April 8th, 2008, 1:27 am 

Replies: 5
Views: 555


Ian wrote:
Search is kind of...Well, I guess you could say specific. It won't search for anything under 3 length.

Ah, I should have thought of that, since it's a common thing on message boards and I use a lot of 'em.

 Forum: Offtopic   Topic: U3 for AHK?

Posted: April 7th, 2008, 2:41 pm 

Replies: 5
Views: 555


BoBo¨ wrote:

Yeah, I just found that, then saw yours when I came back here to say that I just found that. :wink:

Weird, though, that a search for "U3" turned up no matches, which is why I posted the question.

 Forum: Suggestions   Topic: A_ variables as setters (+ getters) to replace Set* commands

Posted: April 7th, 2008, 2:18 pm 

Replies: 4
Views: 764


+1

 Forum: Offtopic   Topic: U3 for AHK?

 Post subject: U3 for AHK?
Posted: April 7th, 2008, 2:09 pm 

Replies: 5
Views: 555


Has anyone explored the possibility of making AHK and/or it's scripts U3 compatible?

 Forum: Suggestions   Topic: LOCAL Syntax Change

Posted: March 24th, 2008, 6:21 pm 

Replies: 2
Views: 612


This may breake any script: b=2 t() MsgBox %b% t() { GLOBAL LOCAL a := b := 1 } In this example "a" would created as a "local" getting the content of "b", which is "1" and what you want. But don`t forget about that "b", whi...

 Forum: Offtopic   Topic: Is This Use of Brace Indentation Discouraged?

Posted: March 24th, 2008, 2:47 am 

Replies: 38
Views: 2591


I can't stand OTB. I agree. I find it much more difficult to read. My rationale for the way I use braces and other block delimiters (such as BEGIN/END in Pascal - not that I've used Pascal lately ;)) comes from the notion that the delimiters belong to the block and not to the "containing"...

 Forum: Offtopic   Topic: Is This Use of Brace Indentation Discouraged?

Posted: March 24th, 2008, 2:16 am 

Replies: 38
Views: 2591


1) Comment always. A great place for comments is the opening brace in OTB style. Do you mean non-OTB? I don't like to comment next to OTB style braces as it seems to obscure them. 2) Don't forget to Return. A nice place for Return is immediately following the closing brace of a block. I think it is...

 Forum: Offtopic   Topic: Script attribution etiquette, copyright and licensing issues

Posted: March 24th, 2008, 12:12 am 

Replies: 48
Views: 4308


So we came up to GNU General Public License (GPL). Public Domain (PD) means, that everyone can use the code without the need of credit him/her. That is something, which I dont like. I always license my codes (if not trivial) under the GPL. To me, a precise credit in source is a must have. Who gives...

 Forum: Offtopic   Topic: Is This Use of Brace Indentation Discouraged?

Posted: March 23rd, 2008, 11:12 pm 

Replies: 38
Views: 2591


I developed my own style which I call OTIS ™ - the O ne T rue I ndentation S tyle. It violates a whole bunch of Guest's rules, so he wouldn't like it at all. But it's consistent, easy to read (IMNSHO), and works unchanged for every language I've ever used - in the approximately 25 years I've been us...
Sort by:  
Page 1 of 3 [ Search found 43 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group