Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO Not create an instance if startup with windows #38

Open
BryanHHHH opened this issue Jan 11, 2023 · 4 comments
Open

DO Not create an instance if startup with windows #38

BryanHHHH opened this issue Jan 11, 2023 · 4 comments

Comments

@BryanHHHH
Copy link

Hi, Maybe I have missed this, but it there one parameter to use to supress it from create an instance, so that I could create a shortcut into Startup folder.
Now I have to close the 1st instance manually as soon as it starts.

@papermoon1978
Copy link

No, there is no such parameter. But you could give my fork a try where this is the default behaviour.

@LisaJackson24-2
Copy link

No, there is no such parameter. But you could give my fork a try where this is the default behaviour.

And could you please release your fork?

@LisaJackson24-2
Copy link

No, there is no such parameter. But you could give my fork a try where this is the default behaviour.

And it would be great if you replaced the shortcut combination to open in Windows with Shift + Tab.

@BryanHHHH
Copy link
Author

And could you please release your fork?

Hello, @LisaJackson24-2
Sorry I am not an active developer on Github.
But I play a bit with Autohotkey, so here is a small hack that I've made to achieve:

  1. if DropPoint.exe is running, then I send the combo key
  2. if not, I run it, and it'll automatically give me the dropping panel anyway ;)
  3. I changed the combo key into double click of LShift, which is only a mask level on top of the SHIFT+Capslock
~LShift:: 
{
   IF !(A_TickCount < LShift)
   {
      KeyWait, LShift
      LShift := A_TickCount + 200 ;1.5 seconds between releasing LAlt then pressing it again
      Return
   }
   LShift =
;    ToolTip, LShift key twice
   process, exist, DropPoint.exe
    if errorlevel
    {
        ; Send, {ShiftDown}{CapsLock}{ShiftUp}
        Send, +{CapsLock}
        SetCapsLockState, off
        Return
    } else {
        Run, "C:\Apps\DropPoint\DropPoint.exe"
        Return
    }
   Return
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants