How to add a Windows Action in click.to

 

Overview:

 

click.to allows the user to enhance its functionality by user-defined actions. The following extensions are available:

  • Web Action
  • Windows Action
  • Plugin Action

In this guide, the creation of a new “Windows Action” will be explained step-by-step. We begin with navigating to the “Create your own windows action” dialogue box. There are two ways to do this.

 

How to Add Windows Action

To achieve the above enhancements, click on the click.to icon in the taskbar.

 

After clicking, a menu appears, in which you should select “Options”.

 

A new dialog box will then open in this window. Select the “Add” button, before selecting the desired action.

To add a new “Windows Action” you need to click the button “Add exe”.

After pressing the button, a new dialogue window pops up. In this window, the desired action can be customized. Now you can move on to the section “Customize Windows Action“.

 

 

Customize Windows Action

The “Customize Action” dialogue window is the central element in generating a new “Windows Action“. The red highlighted and numbered items are described below.

 

To create a new action, you need to fill in the following appropriate information:

1. In this field you can define the name of the action, which will later be used or displayed within the click.to application.

2. This field displays the selected icon that is currently assigned to the action. For example, the selected icon appears in the “Satellite Display”

3. By default, the icon will be selected by URL, which is indicated in field number 4. Should an icon not be present, or another icon appear, you can select your icon of choice by clicking “Browse Icon…”.

To delete the current icon, click on the button “Clear icon”.

4. This field requires the path of the application you want to be registered to perform the defined action. To illustrate this, we take Windows Media Player as an example.

5. To select the path of the application, use the “Browse” option. This could, for example, display the path to the Windows Media Player as follows:

C:\Program Files (x86)\Windows Media Player\wmplayer.exe

This URL will be automatically inserted in the field “Path of the Application or Program”.

 

6. In order to use the “Windows Action” to open a video the argument [FilesLines] must be inserted in the field “Arguments of the call”. This step is necessary to specify the path of the video to the application and thus proceed to the Windows Media Player.

A more detailed explanation of the different arguments can be found in the section entitled “Pattern“.

 

If a name is given and the requested URL includes the wildcard, the “Customized action” can be saved by clicking the “OK” button.

 

 

Adjust Windows Action for “Satellite Display”

After applying the new action, you will be taken to the overview in which all actions are listed. Here, there is the option of making further adjustments to the newly created “Windows Action“.

 

1. After creating a new action, it will appear at the bottom of the table. By ticking the checkbox on the left side, the action is added to the “Satellite Display”.

 

If this option is active, the action will appear within the “Satellite display”, so the action can be executed more rapidly.

 

2. As required, the actions with the buttons “Up” and “Down” are pushed up or down in the ranking list, which in turn affects the subsequent display position.

3. Using this setting, a shortcut can be assigned to the action, which can then be used to call the action.

If all the settings are configured to your liking, they can be saved by pressing the “OK” button. The configuration is now complete and the new, customized action can be used.

 

Pattern

General Information:

The functionality of the field “arguments of call” depends on the type of application to launch. Depending on the specified application, only certain arguments respectively certain forms of the arguments can be used(for example: texts, files or images). So you have to check first which kind of arguments your specified application supports or rather requires. Because its less useful to transfer a text to an application which is determined to watch images. The purpose of the pattern is in the end to pass the content of the clipboard to the selected application in the format of the specified pattern. In which way your desired application supports the used pattern or argument can be found on the official website of the manufacture.

Here are a few patterns with explanations:

Arguments:
[Text][TextURL] [ContentAsFile][Files;] [Files,][FilesLines][ImageFile]

 

[Text]

Explanation:
With the [Text] argument you can transfer the selected string/text element to the application which is determined in the action.

When to use:
If you want to assign a text/string element as an argument to the specified application, you have to use the [Text] argument.

 

[TextURL]

Explanation:
This argument converts the text/string element. With the result of the conversion you can use the selected text as a URL. For example, the German characters “ä”, “ö” or “ü” will be transfered into “ae”, “oe” and “ue”.

When to use:
You can use the [TextURL] argument if you want to assign a marked text which should be formatted like a URL for the specified application.

 

[ContentAsFile]

Explanation:
This pattern generates a *.txt file in which the selected text is stored. The file is then committed as an parameter to the application.

When to use:
You can use the [ContentAsFile] argument if you want to convey a plain text to the specified application.

 

[Files;]

Explanation:
The [Files;] argument assigns the path of the selected files to the specified application. If more than one file is selected, the file-paths will be separated by a semicolon ( ; ).

When to use:
If you want to assign one or more files to the corresponding application. Furthermore, the specified application expects that the files are separated by a semicolon.

 

[Files,]

Explanation:
The basic function of [Files,] is similar to the [Files;] argument. The argument equally assigns the path of the selected files to the specified application. The difference is that the files will be separated by a comma ( , ).

When to use:
If you want to assign one or more files to the corresponding application. Furthermore, the specified application expects that the files are separated by a comma.

 

[FilesLines]

Explanation:
The basic function of [FilesLines] is similar to the [Files;] argument. The argument equally assigns the path of the selected files to the specified application. The difference is that the files will be separated by a line break.

When to use:
If you want to assign one or more files to the corresponding application. Furthermore, the specified application expects that the files are separated by a line break.


[ImageFile]

Explanation:
The [ImageFile] argument is a special form of the [Files] argument. When you deploy this argument, it is only possible to use the action if the selected file is an image. Otherwise the action can not be used.

When to use:
You can use the [ImageFile] argument, when the action should be executed only if an image is selected.