Timothy
  • Timothy
  • 100% (Exalted)
  • Flock Leader Topic Starter
2009-04-23T16:43:06Z
I've started finally having time to dedicate to RD Tabs 2.2. Since I wrote the roadmap, I've gotten interested in new things, so I'm adding a couple more features than I originally intended. Don't worry -- I'm a big advocate of preventing and controlling "feature creep" (that is, continually adding features so that a product never gets a stable release). I promise it will just be a few things and RD Tabs 2.2 will -- hopefully -- come out sometime in the fall. We will see how time permits. But I am anxious to get a lot of the new features going.

First previously unmentioned feature is PowerShell integration. I'm a huge fan of PowerShell. It turns out adding PowerShell integration into an application is very easy. RD Tabs will allow you to run scripts manually or fire them at specific events (such as starting a connection, ending a connection, application launch, etc.). I'm sure your mind is already whizzing at the possibilities. But it gets better. When scripts are run within RD Tabs, RD tabs exposes itself via an automation class to your script. You will be able to control aspects of the RD Tabs UI from within the script. Here's an example. Let's say you want to open a whole slew of tabs in a specific way. Please note that I have not settled on the namespaces yet, so the below code may not actually work in the final version of RD Tabs 2.2. It is presented purely for the purpose of demonstration.

# Close all tabs
$RDTabsAutomation.CloseAllTabsAndTabPanels();

# Opens a new connection to a new server
$newtab = $RDTabsAutomation.ActivePane.CreateTab("server1.domain.com");

# Closes all other tabs (the default empty tab) in the current tab pane except the tab we just created
$newtab.CloseAllTabsInThisPaneExceptThisTab();

# Open a few more connections
$RDTabsAutomation.ActivePane.CreateTab("server2.domain.com");
$RDTabsAutomation.ActivePane.CreateTab("server3.domain.com");
$RDTabsAutomation.ActivePane.CreateTab("server4.domain.com");

# Open a new connection in a tab pane split to the right of the current tab pane
$newtab.ParentTabPane.CreateTabInNewPaneToTheRight("server5.domain.com");

# Set the properties of the connection another way and open a new tab
$connection = $RDTabsAutomation.GetNewConnectionProperties();
$connection.Computer = "server5.domain.com"
$connection.RdpPort = 5111
$connection.Username = "Administrator"
$connection.Password = "password"
$connection.AllowDesktopBackground = $false
$RDTabsAutomation.ActivePane.CreateTab($connection);
Users browsing this topic
full film