Cursor node logo Cursor Node
Home Activate Support User Manual
 
 
 
 
Command line

Installation     Index     Cursor types


CursorNode accepts command line parameters for additional program control. These parameters override any related options in the setting panel. All command line parameters are case insensitive. An example command line parameter use is as follows:

"C:\Program Files (x86)\Cursor Node\CursorNode.exe" minimize


Parameters

For CursorNode.exe

Parameter Purpose
Minimize Starts CursorNode minimized, overriding the "Minimize the Settings-panel on program start" option.



For CursorNodeExt.exe

Parameter Purpose
Exit Immediately shuts down CursorNode




Scripting

This is a sample Windows 10 convenience .bat script that uses command line parameters to start CursorNode at the same time as a target application to be used, and then shuts down CursorNode when the application ends.

set Title=[change this to something unique]

rem ## stops if another instance of this script is running
tasklist /v | find /c /i "%Title%"
if %errorlevel%==0 exit

rem ## sets title of console window
title "%Title%"

rem ## starts CursorNode asynchronously, minimized
start /D "C:\Program Files (x86)\Cursor Node\" CursorNode.exe minimize

rem ## starts the target application
cd "C:\Program Files (x86)\App Dir\"
C:
App.exe

rem ## shuts down CursorNode when the target application finishes
"C:\Program Files (x86)\Cursor Node\CursorNodeExt.exe" exit


To run this script with its associated console window minimized, first create a shortcut to the .bat file and then set the Shortcut >> Run >> Minimized option within the shortcut properties. The script can then be started using the shortcut.


Installation     Index     Cursor types


 
 

Privacy Policy   §   End User License Agreement  §  Site Information   §  Checksums   §  Forum   §  Free Software 
© Freshnet Ltd (UK)