Jump to content

Fridays' Swyx Tip #22: Open file or webpage

Tom Wellige



From 2009 to 2011 mirjam baumberger wrote a great blog, the "Fridays' Swyx Tip". Every Friday she posted a tip regarding the usage of SwyxWare and connected tools and devices. As the old forum is offline, this article series will be restored here again over the time. Please note that some information in this article series might not be valid anymore with current SwyxWare versions.


This blog article was originally posted on 02.07.2009 22:00


Dear Swyx Users


Did you know that with a single mouse click one can open an application or website directly from SwyxIt!?


Shortcuts are used to create links to frequently used programs and web pages. This allows you to call an online phone book or open a word document with just one click.


On the “Standard Skin”, only the Swyx logo is defined as a shortcut button. But one can easy can configure additional shortcut buttons with the Skin Editor. In the sample below you can see the Yellow-Page logo and three additional buttons on the top right corner.




To link a web-site to a shortcut button is really easy:

  1. Right click on the logo and select properties

  2. Set the command field to "http://www.yellowpage.co.nz"
  3. Click on OK
  4. Finished !!!

    A single click on the shortcut is now opening the yellow-pages website :- )


    So far a no-brainer... additionally I have configured three more buttons.



This is how you link a word document to a Shortcut button:

  1. Click the right mouse button on the Shortcut button.
  2. Click on "Properties"
  3. Enter the full path of the document to be run in the "Command" field. C:\Documents and Settings\[user name]\My Documents\IC_request_form.doc

  4. In the field "Working directory", you have the option of entering the path to the working directory you want.

    Programs sometimes require files which are stored in another location. For this reason, you enter the path to the working directory here so that these file can be located.
  5. Click on "OK".
  6. Finished

    A single click on the shortcut is now opening the word document 🙂



It can also get more advanced, as one can run a small VB Script file, and pass on caller information such as number or caller names. The sample below opens Google and searcher for the number displayed in your SwyxIt soft phone.


WLW-openfileorwebpage_12C77-SerachNumberinGoogle_2.jpg    WLW-openfileorwebpage_12C77-SearchNumberGoggle.jpg


' url to open
dim szURL
szURL = "http://www.google.co.nz/search?hl=en&q=+"
szPOSTURL = "&meta=cr%3DcountryNZ&"

' get SwyxIt Line Manager object
dim clmgr
set clmgr = WScript.CreateObject("CLMGR.ClientLineMgr")

' get currently selected line
dim oLine
set oLine = clmgr.DispSelectedLine

dim szNumber
szNumber = oLine.DispPeerNumber

' open URL if the number is not empty
If Len(szNumber) <> 0 Then
	dim oWsh
	set oWsh = WScript.CreateObject("WScript.Shell")
	oWsh.Run szUrl + right(szNumber,Len(szNumber)-1) + szPOSTURL
End If


Any questions?


Have a good weekend and happy Swyxing...





@ IT Net World Ltd, NZ & AUS SWYX Distributor





Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.