Creating a UTN Action: Automated Connections and Program Starts without the SEH UTN Manager Interface

UTN Actions are small files which contain a script that automates the connections to USB ports including connected USB devices. The process defined in the script runs automatically when the file is executed. Since the 'SEH UTN Service' is active in the background, the user does not have to start the SEH UTN Manager interface. I.e., UTN Actions can be used with the complete and minimal version.

UTN Actions are for realizing simple scenarios, such as activating a connection, as well as complex procedures, such as activating a connection and starting an application with time delay. You can create the UTN action with a wizard. You can create the following UTN Actions:

·     UTN Actions which activate and deactivate the device
The wizard will automatically create one UTN Action for the activation and one UTN Action for the deactivation of the USB port and the connected USB device. Both UTN Actions will be saved to the desktop.

·     UTN Action which starts an application and activates the device
After the selection of an application by the user, the wizard will automatically create a UTN Action which starts an application and activates the USB port and the connected USB device. Additionally, you can define a port deactivation after the closing of the application.

·     Custom UTN Action (Experts only)
With the help of the wizard, a custom UTN Action can be created. You can create:

·     UTN Actions for the activation and deactivation of the USB port and the connected USB device. You can define additional options.

·     A script for starting the application and activating the USB port and the connected USB device. Additionally, you can define a delay for the start of the application, the deactivation of the USB port after the closing of the application and additional options. Finally, the complete UTN Action will be created automatically by the SEH UTN Manager and saved by the user.

UTN Actions are based on the command line tool 'utnm'. We recommend experts to use this tool, if they want to create very complex scripts without restraints. Information on how to work with the utnm can be found in the system-specific user manuals.

 

    The USB port is shown in the selection list.

 

1.  In the selection list, select the port.

2.  In the menu bar, select PortUTN Action.
The dialog UTN Action appears.

3.  Follow the instructions of the wizard.

 

Apps can be moved to any place and renamed after they have been saved.

 

(Experts only) Custom UTN Actions which activate or deactivate USB devices can be edited after their creation. To do this, edit the script within the app (path: Contents/Resources/script).

 

Expert mode (script): You can also edit the script after its creation using a simple text editor.