Git Product home page Git Product logo

jintellitype's People

Contributors

bjoernpetersen avatar dependabot[bot] avatar jjybdx4il avatar melloware avatar pakotzy avatar rocketmadev 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  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  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  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  avatar  avatar  avatar  avatar

jintellitype's Issues

RegisterHotKey with text strings not working as expected

This behavior should be identical but it is not...

// this doesn't work at all
JIntellitype.getInstance().registerHotKey(1, "CTRL+ALT+F11");

// this works fine
JIntellitype.getInstance().registerHotKey(1, JIntellitype.MOD_CONTROL + 
JIntellitype.MOD_ALT, 122);

I believe the problem might be in the String parsing of getKey2KeycodeMapping() 
but need to investigate.

Original issue reported on code.google.com by mellowaredev on 4 Nov 2010 at 10:13

Dead link to quick start in project description

What steps will reproduce the problem?
1. Visit http://code.google.com/p/jintellitype/
2. Try to click "Quick Start Guide" link

What is the expected output? What do you see instead?

Expected to see a quick start guide. Instead, was redirected to current page
 http://code.google.com/p/jintellitype/

Please provide any additional information below.

Suggest either moving content from quick start guide into wiki or project 
description, and/or removing the dead link.

Original issue reported on code.google.com by [email protected] on 26 Jul 2013 at 5:06

Can't load library dll from inside of the Spring Boot JAR application

With Spring Boot, to load a resource file from inside of the JAR package you must use ResourceLoader which returns InputStream, because any other access method will cause IOException while launching from outside of the IDE.
Since JIntellitype is already using InputStream under the hood, it will be nice to be able to provide it manually for better flexibility as requested in #16

i can't understand intellitype and What can be achieved through it

In jintellitype , there are two method - onHotKey and onIntellitype.
I do understand what can do in onHotKey , it listen keybords and when i press some keys the program will react it .
But i can understand what the intellitype does , i don't know what can be achieved through onItellitype method,and don't know how to touch it in JIntellitypeDemo.java。
image

Maven repository

Maven repository not up to date:
http://mvnrepository.com/artifact/com.melloware/jintellitype


Original issue reported on code.google.com by [email protected] on 26 Jul 2011 at 7:31

Could not load JIntellitype.dll from local file system or from inside JAR

In Eclipse.
jintellitype-1.3.8.jar and JIntellitype.dll are in the project folder.
jintellitype-1.3.8.jar has been added into the buildpath of the project.
jintellitype-1.3.8-sources.jar has also been linked to the jar file.

/-
|-.settings (subfiles omited)
|-bin (subfiles omited)
|-scr
|-com
|--melloware
|---JIntellitypeTester.java
|.classpath
|.project
|JIntellitype.dll
|jintellitype-1.3.8.jar
|jintellitype-1.3.8-javadoc.jar
|jintellitype-1.3.8-sources.jar

Placed JIntellitypeTester.java from the test folder of the zip downloaded from 
Jintellitype into src/com/melloware.
i.e. package com.melloware;

Run and "Could not load JIntellitype.dll from local file system or from inside 
JAR" error is thrown.


What steps will reproduce the problem?
1. placing the dll file in all the locations asked to no avail, root folder, 
system32, com/melloware/jintellitype etc... 
2. 32-bit, 64-bit dll after the renaming does not help

What is the expected output? What do you see instead?
Exception in thread "main" com.melloware.jintellitype.JIntellitypeException: 
Could not load JIntellitype.dll from local file system or from inside JAR
    at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:114)
    at com.melloware.jintellitype.JIntellitype.getInstance(JIntellitype.java:174)
    at com.melloware.jintellitype.JIntellitype.checkInstanceAlreadyRunning(JIntellitype.java:326)
    at com.melloware.JIntellitypeTester.main(JIntellitypeTester.java:85)
Caused by: java.lang.NullPointerException
    at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:145)
    at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:105)
    ... 3 more


What version of the product are you using? On what operating system?
jintellitype-1.3.8
Windows 7 64-bit
eclipse 32-bit
JavaSE-1.6


Please provide any additional information below.
Please help me out to solve this issue. I did search in google and came across 
this post.
http://forum.melloware.com/viewtopic.php?f=4&t=9609
I tried to search how to add a dll to the classpath but was unable to find a 
way. I'm not sure if I am even supposed to be adding the dll to the path or to 
proceed in which direction.

Please guide me to solve this issue. Thank you.

Original issue reported on code.google.com by [email protected] on 15 Aug 2013 at 10:46

Error thrown as a result of missing library

It was when I was using my program equipped with jintellitype on other's computer when it got crashed, telling me that some dependencies are missing, causing a unexpected error. I think it may require the latest vcrt. As I'm still learning C++, I'm sure one day I will use gcc to compile it and may refactor some code that can be optimized.

