Jump to content

daillest319

Members
  • Posts

    5
  • Joined

  • Last visited

daillest319's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks guys i got it working
  2. Whenever i run the code below it just open to edit the script. it doesnt runit am i doing something wrong? set oShell = CreateObject("WScript.Shell") oShell.run """C:\Documents and Settings\mike\My Documents\Final\SAVE.au3"""
  3. I know this is old but ontop of what you wrote is there way to also put the file name with he destination and click the save button
  4. o sorry thanks for the head up
  5. Hi, I'm wirinte a vbs script to automate through a webpage. I was hoping someone can help me with selecting from a drop box list from IE webpage.I'm able to change the value but its not submitting it or updating the page with the year i selected. the source code on the web page is the following function doChange() { var wsub1,wsub2,wDate; wsub1 = document.JOBLISTFORM.month.selectedIndex; wsub2 = document.JOBLISTFORM.year.selectedIndex; wDate = document.JOBLISTFORM.year[wsub2].value + <select id="YEAR" name=year size="1" onChange="doChange()"> <option value="2001" >2001 <option value="2002" >2002 <option value="2003" >2003 { var wsub1,wsub2,wDate; wsub1 = document.JOBLISTFORM.month.selectedIndex; wsub2 = document.JOBLISTFORM.year.selectedIndex; wDate = document.JOBLISTFORM.year[wsub2].value + document.JOBLISTFORM.month[wsub1].value + "01"; CL(wDate); } ----------------------------------------------------- This is the code im using to change the value and submit it change the value but it does not submit/update the page with the year i slected..... Dim oIE Set oIE = WScript.CreateObject("InternetExplorer.Application") oIE.Document.Forms(0).Item("YEAR").Value = 2003 oIE.Document.Forms(0).Submit
×
×
  • Create New...