2012-02-20 6 views
0

AppleScript 스크립트를 사용하여 Quicksilver를 통해 내 연락처에 msg를 보냅니다. 그것은이 (link)처럼 유사하게 보이지만 라인은 상대에게 메시지를 보낼 수 있습니다 :AppleScript로 Adium 채팅 탭을 만드는 방법

tell account of im_contact 
    set newChat to make new chat with contacts {im_contact} with new chat window 
end tell 

예 : 앤에 MSG를 보내, 눌러 퀵실버를 활성화 입력 anne: my message here 그것은 것이다 '.' 배경에 입력 된 메시지가있는 Anne과 새로운 채팅 창을 만드십시오. (새 집중 창으로 인해 내 워크 플로가 중단되는 것을 원하지 않으므로 백그라운드에서 좋아합니다.)
문제는 다른 연락처에 대한 것입니다. 탭이 아닌 다른 채팅 창을 만듭니다.

나는 도움을 에이디 엄을 이메일로 그들은 성공하지 이것을 시도달라고 :

tell account of im_contact 
    set newChat to make new chat with contacts {im_contact} at end of chat window 1 with new chat window 
end tell 

또는

tell account of im_contact 
    set newChat to make new chat with contacts {im_contact} at end of chat window 1 
end tell 
나는 그것이 새로운 대신 탭을 만들 수 있도록이 스크립트를 수정하는 방법

백그라운드에서 창을 채팅 하시겠습니까?

set existing_window to first chat window 
tell account of im_contact 
    to (make new chat with contacts {im_contact} at end of (chats of existing_window)) 
end tell 
:

답변

관련 문제