 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Do you want an option for more AHK commands in the single line |
| I do |
|
50% |
[ 8 ] |
| I don't |
|
50% |
[ 8 ] |
|
| Total Votes : 16 |
|
| Author |
Message |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 13, 2006 1:08 pm Post subject: |
|
|
| PhiLho wrote: | | Note that multi-statement works only for expressions, not for commands. | Which I think is fine. I like compact code too, but commands are normally quite long. Thus no need to concatenate them.
In very few cases this multi-statement for expressions will have a nice feature though. If you have a 2d matrix, you can order the operations in 2d if the expressions are short and the dimension of the matrix is not too large. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
aydc
Joined: 12 Dec 2006 Posts: 15
|
Posted: Wed Dec 13, 2006 1:14 pm Post subject: |
|
|
| I don't know how people can be against having an option. It will not be compulsory, no one will put a gun to your head to write two commands on a single line. All we want is the option to do it if we want. How can someone justify being against it? |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 13, 2006 1:17 pm Post subject: |
|
|
Because R&D time is limited and other features have higher priority in my opinion.
AND BTW: We are not against it, we just don't want/need it. There is a difference. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Wed Dec 13, 2006 1:32 pm Post subject: |
|
|
As toralf said: the feature seems simple, but it is harder to implement than it seems, since lot of commands accept any string as last parameter. Of course, one can still escape the command separator, which complicates again the code to implement it.
And note that people share code here. I would find annoying if lot of people start to put mile long lines of code in this forum. Of course, I have the option not to use this code, or not to try to modify it, yet that limit my possibilities.
Now, it doesn't mean everybody will abuse of this facility. I hope so.
No problem if Chris implements it, but I don't think it should get a high priority. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3644 Location: Belgrade
|
Posted: Wed Dec 13, 2006 1:44 pm Post subject: |
|
|
| toralf wrote: | | Read the manual! It is available now: | Not nice, this kind of behavior is why I hesistate to ask sometimes, its very malitious.
| aydc wrote: | | How can someone justify being against it? |
No, it can't. The problem is here that Chris is very busy, you can guess why.
| toralf wrote: | | We are not against it, we just don't want/need it. There is a difference. | Hm.... hate to see good ppl turning bad.... whats wrong toralf, get up on wrong foot today ?
| toralf wrote: |
| Philho wrote: | | Note that multi-statement works only for expressions, not for commands. |
Which I think is fine. I like compact code too, but commands are normally quite long |
Not generaly, but I would like to say that they are more long then short.
Indeed, the most sense currently makes for expressions.
2aydc
You can use function library that supplay functions for all commands. Its ugly for purists, as you are doing double call for eatch command, but then it will make you convert all to expressions and use delimiter everywhere.
2 Chris
There are not so many commands currently. How much of the job would be to supply function alternatives for all of them, and to keep that practice in the future ? Don't freek out, just a curiosity question...
One more thing - Thanks for the comma and everything else, I just saw Great job. _________________
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 13, 2006 2:33 pm Post subject: |
|
|
| majkinetor wrote: | | Not nice, this kind of behavior is why I hesistate to ask sometimes, its very malitious. | I'm a bit upset with your responce:
1) My responce was to to the way his post was written. 2) It was an old topic which should require to look if things have changed. 3) If you ask kindly it is ok, but he didn't. Please re-read his post.
| Quote: | | The problem is here that Chris is very busy, you can guess why. | What do you want imply with this statement?
| Quote: | | Hm.... hate to see good ppl turning bad.... whats wrong toralf, get up on wrong foot today ? | Why have I turned bad? You were one of the people mentioning unfair dialectic, this is one form of it. So, please stop it.
| Quote: | | Not generaly, but I would like to say that they are more long then short. Indeed, the most sense currently makes for expressions. | Nice that we can agree on this. And to take that idea further it makes less sence (I'm not saying it doesn't make sence or that it is wrong) to add it for commands. Right? Just applying logic. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3644 Location: Belgrade
|
Posted: Wed Dec 13, 2006 4:07 pm Post subject: |
|
|
| Quote: | | 1) My responce was to to the way his post was written. |
nothing wrong with his post
| Quote: | | 2) It was an old topic which should require to look if things have changed. |
Not so old topic
| Quote: | | What do you want imply with this statement? |
That Chris is busy.
And that insisiting on adding this for commands is useless as bunch of more important things have to be added, now that he added it for expressions. I also didn't see it up to day.
| Quote: | | Why have I turned bad? You were one of the people mentioning unfair dialectic, this is one form of it. So, please stop it. |
What was unfair dialectic in his statements ? He basicly said that other languages support unconditiaonly and he would like that, nothing unfair in that. It doesn't start from false premise.
Not a big deal anyway, you just did sound very harsh to me. And you know that I don't have much problems with ppl being harsh, I just don't like to see it without any reason at all... well, it seems you had your reasons... _________________
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Dec 13, 2006 4:38 pm Post subject: |
|
|
| majkinetor wrote: | | Quote: | | Why have I turned bad? You were one of the people mentioning unfair dialectic, this is one form of it. So, please stop it. |
What was unfair dialectic in his statements ? He basicly said that other languages support unconditiaonly and he would like that, nothing unfair in that. It doesn't start from false premise. | It was not his post but your statement. It remainds me on Schopenhauers trick 16. By stateing: | Quote: | | Hm.... hate to see good ppl turning bad.... whats wrong toralf, get up on wrong foot today ? | you imply that I argued "evily/wrong" while in that past I were on the "good/correct" side of the subject. And that I'm in a bad mood and maybe not clear in my head. You attacted me personally and not on the subject.
Don't get me wrong I'm not offended, but I do not like it. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3644 Location: Belgrade
|
Posted: Wed Dec 13, 2006 5:54 pm Post subject: |
|
|
| Quote: | | you imply that I argued "evily/wrong" while in that past I were on the "good/correct" side of the subject. |
When did I mention the subject ? I ment generaly and thats why I said "today". The man ment no harm, some ppl just like to state their opinions with more passion then others....
| Quote: | | And that I'm in a bad mood and maybe not clear in my head. | Well, maybe, it seemed so to me. There is nothing wrong to be in the bad mood or not to be clear in head. Its wrong to radiate your negative energy on others.
| Quote: | | Don't get me wrong I'm not offended, but I do not like it. |
U shouldn't be offended, and you shouldn't like it, that was the point. _________________
 |
|
| Back to top |
|
 |
aydc
Joined: 12 Dec 2006 Posts: 15
|
Posted: Thu Dec 14, 2006 5:41 am Post subject: |
|
|
Guys, this is not the way to argue professionally. Let's keep it on topic and not personal.
As I see it, around 50% or people want to have this option and the other 50% don't. My take is, if half of the users of a program want something, it should be implemented. That's all I'm gonna say about this. It's up to Chris now. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|