Menu

How do you launch a Shortcut through IRule?

Help
2012-04-17
2013-01-01
  • Michael Gregorakos

    I know how create a shortcut from the desktop but usually Ctrl + Alt followed by a letter or number is required or sending a Function Key.

    I know how to add commands to iRule so I’m looking for the proper way to add a Ctrl & Alt command in iRule. Also would they be sent separately or altogether?

    Any input would be appreciated.
    Michael G

     
  • Charlie Kindel

    Charlie Kindel - 2012-04-17

    Michael,

    I'm not sure I understand your question.

    If you have a shortcut on your desktop do the following:

    - right click on it while holding down SHIFT
    - Click "Copy as Path"
    - Open your MCEControl.commands file
    - Add a new command like this:

         <StartProcess Cmd="myshortcut" File="" />

    In your editor place your cursor inbetween the empty quotes of File="" and do a Paste (Ctrl-V is the shortcut).

    You should have something like this:

         <StartProcess Cmd="myshortcut" File=""C:\Users\charlie\Desktop\MyShortcut.lnk"" />

    Restart MCE Controller and send it "myshortcut" and your shortcut should be launched.

     
  • Michael Gregorakos

    Charlie,
    I know in the iRule program \xOD is entered and then followed by the command. So how would I add a Ctrl + V command in the iRule program?  Later In the future I would like know how to add them to MCE controller as well.is would eliminate my need for an additional third party software.

    Currently I have 5 shortcuts listed in AquariusSoft Key Board Pro shortcuts, keys v-z located on the host computer. They work perfectly without entering any codes into MCE Controller host. I simply fire the letters through MCE Controller in the iRule Program. The problem is the keyboard for other uses, becomes virtually useless without putting something in front of the shortcut key.
    Your input would be most appreciated.
    Sincerely,
    Michael G

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.