script to paste link into message

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
twfarley
Harmless
Posts: 3
Joined: Tue Aug 30, 2005 6:50 am
Location: Los Angeles
Contact:

script to paste link into message

Post by twfarley »

I am constantly sending people links to my site but in order to do so I would have to type out a really long address that gets to be a hassle. I am wondering if there is a way to make an adium script to paste in the link so that I could add the file name and press enter to have then entire link show up. I'm not asking anyone to do this for me, just some guidance would help. Thanks in advance!!
shanecavanaugh

Post by shanecavanaugh »

You can type %_safari and send that to a person to have a link to the page you currently have open be sent to them. More info here.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Even better would be to make your own .AdiumScripts xtra with a script which took 1 argument and something close to this:

Code: Select all

on substitue(filename)
 return "<HTML><A HREF=\"http://yoursite.com/path/" & filename & "\">" & filename & "</A></HTML>"
end substitute
The duck still burns.
--
My company: Saltatory Software. Check it out :)
twfarley
Harmless
Posts: 3
Joined: Tue Aug 30, 2005 6:50 am
Location: Los Angeles
Contact:

Post by twfarley »

Sweet! I think I can work with that! Thanks!
Post Reply