joeloyzaga Posted March 24, 2009 Share Posted March 24, 2009 Can I run script from vbs? and can it return values like selections it had for comboboxes? Also, If I output to exe does another pc need autoit installed to run exe? Link to comment Share on other sites More sharing options...
picea892 Posted March 24, 2009 Share Posted March 24, 2009 Hi First I'd say anything you can do in vbs, autoit can do better. I'd say stick in autoit and convert all your vbs to autoit Now on to your questions. You of course could pass a parameter from VBS to autoit, not a problem. To get a parameter back from autoit, I think you would need the autoit program to set an environmental variable or document the information in a text file which the VBS would then access.. How do you run an au3 from VBS. How about Set objShell = CreateObject("Shell.Application") objShell.ShellExecute "c:\hidetaskbar.au3", "", , , NORMAL_WINDOW Finally. Once compiled as an exe, the file can be run on any computer even if it doesn't have autoit installed. Good? Picea Link to comment Share on other sites More sharing options...
joeloyzaga Posted July 23, 2009 Author Share Posted July 23, 2009 HiFirst I'd say anything you can do in vbs, autoit can do better. I'd say stick in autoit and convert all your vbs to autoitNow on to your questions. You of course could pass a parameter from VBS to autoit, not a problem. To get a parameter back from autoit, I think you would need the autoit program to set an environmental variable or document the information in a text file which the VBS would then access.. How do you run an au3 from VBS. How aboutSet objShell = CreateObject("Shell.Application")objShell.ShellExecute "c:\hidetaskbar.au3", "", , , NORMAL_WINDOWFinally. Once compiled as an exe, the file can be run on any computer even if it doesn't have autoit installed.Good?Piceaso is there a way to run vbs from autoit? I was told using scriptcontrol but I don't have the foggiest idea where to startI initially wanted to run an autoit login script and give these values to a vbs script to run - can you advise? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now