Coder Social home page Coder Social logo

adryan100 / alfred-rdp-workflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frank-m/alfred-rdp-workflow

0.0 0.0 0.0 69 KB

Simple workflow to open Bookmarks from Microsoft Remote Desktop, based on https://github.com/ctwise/alfred-workflows/tree/master/remote-desktop

License: MIT License

Ruby 100.00%

alfred-rdp-workflow's Introduction

alfred-rdp-workflow

Simple workflow to open Bookmarks from Microsoft Remote Desktop, based on https://github.com/ctwise/alfred-workflows/tree/master/remote-desktop This can only be used if you have Alfred (https://www.alfredapp.com/) installed and have the Powerpack as well.

Why?

The version that was in the source repository was no longer maintained and was no longer functional. It also relied on using osascript to open 'Microsoft Remote Desktop', bring it to the foreground and simulate keypresses to open the session. This was not always working flawlessly.

How?

Two parts:

  • list_desktops.rb: Accepts one command line argument, the hostname, and uses the build in script option of the Microsoft Remote Desktop App to display the bookmarks in csv format. Then it searches for the hostname and returns that back to alfred via alfred_feedback.rb. This allows the user to search through the different bookmarks.

rdp alfread search

  • open_desktop.rb: Accepts one command line argument, the ID of the bookmark, and uses the build in --script bookmark export option of the Microsoft Remote Desktop App to get the rdp:// url. It then calls the rdp url and the session opens.

Todo:

  • Add testing/linting

Installation

You can compile it from source or download the latest binary from the releases page.

https://github.com/frank-m/alfred-rdp-workflow/releases

alfred-rdp-workflow's People

Contributors

frank-m avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.