|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||||
|
|||||
|
aim:goim
i'm sure most of you are familiar with the hyperlink
php Code:
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? |
|
#2
|
|||
|
|||
|
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 ;) |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > aim:goim |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|