Skip to content

4.15.419

Choose a tag to compare

@rubyu rubyu released this 30 Aug 17:14

Crevice 4.15.419

New Features

Gesture Stroke Overlay

Gesture stroke visualization has been supported! This feature is enabled by default.

The colors and width of the lines can be changed. The followings are the default values:

Config.GestureStrokeOverlay.NormalLineColor = Color.FromArgb(51, 153, 255);
Config.GestureStrokeOverlay.NewLineColor = Color.FromArgb(255, 51, 153);
Config.GestureStrokeOverlay.UndeterminedLineColor = Color.FromArgb(255, 141, 75);
Config.GestureStrokeOverlay.LineWidth = 4.0f;

If you need to disable it, add the following line to your userscript file:

Config.GestureStrokeOverlay.Enabled = false;

Description Property

description argument was newly added to When() and Do() function. It will be given to Evaluator and Executor as it's Description property. These properties are useful when debugging userscripts because it will be output to the debug log.

Example: Do() with description argument;

Do(ctx =>
{
    SendInput.Multiple().
    ExtendedKeyDown(VK_CONTROL).
    ExtendedKeyDown(VK_SHIFT).
    ExtendedKeyDown(VK_TAB).
    ExtendedKeyUp(VK_TAB).
    ExtendedKeyUp(VK_SHIFT).
    ExtendedKeyUp(VK_CONTROL).
    Send();
}, description: "Previous Tab");

Bug Fixes

Tooltip's duration was not assured which is the given value.

Gesture was not working on Firefox waiting restart after updating.

On the condition mentioned above, it's ModuleName and ClassName are different than normal ones. For handling this case, the following condition was added to Browser's `When()' clause;

          (ctx.ForegroundWindow.ModuleName.StartsWith("moz") &&
               ctx.ForegroundWindow.ModuleName.EndsWith(".tmp") &&
               ctx.ForegroundWindow.ClassName == "MozillaWindowClass") ||