• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entering data into fields in a web form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering data into fields in a web form


  • Subject: Re: Entering data into fields in a web form
  • From: Jeffrey Dean <email@hidden>
  • Date: Mon, 3 Feb 2003 10:36:04 -0900

From: Jeffrey Dean <email@hidden>
Date: Mon Feb 3, 2003 9:23:14 AM America/Anchorage
To: julifos <email@hidden>
Subject: Re: Entering data into fields in a web form

Thank you,
I used the first example and can successfully enter a text string into
the field (the variable name when it has quotes around it). I have not
been able to enter the contents of the applescript variable
(InvoiceNum) and wonder what I am doing wrong.
Jeff
tell application "Panorama"
set InvoiceNum to Value of Cell "invoiceNum"
set cardNum to Value of Cell "cardNum"
set nameOnCard to Value of Cell "nameOnCard"
set addressOnCard to Value of Cell "addressOnCard"
set zipOnCard to Value of Cell "zipOnCard"
set totalForCard to Value of Cell "totalForCard"
set cardMonth to Value of Cell "cardMonth"
set cardYear to Value of Cell "cardYear"

end tell

set jscode to "document.CC.RefID.value=InvoiceNum;"

-- document.CC.submit();"
-- f: name of the form (look at page's source code)
-- q: name of text field to fill
-- value: value
-- submit(): javascript method to submit a form

tell application "Internet Explorer"
Activate
do script jscode
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: text item delimiters maddness
  • Next by Date: RE: sendmail
  • Previous by thread: Re: Entering data into fields in a web form
  • Next by thread: Re: Entering data into fields in a web form
  • Index(es):
    • Date
    • Thread