I am using a script to get a number from the addressbook and call it
using skype. Everything works ok and Skype dials the number just fine.
Problem is, after skype is launched, quicksilver always closes and I
have to relaunch it.

Anyone can help me?


Here's my script:

-- callSkype is a Quicksilver action to make a Skype call
-- using text entered in QS.
-- Install this applescript to /Users/YOURHOME/Library/Application
Support/Quicksilver/Actions
-- elasticThreads, 2009  v1.0

using terms from application "Quicksilver"
        on process text qtxt
                set pn to my parsenum(qtxt)
                set cs to callskype(pn)
        end process text
end using terms from
on callskype(intext)
        triggerGrowl("Skyping:", intext)
        tell application "Skype"
                send command "CALL " & intext script name "CallScript"
        end tell
end callskype
on parsenum(thenum)
        set ASTID to AppleScript's text item delimiters
        set AppleScript's text item delimiters to {" "}
        set delimitedList to every text item of thenum
        set dlc to count text items of delimitedList
        set numlist to items 1 thru dlc of delimitedList
        set AppleScript's text item delimiters to {""}
        set I to numlist as string
        set AppleScript's text item delimiters to ASTID
        return I
end parsenum
on triggerGrowl(currentTitle, currentDesc)
        tell application "System Events"
                --set MyApp to name of the first process whose frontmost is true
                set processnames to name of every process
        end tell
        if "GrowlHelperApp" is in processnames then
                tell application "GrowlHelperApp"
                        set the allNotificationsList to {"Notification"}
                        set the enabledNotificationsList to {"Notification"}
                        register as application ¬
                                "Quicksilver" all notifications 
allNotificationsList ¬
                                default notifications enabledNotificationsList ¬
                                icon of application "Skype"
                        notify with name "Notification" title currentTitle 
description
currentDesc application name "Quicksilver"
                end tell
        end if
end triggerGrowl

Reply via email to