Hi Paul,

Yes, there are two file formats that act in the way you describe: when you open 
them from a location in Finder, such as from on your Desktop or when placed in 
the Dock, they will cause Safari to open in that web page.  For the past nearly 
four years I've been using a GUI-based application called Weblocmaker to create 
such files, which have extension names of ".webloc" or ".url". The name 
"webloc" refers to "web location".   The problem is, the Weblocmaker 
application runs under Rosetta for Intel Macs, and although this support has 
been present for Mac OS X up through Snow Leopard, it has been discontinued for 
Lion.

The .webloc file is quite general, and will open in whatever default browser 
you use, which need not be Safari.  The .url file is the version that works 
with Windows, and recent versions of Safari will also open at this location.  
But it will not work generally with other browsers.  

I haven't successfully scripted this yet, but you can try this simple 
alternative.  In Terminal, using an editor like vim or pico, create a file with 
three lines:
[InternetShortcut]
URL=http://www.apple.com/

The third line only has a carriage return -- you type two lines, but press 
"return" at the end of the second line's URL, so your cursor is on the third 
line.  Then save the file with a name that has a ".url" extension.  In the 
above case, where I wrote "URL=http://www.apple.com";, you might use a name like 
"apple.url" (without the quotations).

Now try opening the file with Command+Down Arrow or Command+O.  It should open 
in Safari at the URL you gave.  You may also be able to create the file with a 
Windows editor.  TextEdit won't work unless you change the line end characters 
to carriage return.

HTH.  I'll email you sample .webloc and .url files off list.

Cheers,

Esther


On Aug 30, 2011, at 00:21, Paul Hopewell wrote:

> Hello, 
> Is there an accessible way to save links to frequently accessed web pages, 
> such as the weather forecast, in the dock or on the desktop so that they can 
> be quickly accessed?
> Many thanks. 
> 
> Paul Hopewell 

<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to [email protected]

You can find an archive of all messages posted    to the Mac-Access forum at 
either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

Please remember to update your membership options periodically by visiting the 
list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

Reply via email to