Facebook App for OS X and Safari
For those of us who are too lazy to open Safari and click on a favorite link for facebook, you can make an application with applescript, save it as an app, give it a relevant icon with Img2icns, and put a shortcut on your dock. Here is the code--written in Snow Leopard 10.6.4
set skiList to {"http://www.facebook.com"}
set numURLs to (count skiList)
tell application "Safari"
activate
--open new window
make new document
-- open the URL
tell window 1
set URL of tab 1 to (item 1 of skiList)
repeat with i from 2 to (numURLs)
make new tab with properties {URL:item i of skiList}
end repeat
end tell
end tell
No comments:
Post a Comment