• 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: POST Format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POST Format


  • Subject: Re: POST Format
  • From: Walter Ian Kaye <email@hidden>
  • Date: Wed, 17 Sep 2003 23:23:46 -0700

At 10:13p -0700 09/17/2003, Alan Kimelman didst inscribe upon an electronic papyrus:

I know that if I CURL and download a document from a URL, I lose my links. My question is how do I use applescript to tell Safari to access a URL and post various text items such as name, personal identification number and password? I want to access live links on the page.

I don't understand how curl relates to Safari.

It sounds like you're talking about multiple different things, so it would help if you focus on just one and elaborate.

What exactly are you trying to accomplish? Accessing links on a page has nothing to do with using curl, so we are all confused.

If you can be more specific with your problem, we can be specific with help.

BTW, AFAICT you cannot post data with Safari (via script).

Perhaps what you want -- I am just guessing here -- is to read the source of the current page, parse the HTML yourself to extract the form elements, and create a data string to post via curl? How will you even know what data to supply? If you have to predefine it, then there's no need to get the page in the first place because you've already hard-coded everything.


-Walter
(confused)
_______________________________________________
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.

References: 
 >POST Format (From: Alan Kimelman <email@hidden>)

  • Prev by Date: POST Format
  • Next by Date: Re: debugging Quark 4 script for osx
  • Previous by thread: POST Format
  • Next by thread: Re: POST Format
  • Index(es):
    • Date
    • Thread