Hey! Long time no see!
Ok, so, when 'making' an image in VB I have some errors.
Ok, there's the code to the image making process thingamajig.Code:<script language="VBScript"> Function tt() objShell.Sendkeys "%{prtsc}" wscript.Sleep 500 objShell.Run("C:\Windows\System32\mspaint.exe") wscript.Sleep 500 Do Until Success = True Success = objShell.AppActivate("Paint") Wscript.Sleep 500 Loop objShell.SendKeys "^v" Wscript.Sleep 500 objShell.SendKeys "%fs" End Function </script>
Now, the simple button:
When I try it, I have an error saying "Object required: 'objShell'" on the line objShell is on. Please help, thank you.Code:<input type="button" onclick="tt()" value="Start Image Making">



Reply With Quote


Bookmarks