Debugging VBScript in Windows 10

帅比萌擦擦* 提交于 2019-11-29 18:02:54
omegastripes

I encountered the same issue after I'd installed MS Office 2010 on Windows 7 HB. MS Script Editor included in Office 2000 through 2007 only. So to make debug possible you still can install it from any of that packages. The example below is for Office 2003 installer on Windows 7:

Launch the installer, choose custom type of installation:

Uncheck all applications and check choose advanced customization:

Disable all components:

Go to Office Tools - HTML Source editing - Web Scripting and select Run from My Computer option for Web Debugging item:

Then finish the rest installation process. After that you can debug the scripts with Script Editor debugger.

There is the same version of Script Editor in Office 2003 and 2007 installers that I checked:

I should say I havn't tested that on Windiws 10, seems Office 2003 is not certified compatible with Windows 10 but might work using compatibility mode, and Office 2007 have been confirmed to be compatible.

BTW, if you are using Notepad++, it may be handy to setup shortcut for launching the script with debugger. Enter "C:\WINDOWS\SysWOW64\cscript.exe" //x "$(FULL_CURRENT_PATH)" into The Program to Run field while creating shortcut (you can find description here).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!