Auto-Connecting from XP Remote Desktop
Novell Cool Solutions: Tip
By Werner Zeller
|
Digg This -
Slashdot This
Posted: 5 May 2005 |
Problem
We integrated various Windows applications with SSO V3.51 without a problem. But now a customer wants to integrate the XP program Remote Desktop to automatically connect to different servers.
Solution
Here's a script to do that - you can customize it as needed.
Script
Dialog Title "Remote Desktop Connection" Class "#32770" EndDialog #Messagebox "Success!" ReadText #901 ?ComboBox Type \|40 ReadText #901 ?ComboBox2 PickListAdd ?ComboBox PickListAdd ?ComboBox2 PickListAdd "Server11" "Server11" PickListAdd "Server12" "Server12" PickListAdd "Server13" "Server13" PickListAdd "Server14" "Server14" PickListAdd "Server15" "Server15" PickListAdd "Server16" "Server17" PickListDisplay ?Server "If your Server is not listed below, enter the Servername or IP-Address" Type ?SERVER #901 SetPlat ?SERVER Type \ALT+O Type -RAW \T Type -RAW \T Type -RAW \T SetPrompt "Username ===>" Type -RAW $Username Type -RAW \T SetPrompt "Password ===>" Type -RAW $Password Type -RAW \T SetPrompt "Domain ===>" Type $Domain #Type \ALT+E Type -RAW \T Type \ALT+V SetPrompt "Please enter your credentials for the Server you want to log on to" Dialog Title "Look for computers" Class "#32770" EndDialog
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

