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

Installation     Index     Cursor types


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

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


Parameters

CursorNode.exe

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



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 the 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 cmd window
title "%Title%"

rem ## starts CN 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 CN when the target application finishes
"C:\Program Files (x86)\Cursor Node\CursorNodeExt.exe" exit


To run this script with its associated cmd 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   §  Forums 

 
Copyright © 2015-2017 Freshnet Ltd (UK). All rights reserved.