I am newbie in computer programming world, I am a physician trying to cut my time in documentation and gathering data. I have created bunch of VBS macros using a program called openwebtst.
I was wondering how could I trigger a macro with VBS extension using your quickstart.lua file,I replaced "notepad" with,"cmd"
and "C:\\test.txt" with current path of my VBS file. But it just opens the command prompt with current directory in windows 7 . Please help.
run a macro file ( .vbs)
Re: run a macro file ( .vbs)
I don't know much about .vbs (Visual Basic scripts?) - but I think you'd need to run cscript or wscript instead of cmd.
Re: run a macro file ( .vbs)
Google for example "run vbs script" or even "run vbs from lua"
Petr Medek
LUAmacros author
LUAmacros author
-
- Posts: 3
- Joined: 29 Jun 2015, 21:50
Re: run a macro file ( .vbs)
Thanks for all the replies, Xupicor, your advice for using wscript worked.