mibuso.com

Microsoft Business Solutions online community
It is currently Fri May 24, 2013 4:47 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Automated Keystokes
PostPosted: Fri May 09, 2008 9:22 pm 
Offline

Joined: Wed Oct 17, 2007 4:08 pm
Posts: 4
Location: South Africa
Country: South Africa (za)
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 10, 2008 12:06 am 
Offline

Joined: Wed Mar 19, 2008 2:29 pm
Posts: 1033
Location: Dublin
Country: Ireland (ie)
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 helps


Top
 Profile E-mail WWW  
 
 Post subject:
PostPosted: Tue May 13, 2008 1:57 pm 
Offline
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7501
Location: Milan
Country: Italy (it)
[Topic moved from Navision DOS forum to Navision forum]

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 2:48 pm 
Offline

Joined: Mon Mar 08, 2004 2:42 pm
Posts: 3255
Location: Hannover
Country: Germany (de)
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.

Regards

_________________
Do you make it right, it works too!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 3:29 pm 
Offline

Joined: Wed Mar 19, 2008 2:29 pm
Posts: 1033
Location: Dublin
Country: Ireland (ie)
Hi Garak,


=D> Great to get a full list - Thank you

... maybe Alain would move this to tips and tricks forum :wink:


Top
 Profile E-mail WWW  
 
 Post subject:
PostPosted: Tue May 13, 2008 3:56 pm 
Offline
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7501
Location: Milan
Country: Italy (it)
DaveT wrote:
Hi Garak,


=D> Great to get a full list - Thank you

... maybe Alain would move this to tips and tricks forum :wink:

DEFINITELY!!!!!!
[Topic moved from Navision forum to Navision Tips & Tricks forum]

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 22, 2008 3:21 pm 
Offline

Joined: Wed Oct 17, 2007 4:08 pm
Posts: 4
Location: South Africa
Country: South Africa (za)
Thank you very much...

Well done on getting a whole list on the keystrokes.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 2:12 pm 
Offline

Joined: Wed Aug 06, 2008 12:26 pm
Posts: 46
Location: London
Country: United Kingdom (uk)
which dll or ocx do you install for this?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 2:32 pm 
Offline

Joined: Mon Mar 08, 2004 2:42 pm
Posts: 3255
Location: Hannover
Country: Germany (de)
To use the "Sendkey" function u must use following "Automation" variable:

Code: Select all
Name   DataType   Subtype   Length
WSHShell   Automation   'Windows Script Host Object Model'.WshShell   


example:

Code: Select all
IF ISCLEAR(WSHShell) THEN
  CREATE(WSHShell);

WSHShell.SendKeys('%xs');
WSHShell.SendKeys('{DOWN}');


Regards

_________________
Do you make it right, it works too!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 2:45 pm 
Offline

Joined: Wed Aug 06, 2008 12:26 pm
Posts: 46
Location: London
Country: United Kingdom (uk)
who da man??

WHO DA MAN!?!?!?!

=D> =D> GARAK DA MAN! =D> =D>

thanks ALOT!! very much appreciated! \:D/


Top
 Profile  
 
 Post subject: Re: Automated Keystokes
PostPosted: Mon Dec 07, 2009 6:42 am 
Offline

Joined: Tue Nov 17, 2009 9:26 am
Posts: 26
Location: Subang Jaya
Country: Malaysia (my)
Good Post! =D>


Top
 Profile E-mail WWW  
 
 Post subject: Re:
PostPosted: Sat Mar 20, 2010 5:50 am 
Offline

Joined: Thu May 01, 2008 1:57 pm
Posts: 368
Location: Ahmedabad, India
Country: India (in)
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.

Regards

Really a nice post. =D>

_________________
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com


Top
 Profile E-mail  
 
 Post subject: Re: Automated Keystokes
PostPosted: Sat Mar 20, 2010 8:39 am 
Offline

Joined: Tue May 06, 2008 2:56 pm
Posts: 350
Location: Walton-On-Thames
Country: United Kingdom (uk)
Ermm you guys...

http://www.google.com/search?q=sendkeys&btnI=1

_________________
Robert de Bath
TVision Technology Ltd


Top
 Profile  
 
 Post subject: Re: Automated Keystokes
PostPosted: Sat Mar 20, 2010 3:38 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Thu Jan 02, 2003 6:37 pm
Posts: 7931
Location: Howell, MI
Country: United States (us)
rdebath wrote:

Off topic, but does that 'btnl=1' make it open the first search result?

_________________
Daniel Rimmelzwaan
MVP - Dynamics NAV


Top
 Profile  
 
 Post subject: Re: Automated Keystokes
PostPosted: Sat Mar 20, 2010 3:58 pm 
Offline

Joined: Tue May 06, 2008 2:56 pm
Posts: 350
Location: Walton-On-Thames
Country: United Kingdom (uk)
DenSter wrote:
rdebath wrote:

Off topic, but does that 'btnl=1' make it open the first search result?


Yup, as if you'd hit the "I'm feeling lucky" button ( Button I )

_________________
Robert de Bath
TVision Technology Ltd


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: