I am trying to use the following script:
E=inputbox("What do you want me to search?")
Set sh = CreateObject("WScript.Shell")
sh.Run "search.exe "+E, 0, True
and for some reason I cannot discern, it will just quit automatically without any error message. The Exe, made in Python has the following script:
import webbrowser as w
e=raw_input()
E=e.replace(" ","+")
print(e+" has been searched.")
w.open("http://stackoverflow.com/search?q="+E)
I assume it's crashing because E=inputbox("What do you want me to search?")
has multiple words, but I'm not sure. Any help would be greatly appreciated.
EDIT: When I tried to convert the python file to an exe again in hopes of doing.....ANYTHING good, I saw the following message:
The following modules appear to be missing:
['IronPythonConsole', 'System', 'System.Windows.Forms.Clipboard', '_scproxy', 'clr', 'modes.editingmodes', 'startup']
Any help regarding this too would be very welcome.