Create a desktop shortcut on a remote computer to run any HomeSeer event
Create a desktop shortcut on a remote computer to run any HomeSeer event
1) Save the following script as remote_runevent.cs in the HomeSeer 2\Scripts directory on the remote computer
2) Right click the desktop on the remote computer
3) Choose New - Shortcut
4) Type the following as the shortcut target including quotes:
"C:\Program Files\HomeSeer 2\HsScript.exe" remote_runevent.cs name the HomeSeer event
Now you can double-click this icon to run the HomeSeer event from your remote computer.
[EDIT] You can then assign the HomeSeer event to any Hotkey such as F12: Open the desktop shortcut property page, and set the hotkey in the shortcut tab.
Create a desktop shortcut on a remote computer to run any HomeSeer event
1) Save the following script as remote_runevent.cs in the HomeSeer 2\Scripts directory on the remote computer
Code:
void Main( object param ) { string eventString = param.ToString(); if( hs.EventExists( eventString ) ) { hs.TriggerEvent( eventString ); } }
3) Choose New - Shortcut
4) Type the following as the shortcut target including quotes:
"C:\Program Files\HomeSeer 2\HsScript.exe" remote_runevent.cs name the HomeSeer event
Now you can double-click this icon to run the HomeSeer event from your remote computer.
[EDIT] You can then assign the HomeSeer event to any Hotkey such as F12: Open the desktop shortcut property page, and set the hotkey in the shortcut tab.
Comment