A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Keyboard shortcut



 
 
Thread Tools Display Modes
  #1  
Old July 23rd 05, 09:34 AM
Spencer
external usenet poster
 
Posts: n/a
Default Keyboard shortcut

I really need help with something.
When using applications such as Microsoft Word – instead of going to INSERT
PICTURE AUTOSHAPES each time that you want to use it, you could have an

AUTOSHAPE button on the toolbar. Is there a keyboard shortcut to add this
button to the toolbar? I know how to add an item to the toolbar, but I
specifically would like to know if there is a keyboard shortcut available to
do this.

Many thanks
Ads
  #2  
Old July 23rd 05, 09:47 AM
David Candy
external usenet poster
 
Posts: n/a
Default

You could have asked Word's Help. Try typing Add Key.


Hotkeys for Word (all versions)

To add a command to a menu
Alt + Ctrl + =3D then activate the command by keyboard or toolbar. Word =
will determine which menu the command will appear on.

To remove a command from a menu
Alt + Ctrl + - then click the command to be removed.

Hotkeys for Word (Word 2 or later)

To remove a command from a toolbar
Alt + Drag to the general screen to delete button.

To move a toolbar button
Alt + Drag the button to a toolbar

To copy a toolbar button to another toolbar
Alt + Ctrl + Drag to another toolbar

To add space (separator) before a toolbar button
Alt + Drag a little to the right.

To add a command to a key
Alt + Ctrl + Grey Plus then select command by keyboard, menu or toolbar. =
A prompt will then ask what key the command is to be assigned to.

Hotkeys for Word (Word 6 or later)
Show why a command is unavailable or what a command does or what =
formatting is applied to text
Shift + F1 then click text, command, or press key


--=20
-------------------------------------------------------------------------=
-------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D
"Spencer" wrote in message =
...
I really need help with something.=20
When using applications such as Microsoft Word =E2=80=93 instead of =

going to INSERT=20
PICTURE AUTOSHAPES each time that you want to use it, you could =

have an=20
AUTOSHAPE button on the toolbar. Is there a keyboard shortcut to add =

this=20
button to the toolbar? I know how to add an item to the toolbar, but I =


specifically would like to know if there is a keyboard shortcut =

available to=20
do this.
=20
Many thanks

  #3  
Old July 23rd 05, 10:36 AM
Spencer
external usenet poster
 
Posts: n/a
Default

Thanks David. These shortcuts are used for Word. Would there be a shortcut
key that will work on any Windows application (not only word)
I know (for example) ALT - PRINT SCREEN works on any application. Is there a
keyboard combination that would drop an item onto a toolbar?




"David Candy" wrote:

You could have asked Word's Help. Try typing Add Key.


Hotkeys for Word (all versions)

To add a command to a menu
Alt + Ctrl + = then activate the command by keyboard or toolbar. Word will determine which menu the command will appear on.

To remove a command from a menu
Alt + Ctrl + - then click the command to be removed.

Hotkeys for Word (Word 2 or later)

To remove a command from a toolbar
Alt + Drag to the general screen to delete button.

To move a toolbar button
Alt + Drag the button to a toolbar

To copy a toolbar button to another toolbar
Alt + Ctrl + Drag to another toolbar

To add space (separator) before a toolbar button
Alt + Drag a little to the right.

To add a command to a key
Alt + Ctrl + Grey Plus then select command by keyboard, menu or toolbar. A prompt will then ask what key the command is to be assigned to.

Hotkeys for Word (Word 6 or later)
Show why a command is unavailable or what a command does or what formatting is applied to text
Shift + F1 then click text, command, or press key


--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=================================================
"Spencer" wrote in message ...
I really need help with something.
When using applications such as Microsoft Word – instead of going to INSERT
PICTURE AUTOSHAPES each time that you want to use it, you could have an

AUTOSHAPE button on the toolbar. Is there a keyboard shortcut to add this
button to the toolbar? I know how to add an item to the toolbar, but I
specifically would like to know if there is a keyboard shortcut available to
do this.

Many thanks


  #4  
Old July 23rd 05, 11:00 AM
David Candy
external usenet poster
 
Posts: n/a
Default

