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

Re: Gatekeeper


  • Subject: Re: Gatekeeper
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 01 Mar 2012 12:30:03 -0800


On Feb 29, 2012, at 4:17 PM, Christopher Stone wrote:

But Apple did back the Cmd-Opt-L keyboard shortcut in Safari 5.12 or 5.13, and you can still paste urls into it.  It's just ugly and in the way now, and it has a bug in how it handles the completed-download stack.

I wonder if Chrome or FF will allow it to download in your setup.

For those who want a bit more muscle:

Leech ($14.00) - I liked it enough that I bought a copy after the Safari downloads window debacle.

Progressive Downloader (freebie) - I'm quite impressed with it.

Both of these will accept pasted links and both are scriptable, although I haven't tried working with PD yet.

FWIW, below is my home-grown solution, which I keep in my script menu (FastScripts).

Stan C.

-- Places pasted link on a web page, from where the link may be opened or the file downloaded
-- Written by Stan Cleveland, 2011/12/01
activate
with timeout of 14400 seconds
set theAddress to text returned of (display dialog "Paste the desired web link here:" ¬
 default answer "" buttons {"Cancel", "OK"} default button 2 with icon 1)
end timeout
set html to "<!DOCTYPE HTML PUBLIC>
<HTML>
<HEAD>
<TITLE>The Desired Link</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF>
<a href="" & theAddress & "\">" & theAddress & "</a>
</BODY>
</HTML>"
set theDesktop to "" & (path to desktop)
set fileRef to open for access file (theDesktop & "Temp.html") with write permission
set eof of fileRef to 0
write html to fileRef as «class utf8»
close access fileRef
tell application "Safari"
activate
open file (theDesktop & "Temp.html")
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Wanted: A Text View for AppleScript
  • Next by Date: Re: Gatekeeper
  • Previous by thread: Re: exiftools
  • Next by thread: Re: Gatekeeper
  • Index(es):
    • Date
    • Thread