Automator/ichat string evil

After hours of trying to coax this thing into sanity, I Want to EAT MY OWN FACE OFF!!!
I’m an expert on a forum of a different topic, and I know how annoying ignorant newbies are. so I apologize.

hears the scenario:

Automator WorkFlow:
Block1: Applescript: return all online video accounts (works fine)
block2: select an account, (works fine) example of return: {“AIM:trailoftealeaves”}
Block3: apple script

now I just want to video invite that account… THATS IT!

heres what I’ve got so far:


on run {input,parameters}
tll application "ichat"
     set myreturned to item 1 of input
-- how do I get an account object from myReturned??????!!!!!
-- I've tried everything and I'm in over my stupid stupid head

-thanks for your time
-sorry again to for stupidity
matt

checklist
√ the web
√ the ichat library
√ mac scripter .net

I don’t use iChat, but the structure of what you want to do is like this:


property account : "theAccountStuff" -- you could also just define it: 'set account to "   "
property object : "however an invitation works or a reference to the object to be sent" -- a reference to something
tell application "iChat" to send object to account