Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
We're just getting started with Windchill in a teaching lab (windows 7)situation, therefore the users will rarely log on to the same PC twice meaning they have to connect to the server every time they start ProE [5.0] on a different PC (the server connection will only be retained on PCs having their profile and all profiles are scrubbed at the end of each day)
I'm not on the IT side, simply the instructor in the lab, but isn't there a way we could start ProE with a script(?) or batch file(?) which connects to the server at the same time therefore immediately prompting the user for their login details?
An suggestions, comments or even example files and instructions gratefully recieved,
Cheers, Sean
I've since found David Graham and Randy Jones suggestion from last year to use a Mapkey:
!===================================
! Register to PDMLink Server
!===================================
mapkey rs @MAPKEY_NAMERegister to the PDMLink server on chs003;\
@MAPKEY_LABEL*Register PDMLink Server;\
~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
~ Close `main_dlg_cur` `MenuBar1`;\
~ Activate `main_dlg_cur` `Utilities.psh_util_weblnk_server_registry`;\
~ Activate `siteregistrydialog` `NewServerPshBtn`;\
~ Input `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ Update `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerNameIPanel`;\
~ Input `registernewserverdlg` `NewServerLocationIPanel` \`http://chs003.emhartglass.net/PDMLink`;\
~ Update `registernewserverdlg` `NewServerLocationIPanel` \`http://chs003.emhartglass.net/PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerLocationIPanel`;\
~ Activate `registernewserverdlg` `NewServerCheckPshBtn`;
!!!
Which I’ve modified to:
!===================================
! Register to PDMLink Server
!===================================
mapkey rs @MAPKEY_NAMERegister to the PDMLink server on windchilleducation;\
@MAPKEY_LABEL*Register PDMLink Server;\
~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
~ Close `main_dlg_cur` `MenuBar1`;\
~ Activate `main_dlg_cur` `Utilities.psh_util_weblnk_server_registry`;\
~ Activate `siteregistrydialog` `NewServerPshBtn`;\
~ Input `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ Update `registernewserverdlg` `NewServerNameIPanel` `PDMLink`;\
~ FocusOut `registernewserverdlg` `NewServerNameIPanel`;\
~ Input `registernewserverdlg` `NewServerLocationIPanel` \'https://windchilleducation.eu/Windchill/';\
~ Update `registernewserverdlg` `NewServerLocationIPanel` \'https://windchilleducation.eu/Windchill/';\
~ FocusOut `registernewserverdlg` `NewServerLocationIPanel`;\
~ Activate `registernewserverdlg` `NewServerCheckPshBtn`;
!!!
But the mapkey stalls on inputting the server address – see attached
The only difference I can see (other than the address itself) is that it’s an https
Any ideas what might be the issue?
Cheers, Sean
(ProE 5.0, WinXP)