screen keyboard
Has anybody any idea how one would get a keydown signal to be picked up by both the foremost program (e.g. an RR screen keyboard) and another program (e.g. a word-processor)? Presumably once that is answered the screen keyboard problem ceases to be a problem. sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: screen keyboard
Richmond, I haven't had a chance to try this, but supposedly with the new support for vbscript and other languages in 2.9, I would think you could execute a vbscript to send a keypress. How to move the focus to another app like Word, etc. I do not know. The 2 line mini script below is pure VB. It will toggle the NumLock key each time it is run. Outside of Rev, just paste these 2 lines into a text file named NumLock.vbs, then double-click it. -- begin vbscript -- set WshShell = CreateObject(WScript.Shell) WshShell.SendKeys {NUMLOCK} -- end vbscript -- Has anybody any idea how one would get a keydown signal to be picked up by both the foremost program (e.g. an RR screen keyboard) and another program (e.g. a word-processor)? Presumably once that is answered the screen keyboard problem ceases to be a problem. sincerely, Richmond Mathewson. Roger Eller [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: screen keyboard
On 18/6/08 19:36, Eric Sciolli wrote: Hello I'm a teacher and I've students who needs specials keyboards to work with standard applications. Does someone has tried to create a screen keyboard in revolution to write in standard applications like Word? Perhaps using appleEvents? Hi Eric, I've done this for use with RevBrowser - we wanted a customised browser for a touchscreen, with the ability for users to complete forms. The solution - at least for Mac - was to use AppleScript, with the extremely useful application System Events (provided by Apple). Here's the function I used: on typeLetter tText, bShift put tell application quote System Events quote return \ into tAScom put key code tText after tAScom if bShift then put using shift down after tAScom put return end tell return after tAScom do tAScom as applescript end typeLetter But note that you send a key code, rather than the letter you want. I made the keyboard out of buttons, each with a custom property for the keycode they should corrrespond to; the keyboard was grouped, and the group contained a mouseUp handler on mouseUp typeLetter (the uKeyCode of the target), stShiftStatus end mouseUp I don't recall where I found the reference for keycodes, but I would expect Google will be your friend (if not let me know and I can reverse it back out of the buttons). The problem I can foresee is about how you prevent Revolution receiving the keypresses. In my project, Rev and RevBrowser are both the front-most application, but Rev isn't able to send keypresses into the browser (which is really an instance of webkit). So Rev asked the System Events application to 'type' the keys, and since the revbrowser instance had the focus, in the front-most application, this worked fine. In your case I would expect that the Rev app presenting the on-screen keyboard would be the front-most app, otherwise why did it get the mouse event - so it would probably receive the key event also. Someone else might be able to provide the piece of the puzzle that lets you make a Rev stack appear as a floating palette - receiving mouse clicks on its window without actually acquiring focus or being the front-most app. Otherwise I think you'd have to modify the 'typeLetter' handler above so that it finds out which app is next-to-front, and activates that app before sending the message to System Events. Hope this helps, - Ben ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
screen keyboard
Hello I'm a teacher and I've students who needs specials keyboards to work with standard applications. Does someone has tried to create a screen keyboard in revolution to write in standard applications like Word? Perhaps using appleEvents? Thanks Eric ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Floating Screen Keyboard
I'm trying to create a floating screen keyboard application that will allow me to use a mouse to type into other applications by clicking on the keys in the floating keyboard. I'm trying to do this on a Mac under OS X 10.4.x using Rev 2.8.1. For example, if I'm using a web browser on a projected image, I might be using a mouse only and want to be able to type into the browser URL address box. I have looked a the built-in OS X keyboard viewer and it is too small, can't be resized and you can't use it to type in capital letters! This is why I thought I'd see if I could make an app in Rev that presented a scalable floating keyboard for mouse entry of text. However, I can't see how I can send individual characters to whatever is the currently active window as if they had been typed on the real keyboard. Any suggestions please? Peter ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Floating Screen Keyboard
On Tue, 7 Aug 2007 21:50:38 +0100, Peter Reid wrote: I'm trying to create a floating screen keyboard application that will allow me to use a mouse to type into other applications by clicking on the keys in the floating keyboard. I'm trying to do this on a Mac under OS X 10.4.x using Rev 2.8.1. For example, if I'm using a web browser on a projected image, I might be using a mouse only and want to be able to type into the browser URL address box. I have looked a the built-in OS X keyboard viewer and it is too small, can't be resized and you can't use it to type in capital letters! This is why I thought I'd see if I could make an app in Rev that presented a scalable floating keyboard for mouse entry of text. However, I can't see how I can send individual characters to whatever is the currently active window as if they had been typed on the real keyboard. Any suggestions please? Well, you could look at using AppleScript to drive the System Events app to do GUI Scripting: http://www.apple.com/applescript/uiscripting/01.html Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
On-screen keyboard multiple fields (was glyn here with some questions)
Hello, Glyn! On Monday, October 20, 2003, at 08:30 AM, fred perry (but really Glyn) wrote: 1) On one of my screens i have multiple text fields. As it's touch screen i have an onscreen keyboard. I know i can give each field 'focus' by touching the relevant field. But how can i enter text into each field independant of eachother?? Consider using focusedObject() and either type or send. (If you have trouble with focus, you can create your own focus. When you touch a field, change something visibly and also put the long ID into a global. The on-screen keyboard can then send a message to the object specified by the string in the global.) Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution