Autohotkey: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Autohotkey is a program that can be used to make hot keys etc. When used with [[The_Command_Line|command lines]] or [[Media_Center_Core_Commands|MCC commands]], there is one thing to remember. A comma must be escaped with a ` otherwise Autohotkey will interpret it as the next parameter for a Autohotkey command.
[http://www.autohotkey.com/ Autohotkey] is a program that can be used to make hot keys etc. When used with [[The_Command_Line|command lines]] or [[Media_Center_Core_Commands|MCC commands]], there is one thing to remember. Autohotkey requires commas to be escaped with a [http://en.wikipedia.org/wiki/Grave_accent grave accent] (`) character. Otherwise Autohotkey will interpret it as the next parameter for a Autohotkey command.


Example:
'''Example:'''
The code for switching to Playing Now in Theater View is MCC 22001,2
In Autohotkey the command would be


To use [[Media_Center_Core_Commands#View|MCC_THEATER_VIEW command]] (23000) in Playing Now mode (to switch directly to Theater View's Playing Now) with the [[Media_Center_Core_Commands#Issuing_a_command_from_the_command_line|MC Command Line launcher]] in Autohotkey, you'd use something like:
run mc19.exe /mcc 22001`,2

<tt>run mc19.exe /mcc 22001`,2</tt>


[[Category:Frequently Asked Questions]]
[[Category:Frequently Asked Questions]]

Revision as of 18:35, 11 April 2014

Autohotkey is a program that can be used to make hot keys etc. When used with command lines or MCC commands, there is one thing to remember. Autohotkey requires commas to be escaped with a grave accent (`) character. Otherwise Autohotkey will interpret it as the next parameter for a Autohotkey command.

Example:

To use MCC_THEATER_VIEW command (23000) in Playing Now mode (to switch directly to Theater View's Playing Now) with the MC Command Line launcher in Autohotkey, you'd use something like:

run mc19.exe /mcc 22001`,2