Not really. All programs do their own thing. Similarities are by convention for 99.9% of things, eh Ctrl + C is every program deciding to implement it - nothing stops a bad programmer making Alt + Z the Copy key. You can do this to make keyboard macros. Also attached a hta file. Look at Mouse keys (or in XP's help)

Create a text file and paste these lines in and name it WhateverYouWant.vbs. In this example it cuts and pastes between two windows. See below for sendkeys docs.


set WshShell = WScript.CreateObject("WScript.Â*Shell")
WshShell.SendKeys "%{TAB}^c%{TAB}^v"
[above sends Alt + Tab, Ctrl + C, Alt + Tab, then Ctrl + V]


Then set a shortcut to the scripts (right click it and choose Copy, go to the Desktop, a sub folder of the desktop, or on the Start Menu somewhere [right click Start and choose Open] and right click a blank area and choose Paste Shortcut) and set a hotkey for the shortcut (see help - but right click shortcut and choose Properties and look on the general tab - a lot of keys aren't available).


You may want to know these additional commands.


WSHShell.Run("c:\command.exe", 0, True)
==============================Â*===
With Param 1 being the command, Param 2 the window style (see below), and Param 3 a flag to indicate if to wait at this command untill the program started has exited - True it does and false it doesn't. Look in the Shortcut's Properties of the Start Menu shortcuts to see some command lines. You can also put document names in and have the Open command run on them.


Window Style
------------------
0 Hides the window and activates another window.
1 Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
2 Activates the window and displays it as a minimized window.
3 Activates the window and displays it as a maximized window.
4 Displays a window in its most recent size and position. The active window remains active.
5 Activates the window and displays it in its current size and position.
6 Minimizes the specified window and activates the next top-level window in the Z order.
7 Displays the window as a minimized window. The active window remains active.
8 Displays the window in its current state. The active window remains active.
9 Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window.
10 Sets the show-state based on the state of the program that started the application.


WSHShell.AppActivate "window title"


==============================


In determining which application to activate, the specified title is compared to the title string of each running application. If no exact match exists, any application whose title string begins with title is activated. If an application still cannot be found, any application whose title string ends with title is activated. If more than one instance of the application named by title exists, one instance is arbitrarily activated.


Use this to switch between windows and to make sure your sendkeys go to the right window.


WScript.Sleep 50
==============


Sends your program to sleep for the milliseconds specified. Sometimes you may need to do this to give the recieving program the ability to process your commands (as you are blocking it from running by sending it keystrokes) or more frequently to give a process enough time to complete.


SendKeys Syntax
==============


Sends one or more keystrokes to the active window (as if typed on the keyboard).


object.SendKeys(string)ArgumenÂ*ts
object
WshShell object.
string
String value indicating the keystroke(s) you want to send.
Remarks
Use the SendKeys method to send keystrokes to applications that have no automation interface. Most keyboard characters are represented by a single keystroke. Some keyboard characters are made up of combinations of keystrokes (CTRL+SHIFT+HOME, for example). To send a single keyboard character, send the character itself as the string argument. For example, to send the letter x, send the string argument "x".


Note To send a space, send the string " ".
You can use SendKeys to send more than one keystroke at a time. To do this, create a compound string argument that represents a sequence of keystrokes by appending each keystroke in the sequence to the one before it. For example, to send the keystrokes a, b, and c, you would send the string argument "abc". The SendKeys method uses some characters as modifiers of characters (instead of using their face-values). This set of special characters consists of parentheses, brackets, braces, and the:


a.. plus sign "+",
b.. caret "^",
c.. percent sign "%",
d.. and tilde "~"
Send these characters by enclosing them within braces "{}". For example, to send the plus sign, send the string argument "{+}". Brackets "[ ]" have no special meaning when used with SendKeys, but you must enclose them within braces to accommodate applications that do give them a special meaning (for dynamic data exchange (DDE) for example).


a.. To send bracket characters, send the string argument "{[}" for the left bracket and "{]}" for the right one.
b.. To send brace characters, send the string argument "{{}" for the left brace and "{}}" for the right one.
Some keystrokes do not generate characters (such as ENTER and TAB). Some keystrokes represent actions (such as BACKSPACE and BREAK). To send these kinds of keystrokes, send the arguments shown in the following table:


Key Argument
BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
CAPS LOCK {CAPSLOCK}
DEL or DELETE {DELETE} or {DEL}
DOWN ARROW {DOWN}
END {END}
ENTER {ENTER} or ~
ESC {ESC}
HELP {HELP}
HOME {HOME}
INS or INSERT {INSERT} or {INS}
LEFT ARROW {LEFT}
NUM LOCK {NUMLOCK}
PAGE DOWN {PGDN}
PAGE UP {PGUP}
PRINT SCREEN {PRTSC}
RIGHT ARROW {RIGHT}
SCROLL LOCK {SCROLLLOCK}
TAB {TAB}
UP ARROW {UP}
F1 {F1}
F2 {F2}
F3 {F3}
F4 {F4}
F5 {F5}
F6 {F6}
F7 {F7}
F8 {F8}
F9 {F9}
F10 {F10}
F11 {F11}
F12 {F12}
F13 {F13}
F14 {F14}
F15 {F15}
F16 {F16}


To send keyboard characters that are comprised of a regular keystroke in combination with a SHIFT, CTRL, or ALT, create a compound string argument that represents the keystroke combination. You do this by preceding the regular keystroke with one or more of the following special characters:


Key Special Character
SHIFT +
CTRL ^
ALT %


Note When used this way, these special characters are not enclosed within a set of braces.
To specify that a combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, create a compound string argument with the modified keystrokes enclosed in parentheses. For example, to send the keystroke combination that specifies that the SHIFT key is held down while:


a.. e and c are pressed, send the string argument "+(ec)".
b.. e is pressed, followed by a lone c (with no SHIFT), send the string argument "+ec".
You can use the SendKeys method to send a pattern of keystrokes that consists of a single keystroke pressed several times in a row. To do this, create a compound string argument that specifies the keystroke you want to repeat, followed by the number of times you want it repeated. You do this using a compound string argument of the form {keystroke number}. For example, to send the letter "x" ten times, you would send the string argument "{x 10}". Be sure to include a space between keystroke and number.


Note The only keystroke pattern you can send is the kind that is comprised of a single keystroke pressed several times. For example, you can send "x" ten times, but you cannot do the same for "Ctrl+x".
Note You cannot send the PRINT SCREEN key {PRTSC} to an application.






--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=================================================
"Spencer" wrote in message news
Thanks David. These shortcuts are used for Word. Would there be a shortcut
key that will work on any Windows application (not only word)
I know (for example) ALT - PRINT SCREEN works on any application. Is there a
keyboard combination that would drop an item onto a toolbar?




"David Candy" wrote:

You could have asked Word's Help. Try typing Add Key.


Hotkeys for Word (all versions)

To add a command to a menu
Alt + Ctrl + = then activate the command by keyboard or toolbar. Word will determine which menu the command will appear on.

To remove a command from a menu
Alt + Ctrl + - then click the command to be removed.

Hotkeys for Word (Word 2 or later)

To remove a command from a toolbar
Alt + Drag to the general screen to delete button.

To move a toolbar button
Alt + Drag the button to a toolbar

To copy a toolbar button to another toolbar
Alt + Ctrl + Drag to another toolbar

To add space (separator) before a toolbar button
Alt + Drag a little to the right.

To add a command to a key
Alt + Ctrl + Grey Plus then select command by keyboard, menu or toolbar. A prompt will then ask what key the command is to be assigned to.

Hotkeys for Word (Word 6 or later)
Show why a command is unavailable or what a command does or what formatting is applied to text
Shift + F1 then click text, command, or press key


--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=================================================
"Spencer" wrote in message ...
I really need help with something.
When using applications such as Microsoft Word – instead of going to INSERT
PICTURE AUTOSHAPES each time that you want to use it, you could have an
AUTOSHAPE button on the toolbar. Is there a keyboard shortcut to add this
button to the toolbar? I know how to add an item to the toolbar, but I
specifically would like to know if there is a keyboard shortcut available to
do this.

Many thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create shut down shortcut? alderessy New Users to Windows XP 3 July 17th 05 08:18 PM
Short cut for quiting comptuter Craig New Users to Windows XP 7 June 12th 05 12:07 AM
Reassigning a troublesome keyboard shortcut Nikki Windows XP Help and Support 1 April 21st 05 05:42 PM
Re-assign keyboard shortcut? Martyn B Tindall General XP issues or comments 6 April 18th 05 10:32 PM
Keyboard Shortcut Gurus Bruce Hendry General XP issues or comments 13 January 26th 05 05:01 PM






All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.