Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 29, 2006, 05:43 PM   #1
tcmeyers
macrumors newbie
 
Join Date: May 2006
AppleScript & iChat - how to initiate a chat

We use iChat for intraoffice communications. There are a number of situations where triggering an AppleScript to start a chat with a fixed person and a 'canned' starting message would be very convenient.

I've looked at the AppleScript dictionary in iChat but it's beyond me to figure out how to use it to initiate a chat.

Can anyone supply me with sample code, or direct me to a resource that would explain how?

Thanks!

-Troy
tcmeyers is offline   0 Reply With Quote
Old May 29, 2006, 07:50 PM   #2
superbovine
macrumors 68030
 
superbovine's Avatar
 
Join Date: Nov 2003
Quote:
Originally Posted by tcmeyers
We use iChat for intraoffice communications. There are a number of situations where triggering an AppleScript to start a chat with a fixed person and a 'canned' starting message would be very convenient.

I've looked at the AppleScript dictionary in iChat but it's beyond me to figure out how to use it to initiate a chat.

Can anyone supply me with sample code, or direct me to a resource that would explain how?

Thanks!

-Troy
the easiest way so to make a simple html page with this format of link

Code:
<a href="aim:goim?screenname=ichat/aim&amp;message=hi user>username or text goes here</a>
for example if you aim/ichat id was troy

Code:
 <html>
      <head>
         <title>canned message for AIM</title>

      </head>


      <body>

	<a href="aim:goim?screenname=troy&amp;message=hi troy">Contact troy</a>
        <a href="aim:goim?screenname=sexygirl&amp;message=hey sexy">Contact Toy</a>

      </body>

    </html>
then just save it as an html file using your favorite text editor (not word). all this is considering you did everything under the correct html format.

Last edited by superbovine; May 29, 2006 at 07:55 PM.
superbovine is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Chatting with people from Gtalk, YM & MSN - what to use? pmll MacBook Pro 6 Apr 10, 2011 06:38 AM
[HOW TO] DIY iPhone 4 Swivel Car Mount QuarterSwede iPhone Accessories 13 Mar 8, 2011 02:51 PM
Bootcamp/Fusion & Win7 - how to install windows programs using remote disc? HelsinkiMac MacBook Air 0 Jan 16, 2011 12:56 PM
Applescript in Automator - how to accept input? open0source Mac Programming 2 Dec 4, 2010 03:56 PM
iChat - How to disable all iChat but Rendezvous (internal) on the server? emacellis Mac Applications and Mac App Store 2 Oct 23, 2003 11:02 AM


All times are GMT -5. The time now is 11:17 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC