GithubHelp home page GithubHelp logo

creviceapp / creviceapp Goto Github PK

View Code? Open in Web Editor NEW
27.0 3.0 5.0 4.86 MB

Multi purpose utility which supports gestures with mouse and keyboard.

License: MIT License

C# 99.88% HTML 0.11% Batchfile 0.01%
mouse keyboard gesture hook keymap

creviceapp's Introduction

master develop
Build status Build status

Crevice4 is multi purpose utility which supports gestures with mouse and keyboard.

You can use C# language in your customizable userscript file, so there is nothing that can not be done for you.

Gestures for standard browsers are built in, by default.

Install

Get Crevice 4 on Windows Store new!

Zip Archive

Documentation

https://creviceapp.github.io

License

MIT License

Author

rubyu Github icon Twitter icon

creviceapp's People

Contributors

namoshika avatar nxrighthere avatar rubyu avatar wantora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

creviceapp's Issues

【不具合報告】Altキーが効いていないかも?

・環境
 Crevice 4.19.456.0
 Windows11 Home 21H2

・確認方法
 初期状態の default.csx の末尾に以下のコードを追加して、
 JoyToKeyのキー設定画面でAltキーが入力されるか確認いたしました。
 ⇒ 私の環境では、Altキーは入力されませんでした(AキーやControlキーは入力されました)。

var JoyToKey = When(ctx =>
{
    return (ctx.ForegroundWindow.ModuleName == "JoyToKey.exe");
});

JoyToKey.
On(Keys.RButton).
On(Keys.MoveRight, Keys.MoveLeft, Keys.MoveRight, Keys.MoveLeft).
Do(ctx =>
{
    SendInput.Multiple().
    ExtendedKeyDown(Keys.Alt).
    ExtendedKeyUp(Keys.Alt).
    Send();
});

・本来あるべき挙動
 Altキーが入力される。

・実際の挙動
 Altキーが入力されない。

・経緯
 Shift + Alt + X というショートカットキーが効いていないことで気が付きました。
 私の環境だけ OR 勘違いかもしれないのですが、念のためご報告させていただきます。
 

マウス軌跡有効で使用すると、Windowがタスクバーに被さる

v4.15.419 以降でwindowがタスクバーに被さる現象が起きるようです。

Windows 10 Pro 1809を使用中
タスクバーを上表示の場合以外で影響 (上表示は重ならないので無問題)
ジェスチャー定義を以下設定でマウス軌跡描画を無効化すると現象は発生しなくなります

Config.GestureStrokeOverlay.Enabled = false;

win_overlaps_with_taskbar

Request a simple option

Thank you for the great application! This is exactly what I've been looking for the last few days. Only one option that I really miss is a possibility to not show the application icon in the system tray. I would like to set Crevice to stay only in background processes.

App throws NullReferenceException when it closed just after starting.

System.NullReferenceException: オブジェクト参照がオブジェクト インスタンスに設定されていません。
   場所 CreviceApp.MouseGestureForm.OnClosed(EventArgs e)
   場所 CreviceApp.MainForm.OnClosed(EventArgs e)
   場所 System.Windows.Forms.Form.WmClose(Message& m)
   場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Can I change the "default.csx" folder?

I use the "Crevice" at work and at home, so I want to save the "default.csx" to the cloud.
Can I change the "default.csx" folder?
Now I copy the "default.csx" to the colud after I change the "default.csx" at work or at home. When I'm at home or at work, I copy the "default.csx" from the colud.

System tray context menu

Hey, Rubyu! 🤙

I have a suggestion for ya. How about to replace this window:

Menu

with a simple context menu that popups after right clicking on the icon in the system tray?

Like this one, for example:

Context

App logo/icon

I made a logo/icon for your lovely application. If you like it, feel free to use it.

Logo

Logo

Icon

Icon

Example

Example

Download

Event wrongly restored on DoubleThrow -> DoubleThrow gestures

How to reproduce

csx file is:

var Whenever = When(ctx =>
{
    return true;
});

Whenever.
On(Keys.RButton).
On(Keys.LButton).
Do(ctx =>
{
    //
});

And input

  1. Keys.RButton.Press
  2. Keys.LButton.Press
  3. Keys.LButton.Release
  4. Keys.RButton.Release
    then, Keys.RButton will be wrongly restored.

I think lines from
https://github.com/creviceapp/creviceapp/blob/master/CreviceLib/Core.FSM.StateN.cs#L123
to
https://github.com/creviceapp/creviceapp/blob/master/CreviceLib/Core.FSM.StateN.cs#L137
are leaking the case HasDoExecutors == true. The result value should have NonCancellable stateN.

Fatal error when microsoft RDP comes to the foreground.

Version: Crevice 4.0.259

ハンドルされていない例外: System.IndexOutOfRangeException: インデックスが配列の境界外です。
   場所 Crevice.Core.Keys.KeySet`1.get_Item(Int32 index) 場所 C:\projects\creviceapp\CreviceLib\Core.Keys.cs:行 45
   場所 Crevice.UI.MouseGestureForm.KeyboardProc(Event evnt, KBDLLHOOKSTRUCT data) 場所 C:\projects\creviceapp\CreviceApp\UI.MouseGestureForm.cs:行 169
   場所 Crevice.WinAPI.WindowsHookEx.LowLevelKeyboardHook.<>c__DisplayClass5_0.<.ctor>b__0(IntPtr wParam, IntPtr lParam) 場所 C:\projects\creviceapp\CreviceApp\WinAPI.WindowsHookEx.cs:行 298
   場所 Crevice.WinAPI.WindowsHookEx.WindowsHook.Callback(Int32 nCode, IntPtr wParam, IntPtr lParam) 場所 C:\projects\creviceapp\CreviceApp\WinAPI.WindowsHookEx.cs:行 124

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.