Jump to content

Recommended Posts

  • Replies 67
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Moderators
Posted

Notepad does not run .au3 files. Scite does that.

You mean you've never used Notepad to write AutoIT scripts before? For shame! :lmao:

I think it all stemmed from your initial comment here.

It implied (IMO) that he/she should stray from using a tool that works hand and hand with it's prospective language.

IMO again, choosing notepad to script for autoit, is like trying to race a moped in the indy 500, when a tool such as SciTe is available with all it's options.

I find it humorous to a point that people that 'have a choice', choose an editor that doesn't offer all it can to make the language that much easier not only to learn, but to 'Excel', and annoying at the same time, because these are the same people that have questions constantly or complain that something isn't working. There is absolutely nothing that comes to mind that notepad can do for the language AutoIt that SciTe can't do better with options. Does that mean I'm pushing it, or do I take advantage of every tool available to me to make my work 'easier' and more 'efficient'?

Personally, I don't think you've been with the language long enough to see the full benefit that you could have not only now, but for future use as well. Especially when Jdeb does such a nice job of keeping SciTe up to date with all the latest and newest beta information.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

@Othello - I learned AutoIt by getting Scite, opening it, typing every letter one at a time until I saw all the functions that were available (thanks to autocomplete), selecting functions that looked good and reading the Calltip associated with the function, and then going from there. If I ever got stuck with a certain function, I looked it up in the helpfile. There were some times where the Calltip couldn't hold enough information for me to know exactly what I would do with the function, and for the most part the helpfile covered all the holes.

I have never used Notepad to write a script, because I have never needed to make it hard on myself. I also never insulted Notepad - you simply took a defensive stance when I even began to mention Scite and not your beloved Notepad. That was a mistake on your part. There is no shame in using a script editor built to work with the scripts you're trying to write. It would be idiotic for me to use Notepad after seeing what Scite can do, and even more so after I had used Scite for several months (as is the case now).

In my mind, using Notepad instead of Scite would be similar to me writing an essay in Russian (which I know absolutely nothing about) without the use of an English-Russian dictionary. It is hopeless and impractical.

Posted (edited)

I think it all stemmed from your initial comment here.

It implied (IMO) that he/she should stray from using a tool that works hand and hand with it's prospective language.

IMO again, choosing notepad to script for autoit, is like trying to race a moped in the indy 500, when a tool such as SciTe is available with all it's options.

I find it humorous to a point that people that 'have a choice', choose an editor that doesn't offer all it can to make the language that much easier not only to learn, but to 'Excel', and annoying at the same time, because these are the same people that have questions constantly or complain that something isn't working. There is absolutely nothing that comes to mind that notepad can do for the language AutoIt that SciTe can't do better with options. Does that mean I'm pushing it, or do I take advantage of every tool available to me to make my work 'easier' and more 'efficient'?

Personally, I don't think you've been with the language long enough to see the full benefit that you could have not only now, but for future use as well. Especially when Jdeb does such a nice job of keeping SciTe up to date with all the latest and newest beta information.

It didn't imply anything. I was merely pointing out that, contrary to what he was saying, it was entirely possible to use Notepad to write .au3s. Is notepad not able to edit .au3s? I was trying to do it in a lighthearted manner by using a line Stimpson J. Cat was famous for and using a needlessly sad smiley to show that I was playing around. I guess I didn't know that scripting in AutoIT was a competition like the Indianapolis 500. I won't make the mistake again, believe me, as I don't want 3 or 4 people jumping up to grill me about such a horrible offense.

I've been using AutoIT for about 3-4 years now (started with version 2), and do currently use SciTE for most of my scripting. I'm not a pro or anything like that, but in the time I've been using it I've only needed to come here twice to ask for help on something I couldn't get to work. Notepad and the help file was all I needed to learn, and a simple ~50 line script doesn't require more than a text input for me. Notepad does that just fine, and I simply enjoy using it now and again.

Let me ask you a question here: If I walked up to you on the street while you were wearing a hat of some sort and asked "do you wear that hat because you're stupid, ignorant, couldn't find anything else to wear or some other reason?", wouldn't you find that atleast a little bit insulting? Be honest here.

@Othello - I learned AutoIt by getting Scite, opening it, typing every letter one at a time until I saw all the functions that were available (thanks to autocomplete), selecting functions that looked good and reading the Calltip associated with the function, and then going from there. If I ever got stuck with a certain function, I looked it up in the helpfile. There were some times where the Calltip couldn't hold enough information for me to know exactly what I would do with the function, and for the most part the helpfile covered all the holes.

I have never used Notepad to write a script, because I have never needed to make it hard on myself. I also never insulted Notepad - you simply took a defensive stance when I even began to mention Scite and not your beloved Notepad. That was a mistake on your part. There is no shame in using a script editor built to work with the scripts you're trying to write. It would be idiotic for me to use Notepad after seeing what Scite can do, and even more so after I had used Scite for several months (as is the case now).

