Howto:MyPBX on MAC OS

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

  • myPBX V9, V10 and later


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 {980, 0, 1280, 926} is Windowsize and Position

You can export this script as Program on your Desktop and start it automatically after boot-up.

You can see the Solution in this short Video -> https://www.youtube.com/watch?v=-nCugVBfOkw