• 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
scripting explorer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting explorer


  • Subject: scripting explorer
  • From: Erik Price <email@hidden>
  • Date: Tue, 4 Jun 2002 16:36:24 -0400

I'm pretty bad at AppleScript. But I thought this might be a neat idea:

display dialog "Function: " default answer "Function Name"
set myfunction to text returned of result
tell application "Internet Explorer"
OpenURL "http://www.php.net/search.php"; FormData "pattern=" & myfunction
end tell

I based it off of code posted by nellA hciR (thanks hcir). But it doesn't seem to work -- for some reason the script is appending "TTPProxy" to the end of my POSTed data (so that if the function I entered is "empty" it will be sent as "emptyTTPProxy"). I tried diddling with the MIME type, as described in the dictionary, but it didn't seem to have any effect.

Does anyone know enough about scripting IE to tell me if it's possible to simply send a POST variable along with my OpenURL command?

Thanks!

Erik

PS: originally I was going to do it with a Perl script and cURL, and command it with "do shell script", but then I looked in IE's dictionary and saw that you could send POST vars with that, in theory.





----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
email@hidden
_______________________________________________
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: Re: "Do Shell Script" Input...
  • Next by Date: Re: Sending Email from AppleScript Without Garbling It
  • Previous by thread: Re: "Do Shell Script" Input...
  • Next by thread: Re: scripting explorer
  • Index(es):
    • Date
    • Thread