Hotkey Distinguish KeyUp from KeyDown

如何区分单个按键的按下和抬起?

    举例 :JIntellitype.getInstance().registerHotKey(UserKeyBoardEnum.DUNHAO.getKeyValue(), 0,
            UserKeyBoardEnum.DUNHAO.getKeyValue());

0 表示 按下和抬起全部都执行
那么如何单独区分呢?

Using Accent or Tick character '


User wrote and need to use the Accent character

Original issue reported on code.google.com by mellowaredev on 12 Aug 2011 at 2:09

Outdated comment in JIntellitype.java?

I use JIntellitype on my PC with JDK 7u9 64-bit and JIntellitype brings a 
64-bit DLL of it´s own, so I guess the following comment isn´t correct 
anymore, is it?

   /**
    * Checks to make sure the OS is a Windows flavor and that the JIntellitype
    * DLL is found in the path and the JDK is 32 bit not 64 bit. The DLL
    * currently only supports 32 bit JDK.
    * <p>
    * @return true if Jintellitype may be used, false if not
    */
   public static boolean isJIntellitypeSupported() {

Original issue reported on code.google.com by [email protected] on 19 Oct 2012 at 8:59

JavaFX

image
image

在非javaFX应用中能够正常加载,如图,32位不能够正常初始化,64位的可以正常使用

1.3.5 NullPointerException fromJarToFs

I post this message in forum already.

I did upgrade from JIntellitype 1.3.4 to 1.3.5. Did replace JIntellitype.dll 
and jintellitype-1.3.5.jar and now I am getting exception:

java.lang.NullPointerException
com.melloware.jintellitype.JIntellitypeException: java.lang.NullPointerException
at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:117)
at com.melloware.jintellitype.JIntellitype.getInstance(JIntellitype.java:173)
at clipcomrade.gui.MainScreen.addGlobalHotkey(MainScreen.java:189)
at clipcomrade.gui.MainScreen.<init>(MainScreen.java:110)
at clipcomrade.Clipcomrade$1.run(Clipcomrade.java:84)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:144)
at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:103)
... 12 more


Original issue reported on code.google.com by [email protected] on 2 Dec 2010 at 11:42

1.3.8 NullPointerException in NullPointerException()

After this line, "is" is null...
         is = ClassLoader.getSystemClassLoader().getResourceAsStream(jarPath);

"jarPath" is "com/melloware/jintellitype/JIntellitype.dll"

...the next access to "is" fails with a NullPointerException
         while ((bytesRead = is.read(buffer)) != -1) {

Original issue reported on code.google.com by [email protected] on 19 Oct 2012 at 8:55

Can't register slash and back slash key

Can't register slash and back slash key
JIntellitype.getInstance().registerHotKey(1, 0, KeyEvent.VK_SLASH);
JIntellitype.getInstance().registerHotKey(2, 0, KeyEvent.VK_BACK_SLASH);
It doesn't work :(

Load DLL's from inside JAR

The code failed to load the dll from jar because the jar file on maven central does not contain the dll.

Numpad Enter Key As Global Hotkey

What steps will reproduce the problem?
1. registered a hot key for enter key from numpad keyset/area
2.run the program

What is the expected output? What do you see instead?
Only numpad enter key should be a global hot key not the main enter key.

What version of the product are you using? On what operating system?
1.3.8

Please provide any additional information below.

regards
Rajeev

Original issue reported on code.google.com by [email protected] on 15 Apr 2013 at 8:20

NullPointerException in "JIntellitypeDemo.java"

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.melloware.jintellitype.JIntellitypeDemo.main(JIntellitypeDemo.java:86)
Caused by: com.melloware.jintellitype.JIntellitypeException: Could not load JIntellitype.dll from local file system or from inside JAR
at com.melloware.jintellitype.JIntellitype.loadLibrary(JIntellitype.java:143)
at com.melloware.jintellitype.JIntellitype.(JIntellitype.java:63)
... 1 more
Caused by: java.io.IOException: FromJarToFileSystem could not load DLL: com/melloware/jintellitype/windows/JIntellitype64.dll
at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:181)
at com.melloware.jintellitype.JIntellitype.loadLibrary(JIntellitype.java:140)
... 2 more
Caused by: java.lang.NullPointerException
at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:177)
... 3 more

Allow differentiating two enter buttons i.e. Keypad enter and the other.

What steps will reproduce the problem?
1. Register enter key using JIntelltype in a simple program.
2. Execute the program and try using the Keypad enter key and the other enter 
key(may be CR). Both the keypresses provide the same result.
3. Can you please provide some means to distinguish between the two? I think 
Java also provides same keycode for the enter keys on keyboard.


