• 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: URL Access Scripting and HTTPS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Scripting and HTTPS?


  • Subject: Re: URL Access Scripting and HTTPS?
  • From: Sander Tekelenburg <email@hidden>
  • Date: Sat, 31 Mar 2001 23:29:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 18:58 -0700 UTC, on 30/03/2001, Doug McNutt wrote:

[...]

> I have been told by MacPerl users that a way to access https:// web
> pages is to send AppleEvents to URL Access Scripting. (The available
> perl modules don't do secure sockets on the MacOS.)
>
> But when I try a regular AppleScript prepared with the Script Editor I
> get error -6986 whenever the URL starts with https://.

URLAccess can handle some HTTPS sites. Not all. It gets better with each new
version though. iCab relies on URLAccess for HTTPS, so you could use iCab to
first verify that the HTPS server you're trying to deal with is actually
supported by URLAccess.

On a G4, OS 9.0.4 US, AS 1.4.3, URLAccess Scripting 2.0, URLAccess extension
2.2.1, this works for me:

set theLocation to ((path to startup disk as string) & "Desktop Folder:new
file")
tell application "URL Access Scripting"
activate
try
download "https://order.kagi.com/?NNG"; to file theLocation
on error m number n
-- handle error
end try
quit
end tell
(* beware of linewraps *)

HTH


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOsZMJOsywKfXgqKdEQIsfQCePtF4yIppOD4lZoL/YjTba+lZ37EAoKAS
jWyoli46ZTiGDF0hskk57YUE
=hZLU
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <mailto:email@hidden>
Web site at <http://www.euronet.nl/~tekelenb/>

Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"


References: 
 >Re: osascript from the terminal: error? (From: Christopher Nebel <email@hidden>)
 >URL Access Scripting and HTTPS? (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: A choose application question
  • Next by Date: Default Folder (was Re: bugs, bugs, bugs)
  • Previous by thread: URL Access Scripting and HTTPS?
  • Next by thread: Re: osascript from the terminal: error?
  • Index(es):
    • Date
    • Thread