In my mind, using Notepad instead of Scite would be similar to me writing an essay in Russian (which I know absolutely nothing about) without the use of an English-Russian dictionary. It is hopeless and impractical.

First off, I never said you insulted notepad. Every time I've mentioned anything it was in relation to JdeB's comment about stupidity and ignorance topping the list of reason's people don't use SciTE. You seem to be agreeing with your latest post, as using Notepad is 'idiotic' (what happened to not being insulting? Gave that up pretty fast huh?).

Using SciTE for certain small scripts would be similar to me writing a children's book in Russian using an English-Russian dictionary even though I already have a firm grasp on the language. It's redundant and impractical. Also, just to be clear, this was an analogy, I don't actually know Russian :lmao:

Edited by Othello
Posted

If you had read what I wrote carefully, I said it would be idiotic FOR ME TO USE IT because of the reasons I gave. I never said you using it was idiotic. Also, if you had read what I had originally said (the very first response), I said Notepad couldn't RUN au3's... I never said anything about it not being able to edit them.

I still don't see why you would want to use Notepad, even for small scripts. From my experience writing scripts, I never get things exactly right the first time, even if it is small, and I always want to do some testing (Scite is excellent for this). Unless your definition of small is less than 5 lines, Scite would make the job easier.

Also:

Let me ask you a question here: If I walked up to you on the street while you were wearing a hat of some sort and asked "do you wear that hat because you're stupid, ignorant, couldn't find anything else to wear or some other reason?", wouldn't you find that atleast a little bit insulting? Be honest here.

You have missed the point - this does not convey the proper message as to the situation. For the question to have any place in this discussion, you would have to be wearing a very simple (even ugly) hat and holding a nice looking hat in your hand. You and everyone around you knew that the hat you were holding in your hand would better suit your person, and yet you decide to wear the one currently on your head. That's the real situation here.

As for me not being insulting, I never said anything about that. You can't stop doing something if you never started it.

Posted (edited)

If you had read what I wrote carefully, I said it would be idiotic FOR ME TO USE IT because of the reasons I gave. I never said you using it was idiotic. Also, if you had read what I had originally said (the very first response), I said Notepad couldn't RUN au3's... I never said anything about it not being able to edit them.

I still don't see why you would want to use Notepad, even for small scripts. From my experience writing scripts, I never get things exactly right the first time, even if it is small, and I always want to do some testing (Scite is excellent for this). Unless your definition of small is less than 5 lines, Scite would make the job easier.

Also:

You have missed the point - this does not convey the proper message as to the situation. For the question to have any place in this discussion, you would have to be wearing a very simple (even ugly) hat and holding a nice looking hat in your hand. You and everyone around you knew that the hat you were holding in your hand would better suit your person, and yet you decide to wear the one currently on your head. That's the real situation here.

As for me not being insulting, I never said anything about that. You can't stop doing something if you never started it.

If it's idiotic for you to use notepad when you have been using SciTE, that implies that it is idiotic to use notepad when those conditions are met. I meet the conditions, therefor it implies that it is idiotic for me to use notepad. Just because you referred only to yourself in that sentence doesn't remove the broader implications of the statement, based on the conditionals you used

As for it being run and not written, maybe you should read what you were quoting. What you quoted stated that you could use notepad to write au3s, and in your rush to completely destroy the tutorial the OP wrote you said it couldn't be run. Based on the fact that you don't need SciTE to run .au3s, and the context your comment was written in (of correcting everything the OP did wrong in an attempt to crush him thoroughly), it implied (wow English is a complicated thing, huh?) that you didn't know you could use notepad, and that you'd never used it. See, since you're entire post was contradicting the OP in every way possible, it suggests that it would fit into that pattern. But I was only joking anyway, until I found out that lighthearted comments are not tolerated here (along with Notepad, apparently).

From my experience writing scripts, I do tend to get things exactly right the first time around (in terms of things that SciTE can fix). As already stated, my definition of small is ~50 lines, and SciTE does not make the job easier for me. I'm sorry that it is such a horrible thing that it requires four people to jump all over my using notepad.

You're not being honest about my question here, green. It doesn't really matter if you're holding a better looking hat. You're wearing you're hat because you chose to, and someone questioning your intelligence due to your preference is, by all modern social conventions and those of the English language, insulting.

Do you use SciTE because you're stupid, ignorant, and need help writing code because you're not capable of finding it out on your own, or because of some other reason?

Edited by Othello
Posted

If it's idiotic for you to use notepad when you have been using SciTE, that implies that it is idiotic to use notepad when those conditions are met. I meet the conditions, therefor it implies that it is idiotic for me to use notepad. Just because you referred only to yourself in that sentence doesn't remove the broader implications of the statement, based on the conditionals you used

If you feel you must think of it that way, then you can read it however you want. I was just giving the example for myself. If you decide it could apply to you as well, and feel as though I'm insulting you, that's your problem - I did not tell you to think that way.

