Howto:MyPBX on MAC OS: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Ldi (talk | contribs)
New page: ==Applies To== This information applies to * myPBX V9, V10 <!-- Keywords: enter keywords, foreign translations and/or synoyms not appearing in the article here for better search results ...
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
This information applies to
This information applies to


* myPBX V9, V10
* myPBX V9, V10 and later


<!-- Keywords: enter keywords, foreign translations and/or synoyms not appearing in the article here for better search results -->
<!-- Keywords: enter keywords, foreign translations and/or synoyms not appearing in the article here for better search results -->
Line 16: Line 16:
Create a new Script like this:
Create a new Script like this:


----


<pre>
'tell application "Safari"
'tell application "Safari"
activate
activate
make new document at end of documents
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
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}
set bounds of window 1 to {980, 0, 1280, 926}
close (every window whose name is "Top Sites")
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
{980, 0, 1280, 926} is Windowsize and Position


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


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





Latest revision as of 10:45, 15 February 2017

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