Jump to content
Flirc Forums
cobels

How to save a string

Recommended Posts

How do i save a string ? 

 

Example

 

How do i save the word bike to a key of my remote. So that when i press the key the word bike shows up. It works with one letter so how to make it how with multiple letters? 

  • Like 1

Share this post


Link to post
Share on other sites

why would you wont /need to do such a thing?

 

It would be  virtually impossible to to, every key has it's own code.

Share this post


Link to post
Share on other sites

After i do a remote desktop session with my htpc. The screen of my htpc locks and i have to put in the password again to unlock my htpc. So if i could put the password under a key of my remote that would be helpfull.

 

regards,

Share this post


Link to post
Share on other sites

While it won't help with your actual request (to save a string to a remote keypress), I may be able to help.  I have an HTPC that I RDP into frequently, and was frustrated that, after doing so, I'd have to put in the password again from my couch.  So, I created a batch file on the desktop that runs this command:

 

C:\Windows\System32\tscon.exe 1 /dest:console

 

That will disconnect the RDP session without locking the computer.  To disconnect, I just double click it.

 

*Note: I have found that sometimes, I have to put in 2 instead of 1 in that command.  Haven't figured out why, exactly, but experience tells me it happens.  If that happens for you as well, you can just put the command in the batch file twice, once with a 1 and once with a 2.

  • Like 1

Share this post


Link to post
Share on other sites

I executed the command as administrator but got an error: "Could not connect sessionID 0 to sessionname console, Error code 5 Error [5]:Access is denied.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...