Thursday, September 7, 2017
Tip of the Day: New SendKeys Plugin to Send Keystrokes
Product.......: R:BASE X and R:BASE X Enterprise (Version 10)
Build.........: 10.0.3.10907 or higher
Section.......: Commands
Keywords......: PLUGIN, SendKeys, keystrokes, keys
Did you know that R:BASE includes a new "SendKeys" Plugin to send one
or more keystrokes
to the active control?
The SendKeys Plugin acts as a simulation, as if the keys are typed at
the keyboard.
SendKeys Plugin is among the built-in tools within R:BASE X and
R:BASE X Enterprise.
Syntax:
PLUGIN SendKeys vResult|<options>
Options:
KEYS - the keys to be simulated, or code for special keys
WINDOW_NAME - the text that appears in the target window's title bar
WAIT - the wait for the keys to be processed by the recipient
Where:
vResult is the variable name to return "OK" or an error message
-- Example 01
SET VAR vResult TEXT = NULL
-- Set focus to an R:BASE Variable Memo control, then wait for 1
second before sending
-- keys. Note the Variable Memo is set in the properties to
accept the [Enter] key.
PROPERTY VariableMemo1 SET_FOCUS ' '
PAUSE FOR 1
PLUGIN SENDKEYS vResult|KEYS This text is displayed using the
SendKeys Plugin.~~
PLUGIN SENDKEYS vResult|KEYS 'This is one of the many features in
R:BASE X!'~
-- The Ctrl+Home moves to the beginning of the content.
PLUGIN SENDKEYS vResult|KEYS '^{HOME}'
-- Adds text and then Enter
PLUGIN SENDKEYS vResult|KEYS Greetings from R:BASE!~~
-- Ctrl+End moves to the end of the content then presses Enter
PLUGIN SENDKEYS vResult|KEYS '^{END}~~'
PLUGIN SENDKEYS vResult|KEYS Thank you for choosing R:BASE!
-- Highlights the last line. this is Home, Shift+End
PLUGIN SENDKEYS vResult|KEYS '{HOME}+{END}'
-- Example 02
SET VAR vResult TEXT = NULL
-- Launch notepad and wait for 1 second to make sure notepad is loaded
LAUNCH NOTEPAD.EXE
PAUSE FOR 1
PLUGIN SENDKEYS vResult|KEYS This text is displayed using the
SendKeys Plugin.~~
PLUGIN SENDKEYS vResult|KEYS 'This is one of the many features in
R:BASE X!'~
Notes:
01. Use the latest R:BASE X and R:BASE X/XE, Update 3, Build:
10.0.3.10907 or higher
02. Simply copy and paste examples in RBEdit, one at a time, and RUN the file
03. Buckle your seat belts, and enjoy the presentation!
04. For complete details: HELP PLUGIN > Command Line Specific > SendKeys
05. SendKeys Plugin is among the built-in tools within R:BASE
X/R:BASE X Enterprise
06. Stay tuned for a sample application to illustrate the integration
of Sendkeys
Plugin functionality into your R:BASE X/XE applications
One of the most important aspects in business growth is your
company's data, and no
one else has more invested in your success than R:BASE Technologies.
Invest forward
with R:BASE!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
34 years of continuous innovation!
19 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.