Page 1 of 1

Calling / running actionaz script from vb script

Posted: 29 Aug 2011, 21:58
by prem
Hi Jonathan,

How do you call an actionaz script from a vbscript
I've tried something like this with many variations
but can't get it to work.Please enlighten. Thanks.

Set objShell = CreateObject("Wscript.Shell")
objShell.run"C:\Program Files\Jmgr.info\Actionaz 2\actionaz2.exe C:\Documents and Settings\far\Desktop\vs1" 'with vs1 being a ref to the .act file

Re: Calling / running actionaz script from vb script

Posted: 30 Aug 2011, 12:49
by Jmgr
Hi,

By "call" you mean execute ?

This is the syntax to execute a script : actionaz2.exe myscript.act execute

I doesn't know VB so I can't help you with that.

I think you cannot execute a shortcut to a file, only the file itself.