Awesome tsuji, that did it!!!
I had to use
objIE.document.frames("nameofframe").document.all.StampForm.Item("go").click()
Thanks so much man for sticking with me
Sends *e-beer*
cheers!!
Thanks for your suggestions.
I've tried the objIE.Document.All.StampForm.Item("go").Click() approach, and still have no results. It's the same error (object does not support this, etc)
I've tried a WScript.Sleep 30000, which gives the page plenty of time to load, but there is still nothing...
Hey guys,
Need some help, I've been having a hard time targeting, then clicking a form button to submit a form with my script. The button is in a frame, and it also has onclick code attached to it like so:
<input value="Refresh" name="go" onclick="document.skipCheck=true...
I don't have access to actually change the code on the form itself, but "click" worked perfectly :)
Once the form is submitted (I'm logged in) I then need to click another button "ok" on a new page/form. How can I put a pause to wait until the new page is loaded instead of just doing a...
Thanks,
I tried as you suggested, which is definitely better, however I keep getting an error on this line:
objIE.Document.All.logonForm.submit
I assume it's because the name of the submit button is also submit, like so:
<INPUT type="submit" name="submit" value="Log On">
This is the code...
Thanks, and sorry for all the typos above. I'm used to always going back and editing my posts :p
Anyway, I managed to do what I wanted (sort of) by using this:
Set objIE=WScript.createobject("internetexplorer.application","objIE")
objIE.visible = True
objIE.TheaterMode = False...
Sry cant find the edit button on this forum..
I mean I can send the keystrokes with shl.SendKeys "" but since I dont know how to focut the cursor on said field above, it just sends the keys where the default cursor location is (the address bad)
I guess I could send TAB 6 times which places...
They do. I just don't know what the sendkey command is :)
Their form field ID/names are:
ussername
password
respectively, and the login button is submit
:)
Hey guys,
Just found your forum. I'm still a beginner when it comes to .js or .vbs and need some help.
I need to create a scrip which when clicked will help me do the following:
- Upon being clicked from desktop, wait predetermined amount of time (ex, 30 min)
- The script would need to open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.