Fridays' Swyx Tip #22: Open file or webpage
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:
Right click on the logo and select properties
Set the command field to "http://www.yellowpage.co.nz"
Click on OK
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:
Click the right mouse button on the Shortcut button.
Click on "Properties"
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
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.
Click on "OK".
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.
' url to open dim szURL dim szPOSTURL 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
Have a good weekend and happy Swyxing...
@ IT Net World Ltd, NZ & AUS SWYX Distributor
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
Already have an account? Sign in here.Sign In Now