Random Buddy Icon |
|
Submitted By Takumi Murayama (zaudragon) |
DescriptionNEW IN 2.0Like Randam++, you can set a delay time for the script that is a half minute or greater. So 5 minutes would be /randicons{5} and 30 seconds would be /randicons{0.5}. I was dumb enough to use Replace All with randicons -> icons so use ~/Pictures/icons now :D 2.1 just fixes not closing access to the image, and has comments so you can understand it better. This is a script to give you a random buddy icon. Drop icons into ~/Pictures/icons and then invoke /randicon{delay} inside Adium Place /randicon{delay} in your profile, alias, or away/available message to refresh your icon automatically with your delay time. gummerdesign wanted this, and ialphan gave me the hope for extra delay times! Thanks! CommentsYou can reply to individual comments by clicking the "Reply" link next to each. # by Keymon on 03/14/05 at 23:30:00Hei, rules!!
I was searching for documentation to devel something like this :-D. # by Keymon on 03/15/05 at 00:06:42It's great, but changes icon too fast. Could the time be seted, for example using /randicon(300).
# by gummerdesign on 03/16/05 at 19:38:53yeyeyee just what i was looking for and its great whoooooooo thankyou for taking the time to do this for me its greatly apperciated :)
gummer xx # by zaudragon on 03/20/05 at 05:07:12No you're supposed to make the folder Pictures/randicons and THEN run the script.
Maybe I could fix that bug. # by Carwash on 03/25/05 at 10:33:04Great plugin, filling a real need! But...
"...Place /randicon in your profile..." How do you mean, exactly? # by zaudragon on 03/25/05 at 16:44:31Profiles are only in AIM (or at least the ones I'm talking about)
You could put it in your alias or display name for other services. # by ialphan on 03/28/05 at 01:44:29Is it possible to change the dir of the icons to a more specific dir?
ex. pictures/randicon to pictures/xyz/xy/z/randicon # by zaudragon on 03/28/05 at 02:46:43Yes, replace "~/Pictures/randicons" with your path (POSIX or UNIX-style)
Then, replace "(path to pictures folder as string) & "randicons:"" to your liking, this time as a Finder path. For example, for yours, "~/Pictures/xyz/xy/z/randicon" and "(path to pictures folder as string) & "xyz:xy:z:randicons:"" would work. # by ialphan on 04/04/05 at 20:29:03Thanks zaudragon!
I have a weird idea: Random nicknames! It could be retrieved from .txt file in a specified directory. Could this be done? # by zaudragon on 04/04/05 at 22:21:10ialphan: I made it, it's pending, and it'll be callsed Randam++
# by on 04/10/05 at 02:46:25Installing this version has made the script entirely non-functional for me.
# by Tbone on 04/10/05 at 15:01:05I don't understand it.
I*ve downloaded the file createt the direction Bilder (I'm german)>randicon and run the icon on my deskto. In my randicon directory are 17 pic, but adium for icq doesn even thik about changing. Where have ito type /randicon{delay}? have i to set 5 or 0,5 in the brackets? # by zaudragon on 04/10/05 at 19:35:00Anti: make sure you actually have something in its brackets. Otherwise it won't work.
TBone: I'm not sure how it'll work on a german machine. And I know that 0.5 works for us Americans, but I'm unsure if 0,5 will work. Sorry for the confusion guys, this was a weird release with dependencies such as your Pictures folder being ~/Pictures/ and not ~/Bilder/. Sorry, maybe I should fix that? # by on 04/10/05 at 21:23:14I'm having a problem with the fact that it's drawing my icons from my pictures folder, not the "randicon" folder. How do I fix this?
# by zaudragon on 04/11/05 at 02:55:50I think it got changed to ~/Pictures/icons? let me change the description
# by on 04/18/05 at 10:43:19I cant make it work :-( I made the folder for ~pictures/icons (in my users directory where also adium is installed) I installed the script in Adium and then put it in my away message and I tried also in my alias but nothing happens... In the script it says it makes or finds a file in the prefeneces folder but that file doesnt exist/is not made could that be the problem?
# by zaudragon on 04/19/05 at 23:05:45Anne marie: are you using an English system? because I made this totally reliant on english system-ness. I'll fix that later when at least 5 people need it... I'm lazy.
# by Anne Marie on 05/05/05 at 15:08:33If you talk about my computer no, I use the Dutch version. Or I think it is more bilangual... If that is the problem I wait patiently. Then I hope there will be few more people with the Dutch system that want to have this script.
The new adium x 0.80 here is standard in Dutch too, and I dont even like it in Dutch... so will this be a problem for the script anyway? # by on 06/18/05 at 14:33:56Is it possible to do a cript which takes a screenshot of the desktop and puts it as an user icon? Thanks
# by krisliu77 on 05/31/06 at 11:44:11i insert this script in my alias and also have one in my away messeng. but there is a "/randicon{5}" in my name, and my picture didn't change from ~/Pictures/icons
# by sdh on 02/22/07 at 08:59:07hiya!
One thing I'd like to see is buddy icon switching at a specified time. For example, between 08:00 and 11:00 to show some icon, then at 11:00 it switches to another one that'll be shown until 14:00, and a new one from 14:00 to 17:00 and so on... It doesn't have to be exactly at those times, this would be selectable. I don't mean random icons, but chosen ones for each time period. Is this possible, and will you consider this? And thank you for this great xtra! # by horaciosalva on 02/27/08 at 16:21:08Hello everybody! i'm sorry but a don't understand WHERE i have to write /randicon{0.5} to get this script working. I don't know from where apple scripts (adium) are executed.
Some say, write /randicon{0.5} in your profile.....where's that??????? others at the begining of the alias/away message ????? i've put my alias like this: "/randicon{0.5}Horacio" and it didn't change my buddy icon. are the "" mandatory??? thanks a lot guys! # by horaciosalva on 02/29/08 at 01:02:59i'm going to cry! why it doesn't woooooooork for me?????????????!!!!!!!!!!!!
# by Fishd on 03/11/08 at 09:07:23Ok, I think I've managed to fix this for the latest versions of Adium... but I know next to nothing about Applescript so you accept that this is at your own risk.
Navigate to the xtra... right click and choose 'Show Package Contents' Go into the 'Contents' folder, then the 'Resources' folder Right click on the 'Icons.scpt' file choose 'Open with...' and select 'Script Editor' Find the line that reads: set «class AusI» of every «class acct» to tifimagedata -- sets the buddy icon Change that line to read: set the image of every account to tifimagedata -- sets the buddy icon Click 'Compile' and save the script. Test it If it doesn't work now, you may need to open a terminal session and type: touch ~/Library/Preferences/com.adiumX.icons.scripts That file is supposedly created by the script but I couldn't find it on my system so I created it manually. # by soeshi on 05/07/08 at 14:54:49Hi, I just discovered this script and I think it would be great if it worked. I downloaded and installed it, but it won't work. I don't know if I did something wrong, but I don't understand what I have to do :s After I downloaded it and it was successfully installed, I created a folder named icons in the directory Afbeeldingen (Dutch for Pictures; I work with a Mac & Adiumprogramme in Dutch). Then I put the script /randicon{0.5}at the beginning of my nickname in Adium, but nothing happens :( Can you help me? I'd really want this script to work! Thanks!
# by zaudragon on 05/08/08 at 01:40:33I really don't know if this is compatible with recent versions of Adium. But anyway, I would say that having an actual folder called "Pictures" is necessary, since I think I use absolute paths in the script. And the best place to put this is probably your profile/display name.
# by soeshi on 05/08/08 at 17:56:02Hi, thanks for the answer. I managed to convert my folder Afbeeldingen into Pictures. So that should not be a problem anymore. But as you thougt, the script isn't compatible with the newest version of Adium. I downloaded the previous version and there the script works. Now, I use the 2 versions. I have 2 accounts and I want to use is with only one of them. Or it depends on my mood :) But it's not really practical. Is there any chance, you could make the script to work with Adium 1.2.5? Can you use the script for 2 accounts but each with different pictures? For example: account A gets pictures from folder 1 and the other account (B) from folder 2? Or is this too complicated?
# by pij on 07/29/08 at 11:48:25Hi this script would be exactly what i need.. i ask you if you could update it for the new adium version.. and it could be possible to put an order in the way pictures change?
i have tried to do some change but i'm not abble to do this. tnx # by pij on 07/30/08 at 08:35:33to make it work on new adium version i've made like Fishd says (tnx guy!) and to put order in images change i have do this repeat with num from 1 to (count of icons) set img to ((path to pictures folder as string) & "icons:" & (item num of icons) as string) -- gets the image .... .... set image of every account to tifimagedata -- sets the buddy icon delay 100 end repeat Post a New CommentYou must be logged in to post comments. |
|
# by dajak on 03/14/05 at 20:37:53