As for it being run and not written, maybe you should read what you were quoting. What you quoted stated that you could use notepad to write au3s, and in your rush to completely destroy the tutorial the OP wrote you said it couldn't be run. Based on the fact that you don't need SciTE to run .au3s, and the context your comment was written in (of correcting everything the OP did wrong in an attempt to crush him thoroughly), it implied (wow English is a complicated thing, huh?) that you didn't know you could use notepad, and that you'd never used it. See, since you're entire post was contradicting the OP in every way possible, it suggests that it would fit into that pattern. But I was only joking anyway, until I found out that lighthearted comments are not tolerated here (along with Notepad, apparently).

"Maybe you should read what you were quoting." Maybe you should read what I wrote. Just go ahead and read the whole thread again if that will do the trick.

But again, you did not read thoroughly. I in fact did not refer at all to the fact that Notepad can be used as the editor in my response. I quoted the whole paragraph for context, because I thought that anyone who could read would understand that I was referring to his statement of Notepad RUNNING THE SCRIPT IF YOU PRESS F5 (you don't seem to get that part.. every time), and because I had multiple things to say that referred to the paragraph. With Notepad, pressing F5 inserts the current date and time. This is not running the script. With Scite, pressing F5 runs the script. That was my point. I was correct.

I do (and did) know you could use Notepad to EDIT scripts, because I have done so when Scite wasn't physically available.

From my experience writing scripts, I do tend to get things exactly right the first time around (in terms of things that SciTE can fix). As already stated, my definition of small is ~50 lines, and SciTE does not make the job easier for me. I'm sorry that it is such a horrible thing that it requires four people to jump all over my using notepad.

If that is really the case, that you are perfect when writing scripts one the very first try, then congratulations. Your writing in English does not reflect your perfection.

As for Scite making it easier or not, I don't see how running from within Scite is suddenly harder than the Notepad method of saving, finding the file, and manually running it. That key feature, even ignoring all the others, makes writing scripts in Scite easier (my opinion again, don't assume this to be your case like you did previously).

You're not being honest about my question here, green. It doesn't really matter if you're holding a better looking hat. You're wearing you're hat because you chose to, and someone questioning your intelligence due to your preference is, by all modern social conventions and those of the English language, insulting.

The only problem is, you must have a better looking hat for comparison, else there is no analogy. If you have only the one hat (the plain, ugly one), then you are wearing it because that is the only one you have. The same goes for Notepad. If you only have Notepad, and Scite is not currently accessible to you, that is a completely different situation. However, you have Scite, which is the equivalent to the better-looking hat, and so according to the question posed, it makes no sense that you would wear the plain, ugly hat.

Do you use SciTE because you're stupid, ignorant, and need help writing code because you're not capable of finding it out on your own, or because of some other reason?

I use Scite because it is available, I like it (I especially prefer the features it contains over the featureless Notepad), and it is many times more convenient.
Posted

Do you like my tut...

Your first post states, "Post if you like it." So if I do not like it, I can not post???

Please take the time to correct the errors that others have pointed out.

For example, "...a variable sometimes starts with a $" is not true.

The help file states:

Each variable has a name (again, similar to a mailbox) and must start with the $ character and may only contain letters, numbers and the underscore _ character.

It might not be a good idea to ask if others like your tutorial since writing and learning styles differ. I personally prefer a style more like that found in this post:

http://www.autoitscript.com/forum/index.ph...=ST&f=9&t=14395

There are other ways to code that "Yahoo task", but I kept things relatively simple for my target audience. Im quite aware that there are members of this forum that hate reading "code" that has more comments than code. I did not ask if people liked what I posted I asked "if any of the info offered is just plain wrong".

[size="1"][font="Arial"].[u].[/u][/font][/size]

  • Developers
Posted

:lmao: holy mackerel ... what an emotions are triggered by this Notepad versus SciTE thingy

Come on lighten up folks...

I was just making fun and none of it was very serious other than my final comment in my last post.

... Its a free world so use whatever you think is best ... ;)

Implying someone is stupid or ignorant because they choose to use Notepad is not exactly friendly. As someone who likes to use notepad sometimes, I take offense.

@Othello:

I was not trying to imply that you or anybody is stupid.

Out of the four options, only one could be read as negative which is "Stupidity", the rest I cannot see as negative..

To my knowledge Ignorance isn't negative, since it just plainly means you don't have the knowledge.

Ignorance is a lack of knowledge,...

Anyway lets stop hijacking this thread with Editor posts and get back to what it is about:

jaenster's TUT's.. o:)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

:S, i gotta say, i like reading those huge post, its really amusing :lmao:.

On topic:

Nice tutorial jaenster you can just instead put:

Autoit variables, must have a Dollar sign($) in front it.

Edited by NegativeNrG

[size=20]My File Upload[/size]Register at my site and upload.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...