Ive been playing around with a couple of scripts both of which work well on their own. The first is a basic alertbox that uses a hotkey; [Code] <script> $(document).jkey('o', function(){ alert('Pressed o');}); </script> [/code] The second is a custom alert box which displays after clicking on a link. How can I incorporate the jkey function from the first script to trigger the alert box in the second script? ie. I want to trigger the custom alert box by pressing 'O' [code] <html> <style type="text/css"> .alert { display:none; position:absolute; top:1px; left:1px; width:300px; background-color:white; border-style:solid; border-width:1px; padding:15px 20px 5px 20px; } …

Member Avatar
+0 forum 0

Hello! [COLOR="Green"]Little unimportant info about me: I think i can program in c# in a quite good way,but I would like to make my programs useful also for people who hasn't got .NET framework installed. So i started to learn c and to rewrite my c# programs in c.[/COLOR] I'm writing a program ,and i have some problem with the global hotkeys. I've been searching the WWW for a solution for ~ 12 hours now ,and i still couldn't get it to work, so that's why i decided to post here. I'd like to Initalize a low level keyboard hook …

Member Avatar
Member Avatar
+0 forum 4

Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <f:view> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script type="text/javascript" src="../../resource/js/jquery.min.js"/> <script type="text/javascript"> function typedName() { //Get The value using styleClass id var userName = jQuery.trim($('.textBox').val()); alert("Name is : " …

Member Avatar
Member Avatar
+0 forum 1

Hello everyone! I want to create a programme with some number of functions inside it. The programme would run quietly in the background and wait. Each function in the porgramme would have it's own pre-defined HotKey, after pressing one of those on the keyboard the corresponding function would run. All the functions would send text (each function different text ), to the active window, to any active window. It would be great with some code examples because I can't get anywhere with this, nor have I found any examples of anything liek this on internet. Cheers!

Member Avatar
Member Avatar
+0 forum 1

Hi all, I have two problems, the first being the most important: 1. I have a Win32 (Non-MFC) app with a window and a win32 menu on it (HMENU), and I've been searching all day for a way to display shortcuts (like "Ctrl+C") on the menu items. I know there's the RegisterHotkey function but that doesn't make the shortcut to display on the menu item. There MUST be a way to do this without owner drawing the menu! Does anybody know how to achieve this? 2. How can I display 32-bit icons in the menu items? I know how to …

Member Avatar
Member Avatar
+0 forum 1

The End.