Dear God in heaven, how do you and where do you use this script? I'd love to
put the BARD and audible sites on my desktop but this sounds frightening, :)
Marlaina
On Dec 18, 2010, at 11:55 AM, louie wrote:
Sarah,
The below apple script will do what you want.
try
tell application "Safari"
activate
set theURL to URL of (document of window 1)
set theTitle to name of window 1
end tell
set theTitle to first word of theTitle
set res to "[InternetShortcut]
URL=" & theURL
do shell script "echo \"" & res & "\" > ~/Desktop/" & theTitle & ".url"
say "Web shortcut " & theTitle & " was created on your desktop."
on error x
activate me
display dialog x
end try
On Dec 18, 2010, at 11:45 AM, Sarah Alawami wrote:
> Hello all of you mac users. is it possible to add a shortcut to a webpage to
> your desktop or where ever? I can do that in other platforms but I cannot
> find a way to do this in OSX. I tried everything under the sun to.
>
> Thanks.
>
>
> Sarah Alawami
>
> MSN: [email protected]
>
> Website: http://music.marrie.org
> youtube: http://youtube.com/marrie125
> podcast: http://marrie.podbean.com
> podcast mobile http://marrie.podbean.com/mobile
>
> --
> You received this message because you are subscribed to the Google Groups
> "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/macvisionaries?hl=en.
>
louie
[email protected]
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/macvisionaries?hl=en.
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/macvisionaries?hl=en.