Swyx Desktop for macOS: How to start scripting?

Pinned

Comments

4 comments

  • Official comment
    Avatar
    Thorsten Fröhlich

    Hi Lennart

    you can see all commands and objects for controlling the Swyx Desktop App if you…

    1. Open the app Script Editor.
    2. Click on Window | Library.
    3. Click on + and add "Swyx Desktop" to the library.
    4. Open the Swyx Desktop Suite by double-clicking on Swyx Desktop within the library.
    This will hopefully help you.
    Comment actions Permalink
  • Avatar
    Lennart Fröderberg

    Hi!

    Since I'm a complete newbie at applescript, is there a very simple skeleton example script (with a call to a Swyx command) somewhere to be found?

    All the best!!

    /Lennart

    0
    Comment actions Permalink
  • Avatar
    Lennart Fröderberg

    Hi again,

    Thanks for the answer!
    It works fine to a certain extent....

    I can, from an external script, make the Swyx desktop app call an external number and
    hangup current calls but 
    how do I answer an incoming call? I can't find a "Pick Up" library function anywhere...

    The script is supposed to reside in the central applications folder and NOT in the Swyx Desktop script folder.

    /Lennart

    0
    Comment actions Permalink
  • Avatar
    Martin Hüser

    I don't think it's possible to get the app to answer an incoming call via script api function right now.

    There is support in the app to run an arbitrary script upon incoming calls. See https://help.swyx.com/ngclients/1.00/Mac/Swyx/en-US/index.html#page/help/chap_scripts.html%23

    1
    Comment actions Permalink

Please sign in to leave a comment.