Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 20th, 2003, 10:53 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
aim:goim

i'm sure most of you are familiar with the hyperlink
php Code:
Original - php Code
  1. <a href="aim:goim?screenname=SomeScrnName&message=j0+f0+rail+dawg">msg me</a>
which opens an instant message through the aol instant messenger client - addressed to the screen name specified and ready to send yah.

now although i'm sure it's not possible via the aim program alone cause it'd be quite a feature, i'm wondering how i can get that message to automatically send itself (example: when the instant message opens, i do not want to manually click "send" i just want it to send the message immediately after i click the link) i'm not even picky about it, if i could get the message to automatically send, EVEN if on my computer alone and nobody elses i would be happy.

any idea's? er.. is it not gonna happen?

Reply With Quote
  #2  
Old February 21st, 2003, 12:48 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: aim:goim

not gona happen.

if there is a way to do it with javascript onclick, than it can be done on document load (without your intervention), and that could be a source of trumendes spam...

(think how hard it would be for aol to stop the spam from all of the visitors of some site... and they wouldn't even be aweare of it ;)

Reply With Quote
  #3  
Old April 26th, 2003, 07:20 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: aim:goim

There is a way to do something like this if you're willing and able to compile your own aol client. I did this on Linux with gaim (a Linux instant message client). I used gaim-0.62. Get the code. In gtkconv.c, after the send_db function (around line 5295) add:

void
send_click_HACK(struct gaim_conversation* conv)
{
struct gaim_gtk_conversation* temp_gtkconv =
GAIM_GTK_CONVERSATION(conv);
GtkWidget* pButton = G_OBJECT(temp_gtkconv->send);
send_cb(pButton,conv);
}

Then in util.c add (near the top after the #includes):

extern void send_click_HACK(struct gaim_conversation* conv);

and finally in util.c (around line 1050 in the function handle_uri) change

if (what) {
struct gaim_gtk_conversation *gtkconv = GAIM_GTK_CONVERSATION(c);

gtk_text_buffer_insert_at_cursor(gtkconv->entry_buffer, what, -1);

g_free(what);
}

to this:

if (what) {
struct gaim_gtk_conversation *gtkconv = GAIM_GTK_CONVERSATION(c);

gtk_text_buffer_insert_at_cursor(gtkconv->entry_buffer, what, -1);

g_free(what);

send_click_HACK(c);
}

Now you need to recompile and install the new client (./configure, make, su root, make install)

When this is done

/user/local/bin/gaim-remote uri aim:goim?screenname=THE_SCREEN_NAME&message=THE_MESSAGE

will automatically send the message. The idea is that you're causing the "Send" button to be pressed when a message comes in from gaim-remote.

--robertryan.brown@verizon.net






Reply With Quote
  #4  
Old April 26th, 2003, 07:26 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: aim:goim

Sorry that should have read,

In gtkconv.c, after the send_cb function (around line 5295) add:

rather than

In gtkconv.c, after the send_db function (around line 5295) add:

This should also work from web pages though I haven't tried.

--robertryan.brown@verizon.net

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > aim:goim


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway