On 22 Jun 2016, at 3:22, Beery Holstein wrote:

I'm looking for a way to take a url and create a .url file from it. For example, with a url of http://www.alfredforum.com/, the result file might
be

[InternetShortcut]
URL=http://www.alfredforum.com/

You should be able to do this with AppleScript like

using terms from application "Quicksilver"
        on process text theText
                set theURL to the quoted form of theText
                do shell script "echo " & theURL
        end process text
end using terms from

(You’d have to fill in the “shell script” part to actually do what you want.)

Or you could write an actual shell script that takes a URL as its first argument and call it with the “Run in Terminal […]” action, putting the URL in the first pane. (Not sure if there’s a reverse equivalent to that one.)

--
Rob McBroom
http://www.skurfer.com/

--
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.

Reply via email to