1/17/2024 0 Comments Does adium really work![]() ![]() Quotes are escaped, though, and only would-be URLs processed, so there should be little or no risk if you trust the friend in question. There is a theoretical possibility of someone injecting commands as parts of URLs, to get your shell to execute them. You could create multiple copies of the script to get around this. If they send you a message within five seconds of one another, though, their logs will be parsed for links twice – something that's unlikely to happen with multiple accounts belonging the same person. I've only specified contacts representing the same person (my girlfriend's accounts on various protocols), but I suppose it'd work with contacts from distinct persons as well. In the script, you can define the contacts you want to monitor. If you don't have a similar setup, beware. My Firefox is set to always open URLs from other applications in new tabs. On a technical note, the pause would delay the incoming message from displaying in the message log, until I put it in a detached process. The idea is that you should be prepared for the browser stealing focus. If the most recent event in the log is an incoming message less than five seconds old (so that an incoming ICQ message doesn't lead to an old outgoing Jabber message being processed), links are extracted and opened.īefore incoming URLs are opened, the OS X speech synthesizer informs you, and there is a two second pause. the contact on ICQ, Jabber and MSN), it finds the message log for today, if there is one. For each contact specified within the script (i.e. So the script is triggered on every incoming message. In the user info dialog for her meta-contact (ICQ, Jabber and MSN all in one), under the "Events" tab, I added this script to be run on "Message received". I wrote an AppleScript (wrapping a Ruby script, wrapping a detached shell, wrapping AppleScript :>) that is triggered whenever I receive a message from my girlfriend. ![]() So I made something similar for incoming URLs (in messages). I suppose you might be of another opinion if you often receive non-worksafe images in public places. If I receive an image, I'm very likely to want to open it. I like how my IM client, Adium, can be configured to open "safe" (e.g. ![]() You simply copy some of the message history and invoke the script through e.g. I then made a script to batch-open URLs from the clipboard. Support for a wide range of different Instant Messaging services (see the full list).Based on the libpurple protocol library. This required an effort on the behalf of the sender, though, and that they would collect all URLs before sending them. Open Source, so everyone can see how Adium works and help improve it.It uses the Cocoa API, is released under the GNU GPL and is developed by Adium contributors. My first attempt at automating away the pain was the Batch URL input userscript, where you could disguise several URLs as one, and have Firefox explode them into individual tabs. Opening each link manually by clicking is dreary, and it's easy to miss one. My girlfriend sends me quite a lot of links over IM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |