Howto:MyPBX on MAC OS: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
Create a new Script like this: | Create a new Script like this: | ||
<pre> | |||
'tell application "Safari" | 'tell application "Safari" | ||
activate | |||
make new document at end of documents | |||
do JavaScript ("window.open('http://x.x.x.x/PBX0/MY/client.htm?lang=de','_blank','titlebar=0');") in document 1 | |||
set bounds of window 1 to {980, 0, 1280, 926} | |||
close (every window whose name is "Top Sites") | |||
end tell' | end tell' | ||
</pre> | |||
x.x.x.x is the ip-adress of your PBX | x.x.x.x is the ip-adress of your PBX |
Revision as of 11:56, 8 April 2014
Applies To
This information applies to
- myPBX V9, V10
More Information
This Applescript starts the myPBX in a single Window on a MAC.
System Requirements
MAC OSx Rel. 10.x
Installation
Start Apple Script Editor Create a new Script like this:
'tell application "Safari" activate make new document at end of documents do JavaScript ("window.open('http://x.x.x.x/PBX0/MY/client.htm?lang=de','_blank','titlebar=0');") in document 1 set bounds of window 1 to {980, 0, 1280, 926} close (every window whose name is "Top Sites") end tell'
x.x.x.x is the ip-adress of your PBX
You can export this script as Program on your Desktop and start it automaticaly after bootup.
You can see the Solution in this short Video -> https://www.youtube.com/watch?v=-nCugVBfOkw