Discussion:
VBScripting editor?
(too old to reply)
Mark (MCP)
2007-03-16 16:06:03 UTC
Permalink
Is there a VBScript editor out there that will help you write VBScript
coding where you can see the available options available for statements,
commands, etc.?

Thanks.
i***@gmail.com
2007-03-16 16:36:30 UTC
Permalink
Post by Mark (MCP)
Is there a VBScript editor out there that will help you write VBScript
coding where you can see the available options available for statements,
commands, etc.?
Thanks.
What you're looking for is called an IDE or Integrated Development
Environment. It will "drop-down" a list of options while you type out
language-based commands. Some work much better than others and
everyone will have an opinion on which one they prefer.

Just to get you started, I use PrimalScript 4.0 by Sapien
Technologies. http://www.primalscript.com/downloadtrial.asp
Paul Randall
2007-03-16 16:56:57 UTC
Permalink
Post by Mark (MCP)
Is there a VBScript editor out there that will help you write VBScript
coding where you can see the available options available for statements,
commands, etc.?
Thanks.
I use the free evaluation (no time limit) version of VBSEdit, from
http://www.vbsedit.com/, for the dropdown options, and the code snippets and
sample scripts available from the main menu. Adding and organizing your own
snippets is something I hadn't found in other free evaluation packages. The
evaluation version has only one nag message, at startup. I've seen only one
complaint about this product in these newsgroups - you can google groups for
the details.

-Paul Randall
E C H (He of too much code)
2007-03-16 18:38:53 UTC
Permalink
Great program, 1 other nag though, when you DeBug, you get a message after every line.
DeBugging a VBScript is very cool. The price for this is very reasonable compared to
Primal Script (which is also very cool, but VERY expensive).
Post by Paul Randall
Post by Mark (MCP)
Is there a VBScript editor out there that will help you write VBScript
coding where you can see the available options available for statements,
commands, etc.?
Thanks.
I use the free evaluation (no time limit) version of VBSEdit, from
http://www.vbsedit.com/, for the dropdown options, and the code snippets and
sample scripts available from the main menu. Adding and organizing your own
snippets is something I hadn't found in other free evaluation packages. The
evaluation version has only one nag message, at startup. I've seen only one
complaint about this product in these newsgroups - you can google groups for
the details.
-Paul Randall
unknown
2007-03-16 20:15:38 UTC
Permalink
Post by Paul Randall
I use the free evaluation (no time limit) version of VBSEdit, from
http://www.vbsedit.com/, The
evaluation version has only one nag message, at startup.
which you can remove easily using VBScript (Run program + Send ESC Key).


Good Luck, Ayush.
--
Google Groups: http://groups.google.com/
Paul Randall
2007-03-16 21:47:37 UTC
Permalink
Post by unknown
Post by Paul Randall
I use the free evaluation (no time limit) version of VBSEdit, from
http://www.vbsedit.com/, The evaluation version has only one nag
message, at startup.
which you can remove easily using VBScript (Run program + Send ESC Key).
Thanks, Ayush
Great idea, but I typically start the editor by right clicking a .vbs file.
The context menu was changed for .vbs files by the installation of VBSEdit.
In includes a 'Edit with VbsEdit' menu item.

I don't quite understand the registry entryies for it.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\VBSFile\Shell\Edit with VbsEdit]

[HKEY_CLASSES_ROOT\VBSFile\Shell\Edit with VbsEdit\command]
@="\"C:\\Program Files\\Vbsedit\\vbsedt33.exe\" \"%1\""
"command"=hex(7):4c,00,24,00,75,00,53,00,69,00,5d,00,65,00,45,00,49,00,39,00,\
4b,00,5e,00,2a,00,38,00,24,00,56,00,58,00,67,00,30,00,2c,00,56,00,62,00,73,\
00,65,00,64,00,74,00,33,00,33,00,3c,00,20,00,22,00,25,00,31,00,22,00,00,00,\
00,00

What should I change in order to send the escape key when I choose 'Edit
with VbsEdit' ?
-Paul Randall
Paul Randall
2007-03-16 22:30:07 UTC
Permalink
Post by unknown
Post by Paul Randall
I use the free evaluation (no time limit) version of VBSEdit, from
http://www.vbsedit.com/, The evaluation version has only one nag
message, at startup.
which you can remove easily using VBScript (Run program + Send ESC Key).
Good Luck, Ayush.
Ayush, how can I change this shortcut:
"C:\Program Files\Vbsedit\vbsedt33.exe"
to include the escape character?

-Paul Randall
unknown
2007-03-17 08:14:17 UTC
Permalink
Post by Paul Randall
"C:\Program Files\Vbsedit\vbsedt33.exe"
to include the escape character?
You cant. But you can change it to path of VBScript that will run the file and
pass the first parameter.

e.g. in registry (the Deafult value not command)-
wscript.exe "C:\SomeVBS.vbs" "%1"

btw, You can delete the command value from registry if you want.


VBS-
Set wsArg=WScript.Arguments
If wsArg Then param=wsArg(0)
Set ws=CreateObject("WScript.Shell")
ws.Run "C:\Program Files\Vbsedit\vbsedt33.exe " & param


Good Luck, Ayush.
--
Scripting- your first steps :
http://www.microsoft.com/technet/scriptcenter/topics/beginner/firststeps.mspx
unknown
2007-03-17 08:21:08 UTC
Permalink
Post by unknown
VBS-
Set wsArg=WScript.Arguments
If wsArg Then param=wsArg(0)
Set ws=CreateObject("WScript.Shell")
ws.Run "C:\Program Files\Vbsedit\vbsedt33.exe " & param
and then-

Do Until ws.AppActivate("VbsEdit"):WScript.Sleep 220:Loop
ws.SendKeys "{ESC}"

Good Luck, Ayush.
--
Windows Script Host Reference : http://snipurl.com/WSH_Reference
Loading...