Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'intranet use / web use' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
intranet use / web use
Authored by: sreeves on Feb 15, '03 12:53:53AM

It would be nice if these schemas did something besides start up the application. "ichat:somebody" could fire off an IM to somebody. "addressbook:somebody" could search for and bring up that person's card.



[ Reply to This | # ]
intranet use / web use
Authored by: sreeves on Feb 16, '03 05:09:58AM

It seems the apps already do what I was asking for, sort of.

"addressbook://a-long-and-ugly-hex-id-code:ABPerson?edit" brings up a person's Address Book card in edit mode. (Leave off the "?edit" part just to view it.)

"iChat:compose?card=a-long-and-ugly-hex-id-code:ABPerson" fires off an IM to a person.

Of course, the hard part is figuring out the long-and-ugly-hex-id-code for a desired person. There doesn't seem to be a way to specify by name.



[ Reply to This | # ]
how do you retrieve the user's hex id code?
Authored by: bobolive on Jun 12, '03 10:14:59AM

can anyone provide more insight as to how one can retrieve the "long-and-ugly-hex-id-code"? or is there another way to use to ichat:// protocol to send an ichat IM to a user by clicking on a link, i.e.:

iChat:compose?card=a-long-and-ugly-hex-id-code:SomeUserName&message=hi+there!



[ Reply to This | # ]
how do you retrieve the user's hex id code?
Authored by: etrepum on Oct 31, '03 10:18:09AM
You should call these "ugly hex id codes" GUIDs (globally unique identifiers). Pretty standard junk if you've ever worked with COM or similar technologies. You can get/set all the info in AddressBook via the ABAddressBook framework, or by AppleScript.. For example:

tell application "Address Book"
    get the id of the first person
end tell

"64B68AC2-0452-11D8-9C94-000A95686CD8:ABPerson"

[ Reply to This | # ]