What is the expected output? What do you see instead?
My application needs to perform action only on keypad enter button and not on 
the other enter button.

What version of the product are you using? On what operating system?
JIntelltye version: 1.3.6
OS : Windows 7 32 bit professional.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Nov 2012 at 2:01

could not load DLL

JIntellitype类中:line 131:System.load(extractedLibrary.getAbsolutePath());,在配置Native Library Path后,依然提示could not load DLL;
在我修改使用System.loadLibrary("JIntellitype64");,就可以了,请问是否可以?
参数可获取String libraryName变量去电.dll,不可以带扩展名

JIntellitype64.dll can not be loaded correctly since 8u261

When I updated my JRE to 8u261 or 8u271, my application couldn't run. The specific appearance is, when I fire it up, my system tray icon could be loaded correctly, but then it will exit with code-1073741819 (0xC0000005). In Windows event viewer, I got the information below:
`-

  • 1000 0 2 100 0 0x80000000000000 6074 Application LightBook
  • java.exe 8.0.2610.12 5eeb13ea JIntellitype64.dll 0.0.0.0 4b5c9033 c0000005 0000000000001d4e 1c68 01d6bf432ee19810 C:\Program Files\Java\jdk1.8.0_261\bin\java.exe C:\Users\ma201\AppData\Local\Temp\JIntellitype64.dll cb016638-2c91-40c2-badf-fdb0dbfa4e7f `

If that means I could only use 8u251?

Could not load JIntellitype.dll from local file system or from inside JAR

What steps will reproduce the problem?
1. Add JAR to Netbeans project
2. Make sure DLL is in project folder
3. Run through Netbeans IDE

What is the expected output? What do you see instead?
Expected:  Running with hotkey support

Instead: 

Exception in thread "AWT-EventQueue-0" 
com.melloware.jintellitype.JIntellitypeException: Could not load 
JIntellitype.dll from local file system or from inside JAR
    at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:114)
    at com.melloware.jintellitype.JIntellitype.getInstance(JIntellitype.java:177)
    at marketbot.SettingsWindow.<init>(SettingsWindow.java:32)
    at marketbot.MarketBot$2.run(MarketBot.java:129)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.io.IOException: FromJarToFileSystem could not load DLL: 
com/melloware/jintellitype/JIntellitype.dll
    at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:150)
    at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:105)
    ... 17 more
Caused by: java.lang.NullPointerException
    at com.melloware.jintellitype.JIntellitype.fromJarToFs(JIntellitype.java:146)
    ... 18 more

What version of the product are you using? On what operating system?

I'm using v1.3.9 on Windows 8.1.


Please provide any additional information below.

The following code is what I am using:

File f = new 
File("C:\\Users\\Christopher\\Documents\\NetBeansProjects\\MarketBot\\jintellity
pe-1.3.9\\JIntellitype.dll");
        if (f.exists())
            System.out.println("Library exists!");
        JIntellitype.setLibraryLocation(f);
        initComponents();
        JIntellitype.getInstance();
        JIntellitype.getInstance().registerHotKey(1, JIntellitype.MOD_CONTROL, (int)'0');


It worked all day yesterday, but after a computer reboot, it has stopped.  I 
have no idea what a reboot could have changed...

Also related: 
http://stackoverflow.com/questions/24481260/problems-adding-native-dlls-to-java-
runtime-jintellitype

Original issue reported on code.google.com by [email protected] on 30 Jun 2014 at 12:07

一些window10的问题?/Some window10 problems?

我的java版本是11.0.1, 在windows10_1809 'regHotKey(identifier, modifier, keycode);'报错.
然后我尝试了虚拟机使用windows7版本是正常的.


My java version is 11.0.1, in windows10_1809 'regHotKey(identifier, modifier, keycode); 'Report error.
Then I tried the virtual machine using the windows7 version is normal.

JIntellitype.setLibraryLocation(File) ignores absolute files

The JIntellitype.setLibraryLocation(File) method checks whether a file already has an absolute path and if not, generates the absolute path and stores it. If the file already is absolute however, it is simply ignored and not stored.

A workaround for this bug is calling JIntellitype.setLibraryLocation(String) with the file's absolute path.

JIntellitype.swingToIntelliType(int) Bug

JIntellitype is really awesome product!

I found one small bug in this method:

com.melloware.jintellitype.JIntellitype.swingToIntelliType(int)

when I send there 520 as a parameter (ALT_MASK & ALT_DOWN_MASK), method returns 
2, but should return 1. Changing += to &= solve it

Original issue reported on code.google.com by mellowaredev on 7 Aug 2011 at 3:22

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.