gInk icon indicating copy to clipboard operation
gInk copied to clipboard

Feature Request: Open and close options

Open christiandull opened this issue 4 years ago • 16 comments

Please add a option to setting, when opening the program it should also open the panel, like i press ctrl+alt+g

And also please change or add a option, when pressing alt+f4 it should close the program.

christiandull avatar Jun 13 '20 20:06 christiandull

I now use gInk directly at startup and running it all the time.

When i am pressing alt+f4 it should do the same like pressing "escape" (when i press alt+f4 then the panel stills and when i click on it i get a error message and the program closes after confirm it).

I tryed to do some scripts with AutoHotkey, but the sended keys are not working (80-90%). Maybe you have a idea.

christiandull avatar Jun 13 '20 22:06 christiandull

Alt+F4 should behave the same way as ESC now in the new version.

geovens avatar Aug 26 '20 02:08 geovens

Now Alt+F4 is working correctly.

I have seen you have not implemented a option to directly open the panel when starting gInk. But because now the other bug is fixed i can open gInk with autohotkey and then 0,5 seconds alter i open the panel:

run, C:\Users\cdull\Downloads\gInk_v1.1.0\gInk_v1.1.0\gInk.exe sleep, 500 sendinput, ^!g

Maybe you think about to implement a checkmark to "general", to directly open the panel when starting gInk.

I also tested send the hotkeys with AutoHotkey, still 80-90% not working. But i don't need at the moment to use AutoHotkey to trigger hotkeys.

Thanks for fixing.

christiandull avatar Aug 26 '20 06:08 christiandull

@christiandull, in my fork https://github.com/pubpub-zz/ppInk, You should be able to open the toolbar trying to run a second instance. Can you tell me if this would match your need ? Note that Alt+F4 has not been reported yet in my fork

pubpub-zz avatar Aug 26 '20 11:08 pubpub-zz

Hey pubpub-zz,

your Version opens the panel when i run it again. But i want a option to open the panel when i open it the first time.

Your version not match my need.

Thanks.

christiandull avatar Aug 26 '20 11:08 christiandull

My proposal would be to run it twice. Not possible ?

pubpub-zz avatar Aug 26 '20 16:08 pubpub-zz

Don't understand. Why you want to run it twice?

I think it should not be so hard to open the panel when the program starts?

I think it should be a option in "gerneral", because when you start gInk with windows it makes no sense to open the panel. Only if you start it like me with AutoHotkey.

christiandull avatar Aug 26 '20 17:08 christiandull

I've done the merging and adding the commandline parameter '--startInking' Can you try this ? ppInk.zip

pubpub-zz avatar Aug 26 '20 21:08 pubpub-zz

When i use your new version, then nothing happens when i start. There are the same buttons in options "general" as in the previous version.

christiandull avatar Aug 27 '20 06:08 christiandull

run: ppink.exe --startInking

pubpub-zz avatar Aug 27 '20 15:08 pubpub-zz

It works now, but when i move the toolbar to the right bottom of my screen, then it stops working.

There are also some other bugs at your version:

  1. It allways show the checkmark "Show Floating Window" in the options, also when it was deactivated.
  2. Change under "Pens" the width don't change the width.
  3. Alt+F4 is not fixed like how in the current gInk beta version.

christiandull avatar Aug 27 '20 16:08 christiandull

@christiandull 1 : checkbox initialisation fixed 2 : Remember that when width button is active, pen width in pen options tab are not taken into accound 3 : seems good for me can you please clarify

Attached a new candidate can you give me your feedbacks ppInk.zip Thanks,

pubpub-zz avatar Aug 27 '20 22:08 pubpub-zz

  1. Now correct.
  2. After remove the checkmark it works. In gInk it is not default, in your version it is.
  3. Alt+F4 now works like escape.

Now your version offers for me more than the normal gInk. There is the --startInking and also the other new options like text, circle, numbers.

I will still test it and will report if there are any problems.

Thanks for implementhing and your extended version. You catched me now :)

christiandull avatar Aug 28 '20 07:08 christiandull

I have now tested a little bit more.

There is a one last problem.

When pressing the global hotkey for activating gInk and gInk is alread active then it deactivates it (change to windows mouse pointer). After pressing it again it activates gInk again. At your fork when the pen is already active and i press the global hotkey (Ctrl+Alt+G) nothing happens.

christiandull avatar Aug 28 '20 07:08 christiandull

I was not aware of this feature... I will add a comment in the readme This should be good now ppInk.zip

pubpub-zz avatar Aug 28 '20 17:08 pubpub-zz

This is working now. Thanks.

christiandull avatar Aug 30 '20 11:08 christiandull