Automated Keystokes

gideon
Member Posts: 17
Hi,
I am looking for some sort of a list that contains all the keystrokes in NAV. By Keystrokes I mean automated e.g.
By running the following code you automatically close NAV :
CREATE(lvWinShell);
lvWinShell.SendKeys('%{F4}');
% = Crtl
I am looking for the "ALT" Keystroke particularly.
Thank you in advance.
I am looking for some sort of a list that contains all the keystrokes in NAV. By Keystrokes I mean automated e.g.
By running the following code you automatically close NAV :
CREATE(lvWinShell);
lvWinShell.SendKeys('%{F4}');
% = Crtl
I am looking for the "ALT" Keystroke particularly.
Thank you in advance.
0
Comments
-
Hi gideon,
Funny I have the same query today and found it through reading a lot of posts.
Actually % = Alt - i.e. Alt F4 for close
^ = Ctrl
Hope this helps0 -
[Topic moved from Navision DOS forum to Navision forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Shift -> +
Ctrl -> ^
ALT -> %
Backspace -> {BACKSPACE}, {BS} oder {BKSP}
Break -> {BREAK}
Caps -> {CAPSLOCK}
Del -> {DELETE} oder {DEL}
Down Arrow, Up Arrow -> {DOWN}, {UP}
Left Arrow, Right Arrow -> {LEFT}, {RIGHT}
End -> {END}
Enter -> {ENTER} or ~
ESC -> {ESC}
Help -> {HELP}
Pos1 -> {HOME}
INS -> {INSERT} or {INS}
NUMLOCK -> {NUMLOCK}
Page up / Down -> {PGUP}, {PGDN}
Scroll -> {SCROLLLOCK}
TAB -> {TAB}
F1, F2, ... F16 -> {F1}, {F2}, ... {F16}
10x h -> {h 10}
+(EC) -> Big E and Big C
+EC -> Big E small c
The Key PRINT ({PRTSC}) can not be used with SendKeys.
RegardsDo you make it right, it works too!0 -
Hi Garak,
=D> Great to get a full list - Thank you
... maybe Alain would move this to tips and tricks forum0 -
DaveT wrote:Hi Garak,
=D> Great to get a full list - Thank you
... maybe Alain would move this to tips and tricks forum
[Topic moved from Navision forum to Navision Tips & Tricks forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank you very much...
Well done on getting a whole list on the keystrokes.0 -
which dll or ocx do you install for this?0
-
To use the "Sendkey" function u must use following "Automation" variable:
Name DataType Subtype Length WSHShell Automation 'Windows Script Host Object Model'.WshShell
example:IF ISCLEAR(WSHShell) THEN CREATE(WSHShell); WSHShell.SendKeys('%xs'); WSHShell.SendKeys('{DOWN}');
RegardsDo you make it right, it works too!0 -
who da man??
WHO DA MAN!?!?!?!
=D> =D> GARAK DA MAN! =D> =D>
thanks ALOT!! very much appreciated! \:D/0 -
Good Post! =D>0
-
garak wrote:Shift -> +
Ctrl -> ^
ALT -> %
Backspace -> {BACKSPACE}, {BS} oder {BKSP}
Break -> {BREAK}
Caps -> {CAPSLOCK}
Del -> {DELETE} oder {DEL}
Down Arrow, Up Arrow -> {DOWN}, {UP}
Left Arrow, Right Arrow -> {LEFT}, {RIGHT}
End -> {END}
Enter -> {ENTER} or ~
ESC -> {ESC}
Help -> {HELP}
Pos1 -> {HOME}
INS -> {INSERT} or {INS}
NUMLOCK -> {NUMLOCK}
Page up / Down -> {PGUP}, {PGDN}
Scroll -> {SCROLLLOCK}
TAB -> {TAB}
F1, F2, ... F16 -> {F1}, {F2}, ... {F16}
10x h -> {h 10}
+(EC) -> Big E and Big C
+EC -> Big E small c
The Key PRINT ({PRTSC}) can not be used with SendKeys.
Regards0 -
Robert de Bath
TVision Technology Ltd0 -
rdebath wrote:0
-
DenSter wrote:rdebath wrote:
Yup, as if you'd hit the "I'm feeling lucky" button ( Button I )Robert de Bath
TVision Technology Ltd0 -
for example - we use it on the payment journal.
on entry of the account number we have it automatically do a Shift-F9 to open the form to apply entries.
saving a step.
works great.
plus a few other places0 -
Very nice, but how can we construct for ex. Ctrl+Shift+Q combination?-Mihail- [MCTS]0
-
See page 1 of this post..
viewtopic.php?f=5&t=25712&start=00 -
Savatage wrote:See page 1 of this post..
http://www.mibuso.com/forum/viewtopic.p ... 12&start=0
Edit: My bad, works properly, I missed the parameters in the CREATE method :oops:-Mihail- [MCTS]0 -
Hi, does anybody know which is the corresponding DotNet for Automation used to input keystrokes?
Name DataType Subtype Length WSHShell Automation 'Windows Script Host Object Model'.WshShell
I have some code to upgrade to 2013 but I'm not able to find the right subtype to use :oops:
Thanks!* Daniele Rebussi * | * Rebu NAV Diary *0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions