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

Similar Threads
thread Thread Starter Forum Replies Last Post
Applescript & Aperture -- useful? garycurtis Mac Applications and Mac App Store 5 Apr 26, 2014 05:52 AM
Resolved: Tiger iChat Facebook Chat roadbloc PowerPC Macs 5 Mar 6, 2014 04:47 AM
Facebook chat through Jabber (Messages, iChat)? swingerofbirch Apple, Industry and Internet Discussion 2 Oct 25, 2013 05:34 AM
Automator &amp;/or AppleScript Help iRooney OS X 10.8 Mountain Lion 0 May 24, 2013 09:58 PM
Nothing you didn't know but... (AT&T Chat) iBreatheApple iPhone 7 Sep 10, 2012 09:35 AM

Forum Jump

All times are GMT -5. The time now is 02:56 AM.

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

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