Applescript Icon Problem
Posted: Wed May 07, 2008 7:00 am
Hi everyone,
I'm trying to make a simple applescript program that does set the image (icon) of the first account to an image on my dekstop. Here it is:
When i run it my adium icon jumps once in my dock. I click it and then the message is:

I click "OK" and then applescript tells me that: "Adium did catch an error: application 'Adium' can't be converted into an TIFF picture" ( -> bad translation, my scripteditor is in Dutch)
If i run it from within an Extra i get the same error
Thanks for your reply
Hans
(srr for my english, i'm dutch
)
I'm trying to make a simple applescript program that does set the image (icon) of the first account to an image on my dekstop. Here it is:
Code: Select all
tell application "Adium"
set image of the first account to (open alias "Macintosh HD:Users:Hans:Desktop:buddyicon.tiff" as data)
end tell

I click "OK" and then applescript tells me that: "Adium did catch an error: application 'Adium' can't be converted into an TIFF picture" ( -> bad translation, my scripteditor is in Dutch)
If i run it from within an Extra i get the same error
Thanks for your reply
Hans
(srr for my english, i'm dutch