Re: Script development environment
- From: "x57" <fredriklarsso@xxxxxxxxx>
- Date: 15 Jan 2007 12:43:40 -0800
I would like to recommend SciTE (Scintilla Text Editor with Extensions)
a free editor from http://gisdeveloper.tripod.com/scite.html
SciTE is able to syntax style a lot of languages and have the option to
run the script within the editor and have the output in a frame at the
bottom.
Al Dunbar [MS-MVP] skrev:
You are far too kind. I once thought that I could not compete with the MVP's
I met here - until I became one. Of course, I still feel they have the
advantage in terms their breadth of knowledge, and this is also the case
with respect to a few regulars here who are not MVP's.
If notepad were all I had to work with, I would probably cut and paste
functions as you do. As for working only on logic, the logic of a script has
nothing to do with how it looks. What has to do with how it looks, though,
is how easy it is to recognize what the logic is, analyze it for errors, and
fix those errors.
The first "how it looks" issue can be addressed with any editor: script
layout, effective use of indenting and whitespace, self-documenting variable
and function names, the inclusion of internal documentation in comments, and
etc. Beyond that I find that a highlighting editor will catch errors like
spelling function "funtcion" provides much more readily than my eyes; an
editor with intellisense will save time looking up function parameters; and
an editor that looks after the XML coding details of the .WSF script makes
it that much easier to write (and re-use) re-usable code. In fact, when I
spend less time working on the low-level mechanics of getting the syntax
right, I find I spend that time working more on the logic.
I'm not saying I'm a better driver than the kid down the block with his
soapbox racer because I have a real car - just that I am a better driver
than I would be if I had only a soapbox racer to drive.
/Al
"IT Staff" <jkklim@xxxxxxxxxxx> wrote in message
news:%23oF2eAiNHHA.1872@xxxxxxxxxxxxxxxxxxxxxxx
of course i can't compete with MVP in terms of knowledge :-)(the
actually i wrote most of script and make it into functions/procedures, so
each time a new script requirement occurs, i just cut and paste the
functions, and work on logic only.
"Al Dunbar [MS-MVP]" <alan-no-drub-spam@xxxxxxxxxxx> wrote in message
news:ehhFFegNHHA.1816@xxxxxxxxxxxxxxxxxxxxxxx
There are quite a few script-specific editors available, ranging from
somewhat pricey, but, imho, worth it) PrimalScript
(http://www.sapien.com),
to a number of freeware titles.
I must be less thorough in my scripting than "IT Staff", as I find that
primalscript increases my throughput and reduces my error count hugely
compared with notepad.
/Al
"IT Staff" <jkklim@xxxxxxxxxxx> wrote in message
news:O$M%23WaeNHHA.1872@xxxxxxxxxxxxxxxxxxxxxxx
usually i write vbscript using notepad, and the only way to minimisesynatx
error is writing many scripts to get more experiences :)
"NZSchoolTech" <nzschooltech@xxxxxxxxxx> wrote in message
news:1168058796.836015.18490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there anything available to syntax check and test VBScripts that I
am writing for logon scripts etc.
I read somewhere "Use VBStudio.NET". Well after going through all the
rigamarole of installing that, it's intended for writing scripts for
web pages. So not much use it seems.
.
- References:
- Script development environment
- From: NZSchoolTech
- Re: Script development environment
- From: IT Staff
- Re: Script development environment
- From: Al Dunbar [MS-MVP]
- Re: Script development environment
- From: IT Staff
- Re: Script development environment
- From: Al Dunbar [MS-MVP]
- Script development environment
- Prev by Date: Re: add a local printer
- Next by Date: lastModifiedBy
- Previous by thread: Re: Script development environment
- Next by thread: Re: Need script to return OS level
- Index(es):
Relevant Pages
|