-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed as not planned
Labels
Description
Even though a startup item was being registered (to run PasteIntoFile.exe tray), PasteIntoFile.exe was not being started.
I tried running "PasteIntoFile.exe tray" from a command shell in the PasteIntoFile directory and I got the following error:
Unhandled Exception: System.InvalidOperationException: Couldn't register the hot key.
at PasteIntoFile.KeyboardHook.RegisterHotKey(ModifierKeys modifier, Keys key) in D:\a\PasteIntoFile\PasteIntoFile\PasteIntoFile\KeyboardHook.cs:line 81
at PasteIntoFile.Program.RunTray(ArgsTray args) in D:\a\PasteIntoFile\PasteIntoFile\PasteIntoFile\Main.cs:line 264
at PasteIntoFile.Program.<>c.
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,T5,TResult](ParserResult
1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func2 parsedFunc4, Func2 parsedFunc5, Func`2 notParsedFunc)at PasteIntoFile.Program.Main(String[] args) in D:\a\PasteIntoFile\PasteIntoFile\PasteIntoFile\Main.cs:line 139
To Reproduce
- Install PasteIntoFile
- From a command shell navigate to C:\Program Files (x86)\PasteIntoFile
- Run PasteIntoFile.exe tray
...
Error message
...
Screenshots
Environment
- App version:
- OS:
- ...
Solution approach / workarounds
...