| Author |
Message |
Forum: Suggestions Topic: Suggestion for the tutorial in the help - script structure |
| Piz |
|
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 |
| Piz |
|
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 |
| Piz |
|
Posted: April 18th, 2008, 1:39 pm
|
|
Replies: 8 Views: 1009
|
|
 |
Forum: Suggestions Topic: Allow Functions in Addition to Labels for Timers, Etc. |
| Piz |
|
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 |
| Piz |
|
Posted: April 17th, 2008, 1:30 pm
|
|
Replies: 3 Views: 717
|
|
 |
Forum: Offtopic Topic: Moderators & Administrators |
| Piz |
|
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? |
| Piz |
|
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? |
| Piz |
|
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.
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 |
| Piz |
|
Posted: April 7th, 2008, 2:18 pm
|
|
Replies: 4 Views: 764
|
|
 |
Forum: Offtopic Topic: U3 for AHK? |
| Piz |
|
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 |
| Piz |
|
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? |
| Piz |
|
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? |
| Piz |
|
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 |
| Piz |
|
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? |
| Piz |
|
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: |