Jump to content

Remote Desktop


Recommended Posts

Hi Guys,

I'm very new at all this but have managed to get two or three scripts running, usually by copying or building on something already out there though! However, now I'm stuck, can you help?

I am trying to write a script that will open a remote desktop session and then run a program in that session. Remote desktop is all set up, but every time it runs I need to click 'connect'. Once connected I need a program inside the remote desktop to run.

How do I do this?

I hope you can help!

Link to comment
Share on other sites

I do not have permission to edit my post :S

So anyway - UPDATE: I have found an option in the Remote Desktop Connection Utility that can start a program on connection! Perfect! Now I just need to:

1) Automate the opening and connection of remote desktop - I plan to use the terminate command with a hot key to close it.

2) Send commands from my bluetooth remote over through remote desktop.

Both of these have me completely stuck!

In reply to Daniel:

I am trying to run a game on my powerful desktop but control it using an old laptop plugged into my tv set up. Surprisingly this works! I was able to manually start remote desktop and smoothly play a game using mouse and keyboard without lag - I was very impressed! Now I just need to automate this process so that I can launch one .exe to do the whole lot for me. My old laptop is my media center running xbmc and I dont have access to use the keyboard or mouse. So the plan is to use the advanced launcher to run the exe (I already do this for simpler tasks so I know it works)Thanks,

Edited by darksupernova
Link to comment
Share on other sites

Rather than trying to write somthing yourself, have you ever used Teamviewer?

Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 
Link to comment
Share on other sites

I haven't tried it yet as, so far, all the posts I've read say that remote desktop is faster - when playing games, keeping lag to a minimum is a must!

Do you know if teamviewer would solve my problem of sending Bluetooth game-pad commands?

Also do you know if an autoit script already exists to run and connect to a specified host using teamviewer?

Thanks for your quick response!

I have found several USB redirect programs for remote desktop connection, lets say for arguments sake that these work for my usb bluetooth dongle to redirect game-pad inputs, how hard would it be to write a script that automates the redirection?

Edited by darksupernova
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...