Source language: Translate to:

NeoKeyStroke Plugin

Questions about NeoBook PlugIns

Moderator: Neosoft Support

NeoKeyStroke Plugin

Postby pfisterhamj » Mon Jul 09, 2012 2:07 pm

Hello all,

I've realized a new plugin. This plugin simply given you the ascii code when a key is pressed. Example publication is included.

This plugin is very simple, but I think it can be very useful.

Example usage: You can detect the press of the return key within a single line text field. The variable of the last keycode has then the value 13.

Special thanks to alex.


Maybe I add some features to the plugin in future (some ideas on my list), but I'm bound to other projects at the moment.



Disclaimer
Copyright (c) 2012 Pfisterhammer Jürgen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download:
http://www.alldaysoftware.com/download/NeoKeyStroke.zip
pfisterhamj
 
Posts: 39
Joined: Sun Sep 06, 2009 2:56 am

Postby pfisterhamj » Tue Jul 10, 2012 2:28 pm

Version 1.1 released:


New command NKS_CreateEx introduced. This allows you to specify a Subroutine (must exist) within your pub that would be called if a keystroke is fired.

Example:
NKS_CreateEx "[LastKeyCode]" "OnKeyStroke1"
pfisterhamj
 
Posts: 39
Joined: Sun Sep 06, 2009 2:56 am

Postby pfisterhamj » Sat Jul 14, 2012 1:59 am

pfisterhamj
 
Posts: 39
Joined: Sun Sep 06, 2009 2:56 am


Return to PlugIn Discussions

Who is online

Users browsing this forum: mishem and 2 guests