Loading...
Logo
Processing Forum

Hi!

i want to make a processing sketch that opens my "Skype.app" and the call me,  i used "open()" function to do it but i don't how to pass the command lines
Does anyone have tryed this?

Copy code

  1. void setup() {
      size(200, 200);
    }

    void draw() {
      // draw() must be present for mousePressed() to work
    }

    void mousePressed() {
      String[] params = { "/Applications/Skype.app"};
      open(params);
    }
i found this for Windows:

/nosplash - do not display splash screen when Skype starts
/minimized - Skype is minimized to system tray when it starts
/callto:nameornumber - call the specified Skype Name or SkypeOut number
/shutdown - close Skype /secondary - allows you to start an additional skype.exe instance


thanks,

Rodrigo



Replies(2)

you dont  need to do it via command line.
you can do it by using link().

running this code : link("skype:CedricKiefer?call"); you call me
running this code : link("skype:CedricKiefer?add"); you add me...
and there are some more ways to link to skype.  you probably find them on the skype homepage.
thanks Cedric ! it works perfectly :D