SDL PowerShell Toolkit

SDL is pleased to announce the availability of a beta version of the SDL PowerShell Toolkit.

The SDL PowerShell Toolkit is a set of modules using Windows PowerShell scripting technology and the Project Automation and Translation Provider APIs from the SDL Trados Studio Professional SDK. In a nutshell, the modules provide functions and sample code that you can re-use in your PowerShell scripts to automate SDL Trados Studio. They feature an initial set of code for use in typical Studio automation tasks such as creating a project, a translation memory or a package derived from a project. You can use these as a starting point for your own PowerShell-based efforts. It is assumed that the reader is familiar with Windows PowerShell as well as an initial understanding of the SDL Trados Studio SDK, in particular the project automation API.

Over time, we would like to see the development community develop further modules and helpful functions that we can share with each other.

Best regards, Ian

Ian Davies | Senior Product Manager | SDL | Language Technologies Division | +44 7826843819

Paul Filkin | RWS Group

________________________
Design your own training!

You've done the courses and still need to go a little further, or still not clear? 
Tell us what you need in our Community Solutions Hub

PowerShellToolkit.zip
Parents
  • Hi,

    Just an update to let you know that there is an updated version of the PowerShell Toolkit here:

    No major changes, but support for Studio4/5 and couple of things here and there:

    • The paths to the .dll files are now identified regardless of the operating system(32-bit of 64-bit)
    • The user can select which version of Studio is in use (Studio4 or Studio5)
    • The script now creates in "SampleRoundtrip.ps1" a sample text file with custom content
    • The "Get-Project" function only requires as parameter the path to the .sdlproj file
    • The "New-Project" function automatically creates the source file directory
    • Updated the "New-FileBasedTM" function from TMHelper module to use the new implemention from Studio
    • Updated the "New-Project" function from "SampleRoundtrip.ps1” to use the new implementation from Studio

    Thanks to  for updating it and to  for his advice during the process.  I know this doesn't solve all the problems raised as some of the things require changes in Studio but this is an improvement which I hope will be useful.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • To give back something to the community, here is my modification of the Powershell Toolkit.
    I dare to say that after all the modifications and enhancements it has hardly something to do with the original toolkit anymore...

    https://github.com/EvzenP/STraSAK/

    I have also a GUI launcher created as Powershell script, but since it's somehow contradicting the main purpose of scriptable automation (i.e. avoiding clicking in GUI), I'm probably not going to release it anyway ;-)

Reply Children