[SOLVED] ctr+ character and alt + character question

Feature Requests, Comments, Bugs, and Suggestions on the JIntellitype Java API.

[SOLVED] ctr+ character and alt + character question

Postby Jhovarie » Wed Jun 15, 2011 9:05 pm

How to initialize ctrl+character?

this one work for "ctrl + alt + i"
Code: Select all
static final int KEY_1 = 88;
JIntellitype.getInstance().registerHotKey(KEY_1, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT,(int) 'I');


and this one work for "alt + i"
Code: Select all
static final int KEY_1 = 88;
JIntellitype.getInstance().registerHotKey(KEY_1, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT,(int) 'I');


i dont now how to assign ctrl + character.
Jhovarie
 
Posts: 10
Joined: Wed Dec 15, 2010 10:44 am

Re: ctr+ character and alt + character question

Postby Melloware » Thu Jun 16, 2011 5:59 am

What about this for CTRL+I?

Code: Select all
static final int KEY_1 = 88;
JIntellitype.getInstance().registerHotKey(KEY_1, JIntellitype.MOD_CONTROL ,(int) 'I');


Is that what you are asking?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11062
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: ctr+ character and alt + character question

Postby Jhovarie » Thu Jun 16, 2011 7:42 pm

aha thanks thats it...
Jhovarie
 
Posts: 10
Joined: Wed Dec 15, 2010 10:44 am


Return to JIntellitype

Who is online

Users browsing this forum: No registered users and 1 guest

cron