Shortcut for G4 javacript
kstenbac
Junior Member
Hi,
does anyone know if it is possible to create a shortcut for G4 panel's web control? In other words, is it possible to open the web control panel without opening the Netlinx master's web control page first?
I tried to create a shortcut from a master's web control page by dragging a G4 link to desired location but it doesn't work - probably because the javascipt is located in the master (or in panel?) and the shortcut doesn't contain any ip address. The content of my shortcut is simply "javascript: showPanel('192.168.1.103','5900','CV12')"
If I first go to master's web control page (by typing master's ip in the browser) and then copy and paste the G4 shortcut to browser's address bar then it works.
-Kari-
does anyone know if it is possible to create a shortcut for G4 panel's web control? In other words, is it possible to open the web control panel without opening the Netlinx master's web control page first?
I tried to create a shortcut from a master's web control page by dragging a G4 link to desired location but it doesn't work - probably because the javascipt is located in the master (or in panel?) and the shortcut doesn't contain any ip address. The content of my shortcut is simply "javascript: showPanel('192.168.1.103','5900','CV12')"
If I first go to master's web control page (by typing master's ip in the browser) and then copy and paste the G4 shortcut to browser's address bar then it works.
-Kari-
Comments
-
Hi kstenbac,
Here is a shortcut you can try. This will open the G4 panel in a browser window with the toolbar and scroll bars. If you want to duplicate the same type of window you see when you click the link on the master?s web control page then I think you?ll have to create your own custom html page with the JavaScript embedded to open a pop up window.
Assuming your master is 192.168.1.100 and your G4 panel is 192.168.1.103 and the port # being used is 5900 then the shortcut would be:
[url]http://[/url] 192.168.1.100/G4WebControl.asp?ip=192.168.1.103&port=5900
Note: I had to put an extra space between the [url]http://[/url] and 192. or the URL gets abbreviated when I post.
Joe -
Hi Joe
thanks for your reply! This is enough at the moment. Now I think I'll have to learn some more html coding to create a custom page ;-)
Kari
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums