Re: Script development environment

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 :-)

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
(the
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 minimise
synatx
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.








.



Relevant Pages

  • Re: Script development environment
    ... The first "how it looks" issue can be addressed with any editor: script ... I find I spend that time working more on the logic. ... it's intended for writing scripts for ...
    (microsoft.public.windows.server.scripting)
  • Re: Trailing blanks in batch file
    ... Same applies to parentheses and quotes, ... problem as there *being* a trailing space whose presence creates a problem. ... If someone exclusively used an editor that displayed blanks as grey dots, ... can never be sure that one's script will never be edited by someone else ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Writing and debugging VBS
    ... rem that out temporarily then re-run your script and see what ... > Editor in Excel or Word, in the hope that the editor would step through ... > screen changed for a few seconds, before reverting to the design mode. ... > (in a similar way to the VBA editor) to step through my VBS code? ...
    (microsoft.public.scripting.vbscript)
  • Re: JScript syntax higlihting in VIntDev
    ... :: JScript files and highlighted the syntax. ... select the HTML Editor and set the editor to come up in Source View. ... Document to link script ... : function doThis() { ...
    (microsoft.public.scripting.jscript)
  • Re: looking for a decent IDE for VBScripting
    ... script editor" is serviceable. ... IDE sounds a little off-base to me, ... a text editor and a "run" ... I would like to suggest the scintilla ...
    (microsoft.public.scripting.vbscript)